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.837/1.837, allocations: 288.4 MB / 303.4 MB, free: 8.109 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.001546/0.001546, allocations: 185.5 kB / 372 MB, free: 10.25 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.924/1.924, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0008274/0.0008275, allocations: 86.44 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005556/0.0005557, allocations: 12.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2689, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0009611/0.27, allocations: 0.525 MB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.2701, allocations: 51.7 kB / 0.9801 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.2701, allocations: 4 kB / 0.9802 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.2702, allocations: 7.938 kB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.2702, allocations: 3.938 kB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.708e-05/0.2703, allocations: 15.98 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.2704, allocations: 59.84 kB / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2705, allocations: 37.55 kB / 0.9803 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.2706, allocations: 19.81 kB / 0.9803 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.2706, allocations: 23.8 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2707, allocations: 4 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.2707, allocations: 0 / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2707, allocations: 15.92 kB / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.2707, allocations: 41.58 kB / 0.9804 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.508e-05/0.2708, allocations: 56.09 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2708, allocations: 3.984 kB / 0.9804 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2708, allocations: 0 / 0.9804 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2708, allocations: 0 / 0.9804 GB, free: 26.78 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.0003842/0.2712, allocations: 379 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2713, allocations: 8.031 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.2713, allocations: 7.906 kB / 0.9808 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2715, allocations: 194.8 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2715, allocations: 8 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2715, allocations: 4 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.2717, allocations: 96.58 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2717, allocations: 4 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2717, allocations: 4 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2717, allocations: 0 / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.2718, allocations: 39.92 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.2723, allocations: 448.6 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.2723, allocations: 49.2 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.2723, allocations: 13.72 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-06/0.2724, allocations: 8.047 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.2724, allocations: 34.56 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2724, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.2726, allocations: 57.55 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2726, allocations: 77.11 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2727, allocations: 173.2 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.2727, allocations: 25.7 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.2728, allocations: 111.9 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.2728, allocations: 4 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.2728, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.2729, allocations: 315.1 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.2729, allocations: 19.92 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.2729, allocations: 21.72 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.2729, allocations: 7.938 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2729, allocations: 0 / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.086e-05/0.273, allocations: 69.45 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.273, allocations: 4 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.273, allocations: 64 / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2731, allocations: 4 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.2731, allocations: 11.94 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2731, allocations: 0 / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.2732, allocations: 3.938 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2732, allocations: 4 kB / 0.9825 GB, free: 24.37 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 5.418e-05/0.2732, allocations: 115.4 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.2733, allocations: 15.84 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.2733, allocations: 12.66 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2733, allocations: 7.984 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2733, allocations: 0 / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2733, allocations: 0 / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.2736, allocations: 486.7 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2736, allocations: 0 / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.2737, allocations: 4 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2737, allocations: 0 / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2737, allocations: 0 / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2737, allocations: 8.062 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2737, allocations: 0 / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.438e-05/0.2738, allocations: 85.78 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2738, allocations: 88.95 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.2738, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.2738, allocations: 7.984 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.2739, allocations: 4.031 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.2739, allocations: 0 / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.777e-05/0.2739, allocations: 133.6 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2739, allocations: 0 / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001684/0.2741, allocations: 8 kB / 0.9835 GB, free: 23.3 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 9.305e-05/0.2742, allocations: 95.25 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.917e-05/0.2743, allocations: 19.94 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2743, allocations: 8.062 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.2743, allocations: 11.98 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2745, allocations: 11.95 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.2748, allocations: 186 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.275, allocations: 0.6965 MB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.275, allocations: 12.42 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.275, allocations: 7.438 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/0.275, allocations: 4 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.002355/0.2774, allocations: 456.6 kB / 0.9849 GB, free: 21.75 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)