Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.849/1.849, allocations: 288.4 MB / 303.7 MB, free: 8.164 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.00109/0.00109, allocations: 176.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.631 GB, free: 9.848 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.0009784/0.0009787, allocations: 106.8 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.000446, allocations: 12.38 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2717, allocations: 115.3 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001061/0.2728, allocations: 0.5289 MB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.2729, allocations: 39.78 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.273, allocations: 4 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.273, allocations: 7.922 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.2731, allocations: 3.938 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.432e-05/0.2731, allocations: 19.98 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.2733, allocations: 63.78 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2734, allocations: 37.38 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.2735, allocations: 19.81 kB / 0.9808 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.2736, allocations: 23.86 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2736, allocations: 4 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.2736, allocations: 3.938 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.2736, allocations: 11.92 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.2737, allocations: 53.45 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.838e-05/0.2738, allocations: 60.08 kB / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2738, allocations: 0 / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2738, allocations: 0 / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2738, allocations: 0 / 0.981 GB, free: 26.42 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.0003477/0.2741, allocations: 383.2 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2742, allocations: 8.031 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.2742, allocations: 8.844 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.2744, allocations: 191.3 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2744, allocations: 12.31 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2745, allocations: 8.359 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2746, allocations: 101.2 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2746, allocations: 192 / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2746, allocations: 11.94 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2747, allocations: 0 / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/0.2747, allocations: 39.92 kB / 0.9817 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.2752, allocations: 452.6 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.684e-05/0.2753, allocations: 41.25 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.2753, allocations: 17.78 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.944e-06/0.2753, allocations: 0 / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2753, allocations: 30.56 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2754, allocations: 0 / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001728/0.2755, allocations: 69.66 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2756, allocations: 77.11 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2757, allocations: 165.2 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.2757, allocations: 25.7 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.2758, allocations: 112 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.2758, allocations: 3.906 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.2758, allocations: 0 / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.2759, allocations: 322.8 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.2759, allocations: 8.062 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.2759, allocations: 29.64 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.2759, allocations: 21.72 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.276, allocations: 3.938 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.012e-05/0.276, allocations: 61.55 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2761, allocations: 7.938 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2761, allocations: 11.98 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2761, allocations: 4 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.2762, allocations: 4 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2762, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.2762, allocations: 7.906 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2762, allocations: 4 kB / 0.9831 GB, free: 23.96 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.311e-05/0.2763, allocations: 111.4 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.2763, allocations: 11.91 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.2764, allocations: 16.48 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2764, allocations: 4 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2764, allocations: 0 / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2764, allocations: 4 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.2767, allocations: 478.7 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2767, allocations: 0 / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.2767, allocations: 7.984 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2767, allocations: 0 / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2767, allocations: 12 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2767, allocations: 0 / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2767, allocations: 4 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.2768, allocations: 85.75 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.2769, allocations: 85 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2769, allocations: 4 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.2769, allocations: 0 / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.2769, allocations: 4.031 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.2769, allocations: 0 / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.096e-05/0.277, allocations: 137.6 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.277, allocations: 0 / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001892/0.2772, allocations: 8 kB / 0.9841 GB, free: 22.9 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001092/0.2773, allocations: 99.19 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.714e-05/0.2774, allocations: 16 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2774, allocations: 4.125 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.2775, allocations: 11.94 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2776, allocations: 14.17 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.2779, allocations: 198.9 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.2781, allocations: 0.6965 MB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.2781, allocations: 4.438 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.2782, allocations: 11.44 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2782, allocations: 4 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.002159/0.2803, allocations: 443.9 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)