Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001555, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 193.3 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.866/1.866, allocations: 251.7 MB / 0.5092 GB, free: 3.148 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 67.91 kB / 0.6223 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7028, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002428/0.7053, allocations: 0.8744 MB / 0.7254 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.7054, allocations: 43.78 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.7055, allocations: 4 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.7056, allocations: 11.86 kB / 0.7254 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.7058, allocations: 7.875 kB / 0.7254 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.818e-05/0.7058, allocations: 19.98 kB / 0.7255 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.706, allocations: 71.78 kB / 0.7255 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.7063, allocations: 37.39 kB / 0.7256 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.7064, allocations: 27.86 kB / 0.7256 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.7065, allocations: 35.78 kB / 0.7256 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.7065, allocations: 8 kB / 0.7256 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.7065, allocations: 4 kB / 0.7256 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.7065, allocations: 23.86 kB / 0.7257 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.7066, allocations: 43.73 kB / 0.7257 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.7068, allocations: 73.67 kB / 0.7258 GB, free: 11.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.7068, allocations: 0 / 0.7258 GB, free: 11.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.857e-06/0.7068, allocations: 4 kB / 0.7258 GB, free: 11.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.7069, allocations: 0 / 0.7258 GB, free: 11.65 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008154/0.7077, allocations: 391 kB / 0.7261 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.7078, allocations: 12.03 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.7078, allocations: 8.844 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.7082, allocations: 204.1 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.7082, allocations: 8.281 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.7083, allocations: 8.375 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.7085, allocations: 91.89 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.7085, allocations: 4.188 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.7086, allocations: 7.938 kB / 0.7265 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.7086, allocations: 0 / 0.7265 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.7087, allocations: 39.92 kB / 0.7265 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.7095, allocations: 444.6 kB / 0.7269 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.7096, allocations: 53.19 kB / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.7096, allocations: 13.78 kB / 0.727 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.7097, allocations: 0 / 0.727 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.7097, allocations: 38.55 kB / 0.727 GB, free: 10.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7097, allocations: 0 / 0.727 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002557/0.71, allocations: 61.48 kB / 0.7271 GB, free: 10.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/0.7101, allocations: 77.11 kB / 0.7272 GB, free: 10.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.7103, allocations: 165.5 kB / 0.7273 GB, free: 9.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.7103, allocations: 33.69 kB / 0.7274 GB, free: 9.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.7104, allocations: 100 kB / 0.7275 GB, free: 9.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.7105, allocations: 11.89 kB / 0.7275 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.7105, allocations: 13.72 kB / 0.7275 GB, free: 9.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.7107, allocations: 327.1 kB / 0.7278 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.7108, allocations: 8 kB / 0.7278 GB, free: 9.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.7108, allocations: 21.66 kB / 0.7278 GB, free: 9.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.7109, allocations: 25.66 kB / 0.7278 GB, free: 9.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7109, allocations: 0 / 0.7278 GB, free: 9.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.769e-05/0.711, allocations: 65.53 kB / 0.7279 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.711, allocations: 8.062 kB / 0.7279 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.711, allocations: 7.938 kB / 0.7279 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.711, allocations: 0 / 0.7279 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.7111, allocations: 4 kB / 0.7279 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7111, allocations: 0 / 0.7279 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.7112, allocations: 11.84 kB / 0.7279 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.7112, allocations: 0 / 0.7279 GB, free: 9.168 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.7113, allocations: 117.8 kB / 0.728 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.7114, allocations: 7.906 kB / 0.7281 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.7114, allocations: 20.5 kB / 0.7281 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7115, allocations: 0 / 0.7281 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7115, allocations: 4 kB / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7115, allocations: 0 / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.712, allocations: 490.6 kB / 0.7285 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7121, allocations: 0 / 0.7285 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.7121, allocations: 8 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7121, allocations: 64 / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.7121, allocations: 4 kB / 0.7286 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7121, allocations: 0 / 0.7286 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.7121, allocations: 3.938 kB / 0.7286 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.7122, allocations: 81.83 kB / 0.7286 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.7123, allocations: 93 kB / 0.7287 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.7123, allocations: 0 / 0.7287 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.479e-05/0.7124, allocations: 4.125 kB / 0.7287 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.7124, allocations: 7.922 kB / 0.7287 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.7124, allocations: 4 kB / 0.7287 GB, free: 8.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001209/0.7125, allocations: 128.9 kB / 0.7289 GB, free: 8.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7125, allocations: 0 / 0.7289 GB, free: 8.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001901/0.7127, allocations: 8 kB / 0.7289 GB, free: 8.098 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.7129, allocations: 99.25 kB / 0.729 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.791e-05/0.713, allocations: 27.92 kB / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.713, allocations: 0 / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.713, allocations: 11.94 kB / 0.729 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.7132, allocations: 13.81 kB / 0.729 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.7136, allocations: 182.2 kB / 0.7292 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.7139, allocations: 0.6924 MB / 0.7299 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.714, allocations: 12.42 kB / 0.7299 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.714, allocations: 7.438 kB / 0.7299 GB, free: 6.992 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.714, allocations: 4 kB / 0.7299 GB, free: 6.988 MB / 0.545 GB Notification: Performance of Templates: time 0.003189/0.7172, allocations: 476.4 kB / 0.7303 GB, free: 6.523 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)