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.01103/0.01103, allocations: 102.2 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 192.7 kB / 16.68 MB, free: 5.973 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.904/1.904, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.763/1.763, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.001422/0.001422, allocations: 68.47 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2677, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002291/0.2701, allocations: 0.8596 MB / 0.8289 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.2703, allocations: 43.78 kB / 0.8289 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.2703, allocations: 0 / 0.8289 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.167e-05/0.2704, allocations: 11.86 kB / 0.829 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2706, allocations: 11.88 kB / 0.829 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.571e-05/0.2706, allocations: 23.98 kB / 0.829 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.2708, allocations: 67.77 kB / 0.8291 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.271, allocations: 37.39 kB / 0.8291 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.2711, allocations: 35.84 kB / 0.8291 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.2712, allocations: 35.78 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.2712, allocations: 4 kB / 0.8292 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.2712, allocations: 8 kB / 0.8292 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.2712, allocations: 15.94 kB / 0.8292 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.2713, allocations: 39.67 kB / 0.8292 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2715, allocations: 83.56 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2715, allocations: 0 / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2715, allocations: 3.938 kB / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2715, allocations: 0 / 0.8293 GB, free: 14.88 MB / 0.6544 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.0004976/0.272, allocations: 399 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.272, allocations: 12.03 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.2721, allocations: 8.891 kB / 0.8297 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2723, allocations: 200.1 kB / 0.8299 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.2723, allocations: 8.375 kB / 0.8299 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.2723, allocations: 4.375 kB / 0.8299 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2725, allocations: 98.53 kB / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2725, allocations: 4.188 kB / 0.83 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.2726, allocations: 11.94 kB / 0.83 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2726, allocations: 4 kB / 0.83 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.2727, allocations: 39.92 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.2732, allocations: 444.6 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.2733, allocations: 45.41 kB / 0.8305 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.2733, allocations: 13.72 kB / 0.8305 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.2734, allocations: 4 kB / 0.8305 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2734, allocations: 30.56 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.2734, allocations: 0 / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001842/0.2736, allocations: 69.73 kB / 0.8306 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.2736, allocations: 77.11 kB / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2738, allocations: 171.3 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2738, allocations: 25.7 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.2739, allocations: 112 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.2739, allocations: 7.953 kB / 0.831 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.274, allocations: 21.7 kB / 0.831 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2741, allocations: 314.8 kB / 0.8313 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.2741, allocations: 12.02 kB / 0.8313 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.2742, allocations: 25.7 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.2742, allocations: 25.72 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2742, allocations: 0 / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.834e-05/0.2743, allocations: 65.58 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2743, allocations: 4 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2744, allocations: 8 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2744, allocations: 4 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.2745, allocations: 4 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2745, allocations: 0 / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.2745, allocations: 7.953 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2745, allocations: 0 / 0.8315 GB, free: 12.38 MB / 0.6544 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 8.414e-05/0.2746, allocations: 121.7 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.2747, allocations: 15.88 kB / 0.8316 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.2747, allocations: 16.5 kB / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2747, allocations: 4 kB / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2747, allocations: 3.938 kB / 0.8316 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2747, allocations: 4 kB / 0.8316 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.2751, allocations: 474.8 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2751, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.2752, allocations: 4 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2752, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2752, allocations: 8.062 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2752, allocations: 0 / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2752, allocations: 0 / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.2753, allocations: 89.83 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.2754, allocations: 81.06 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2754, allocations: 11.98 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.2754, allocations: 4.031 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.2754, allocations: 7.938 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.2755, allocations: 0 / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.735e-05/0.2756, allocations: 124 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2756, allocations: 0 / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001859/0.2758, allocations: 12 kB / 0.8324 GB, free: 11.31 MB / 0.6544 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.0001344/0.2759, allocations: 95.25 kB / 0.8325 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.276, allocations: 23.98 kB / 0.8325 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.276, allocations: 0 / 0.8325 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.276, allocations: 11.94 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.2762, allocations: 7.938 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.2765, allocations: 166.2 kB / 0.8327 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2768, allocations: 0.7042 MB / 0.8334 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.2769, allocations: 8.422 kB / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.2769, allocations: 11.44 kB / 0.8334 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.2769, allocations: 0 / 0.8334 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.002715/0.2796, allocations: 492.5 kB / 0.8339 GB, free: 9.738 MB / 0.6544 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)