Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.8/1.8, allocations: 287.4 MB / 303.2 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 176.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 0.6304 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009558/0.0009559, allocations: 95.09 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 15.03 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2674, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00113/0.2686, allocations: 0.5365 MB / 0.9798 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.2687, allocations: 43.78 kB / 0.9798 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.2688, allocations: 0 / 0.9798 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.2689, allocations: 7.922 kB / 0.9799 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.269, allocations: 3.938 kB / 0.9799 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.685e-05/0.2691, allocations: 15.98 kB / 0.9799 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.2692, allocations: 63.78 kB / 0.9799 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2693, allocations: 41.39 kB / 0.98 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.2694, allocations: 19.86 kB / 0.98 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.2694, allocations: 23.84 kB / 0.98 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2695, allocations: 0 / 0.98 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2695, allocations: 4 kB / 0.98 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.2695, allocations: 11.94 kB / 0.98 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2695, allocations: 41.58 kB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.198e-05/0.2696, allocations: 56.09 kB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2696, allocations: 0 / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2696, allocations: 0 / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2697, allocations: 0 / 0.9801 GB, free: 27.32 MB / 0.6198 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.0003998/0.2701, allocations: 379.1 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.2701, allocations: 8.031 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.2702, allocations: 8.844 kB / 0.9805 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2703, allocations: 202.4 kB / 0.9807 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2704, allocations: 8.375 kB / 0.9807 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2704, allocations: 4.375 kB / 0.9807 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2705, allocations: 98.19 kB / 0.9808 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2706, allocations: 8.125 kB / 0.9808 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2706, allocations: 3.938 kB / 0.9808 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2706, allocations: 0 / 0.9808 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.2707, allocations: 39.92 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.2712, allocations: 452.6 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.2712, allocations: 37.22 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.2713, allocations: 21.78 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.2713, allocations: 0 / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2713, allocations: 34.5 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2713, allocations: 0 / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.2715, allocations: 57.53 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2715, allocations: 81.05 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2716, allocations: 172.5 kB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.2717, allocations: 25.7 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.2717, allocations: 108 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.2718, allocations: 7.906 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-06/0.2718, allocations: 0 / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.2718, allocations: 318.8 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.2719, allocations: 8 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.2719, allocations: 21.7 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.2719, allocations: 29.72 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.272, allocations: 0 / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.717e-05/0.272, allocations: 61.55 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2721, allocations: 7.938 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2721, allocations: 0 / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2721, allocations: 7.922 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.2722, allocations: 8 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2722, allocations: 8.047 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.2722, allocations: 8 kB / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.2722, allocations: 3.938 kB / 0.9823 GB, free: 24.87 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.2723, allocations: 113.8 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.2724, allocations: 11.89 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.2724, allocations: 20.48 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2724, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2724, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.2725, allocations: 88.95 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2725, allocations: 7.984 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.2726, allocations: 4 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.2726, allocations: 4 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.697e-05/0.2727, allocations: 196.2 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000107/0.2728, allocations: 306 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.258e-05/0.2728, allocations: 0 / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.2729, allocations: 132.9 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of Backend: time 2.71e-07/0.2729, allocations: 7.875 kB / 0.9831 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.2734, allocations: 90.39 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005161/0.2739, allocations: 0.6352 MB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.002759/0.2767, allocations: 0.5222 MB / 0.9843 GB, free: 22.65 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)