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.661/1.661, allocations: 288.4 MB / 304.3 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.001038/0.001038, allocations: 188.5 kB / 373 MB, free: 10.16 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.427/1.427, allocations: 205.4 MB / 0.6317 GB, free: 9.902 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.0007705/0.0007705, allocations: 82.33 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 12.34 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6322/0.8243, allocations: 137.6 MB / 1.115 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.8246, allocations: 60.84 kB / 1.115 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002871/0.8275, allocations: 1.16 MB / 1.116 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8275, allocations: 0 / 1.116 GB, free: 31.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8275, allocations: 4 kB / 1.116 GB, free: 31.95 MB / 0.698 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.0003007/0.8278, allocations: 372.7 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.8279, allocations: 11.03 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.8279, allocations: 23.77 kB / 1.117 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.828, allocations: 186.7 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.828, allocations: 4.094 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.8281, allocations: 8 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.8282, allocations: 100.8 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8282, allocations: 192 / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.8283, allocations: 6.984 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.8283, allocations: 3.844 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.8283, allocations: 38.3 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.8288, allocations: 460.1 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/0.8289, allocations: 36.97 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.8289, allocations: 19.02 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.8289, allocations: 4 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.829, allocations: 33.75 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.829, allocations: 0 / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.8291, allocations: 58.34 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.8292, allocations: 80.42 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.8293, allocations: 172.6 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.8294, allocations: 28.8 kB / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.8294, allocations: 107 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.8294, allocations: 14.66 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.8294, allocations: 0 / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.8295, allocations: 318.7 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.8296, allocations: 6.938 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.8296, allocations: 26.86 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.8296, allocations: 28.09 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8296, allocations: 3.656 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.636e-05/0.8297, allocations: 64.12 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.8297, allocations: 5.75 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8297, allocations: 3.938 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.8298, allocations: 0 / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.8298, allocations: 7.719 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8298, allocations: 2.25 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.8299, allocations: 7.812 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.8299, allocations: 4.062 kB / 1.118 GB, free: 30.02 MB / 0.698 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.981e-05/0.83, allocations: 113.6 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.83, allocations: 11.31 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.83, allocations: 18.25 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.83, allocations: 0 / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.83, allocations: 0 / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8301, allocations: 7.781 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.8304, allocations: 488.5 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.8304, allocations: 0 / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.8304, allocations: 5.375 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8304, allocations: 0 / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.8305, allocations: 3.938 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8305, allocations: 3.938 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8305, allocations: 0 / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.493e-05/0.8305, allocations: 87.62 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.8306, allocations: 88.02 kB / 1.119 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.8306, allocations: 0 / 1.119 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.8306, allocations: 3.688 kB / 1.119 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.8307, allocations: 3.969 kB / 1.119 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.8307, allocations: 0 / 1.119 GB, free: 29.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.685e-05/0.8308, allocations: 131 kB / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8308, allocations: 0 / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001833/0.831, allocations: 19.53 kB / 1.119 GB, free: 29.15 MB / 0.698 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.000103/0.8311, allocations: 106.4 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.875e-05/0.8311, allocations: 17.62 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8312, allocations: 3.875 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.8312, allocations: 6.781 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.8313, allocations: 16.02 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.8317, allocations: 196.6 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.8319, allocations: 0.6996 MB / 1.12 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.8319, allocations: 6.984 kB / 1.12 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.8319, allocations: 11.25 kB / 1.12 GB, free: 28.18 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.832, allocations: 0 / 1.12 GB, free: 28.18 MB / 0.698 GB Notification: Performance of Templates: time 0.002177/0.8341, allocations: 445.5 kB / 1.121 GB, free: 28.13 MB / 0.698 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)