Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.305/2.305, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 169.7 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.344/2.344, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 97.47 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006701/0.0006703, allocations: 20.59 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2319, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.4589, allocations: 131.2 MB / 1.028 GB, free: 14.1 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.4593, allocations: 67.97 kB / 1.028 GB, free: 14.04 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.004029/0.4633, allocations: 1.159 MB / 1.029 GB, free: 12.88 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4634, allocations: 0 / 1.029 GB, free: 12.88 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 8.567e-06/0.4634, allocations: 0 / 1.029 GB, free: 12.88 MB / 0.6824 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.0004467/0.4638, allocations: 379.1 kB / 1.029 GB, free: 12.45 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4639, allocations: 8.031 kB / 1.029 GB, free: 12.45 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.464, allocations: 12.84 kB / 1.029 GB, free: 12.43 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4641, allocations: 188.3 kB / 1.029 GB, free: 12.21 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4642, allocations: 4.375 kB / 1.029 GB, free: 12.21 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.4642, allocations: 12.31 kB / 1.029 GB, free: 12.2 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4644, allocations: 93.52 kB / 1.03 GB, free: 12.09 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4645, allocations: 4.188 kB / 1.03 GB, free: 12.09 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4645, allocations: 3.938 kB / 1.03 GB, free: 12.09 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4645, allocations: 4 kB / 1.03 GB, free: 12.08 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.4646, allocations: 43.91 kB / 1.03 GB, free: 12.04 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.4654, allocations: 460.5 kB / 1.03 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/0.4655, allocations: 37.16 kB / 1.03 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.4656, allocations: 17.83 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 9.068e-06/0.4656, allocations: 0 / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4656, allocations: 38.59 kB / 1.03 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.4656, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.4659, allocations: 61.47 kB / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.4659, allocations: 81.11 kB / 1.03 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.4662, allocations: 168.3 kB / 1.03 GB, free: 11.06 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4662, allocations: 25.7 kB / 1.03 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.4663, allocations: 112.2 kB / 1.031 GB, free: 10.91 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.4663, allocations: 7.844 kB / 1.031 GB, free: 10.91 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4663, allocations: 0 / 1.031 GB, free: 10.91 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4665, allocations: 322.8 kB / 1.031 GB, free: 10.58 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.4665, allocations: 8 kB / 1.031 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.4666, allocations: 29.64 kB / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.4666, allocations: 8 kB / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4667, allocations: 4 kB / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001408/0.4668, allocations: 61.55 kB / 1.031 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4668, allocations: 4 kB / 1.031 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4669, allocations: 7.938 kB / 1.031 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4669, allocations: 4 kB / 1.031 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.467, allocations: 7.984 kB / 1.031 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.467, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.4671, allocations: 4 kB / 1.031 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4671, allocations: 0 / 1.031 GB, free: 10.43 MB / 0.6824 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 0.0001013/0.4672, allocations: 117.9 kB / 1.031 GB, free: 10.31 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.4673, allocations: 11.81 kB / 1.031 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.4673, allocations: 20.48 kB / 1.031 GB, free: 10.28 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4673, allocations: 3.938 kB / 1.031 GB, free: 10.28 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4674, allocations: 3.938 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4674, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.4679, allocations: 472.3 kB / 1.032 GB, free: 9.746 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4679, allocations: 4.031 kB / 1.032 GB, free: 9.742 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.468, allocations: 7.938 kB / 1.032 GB, free: 9.734 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.468, allocations: 0 / 1.032 GB, free: 9.734 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.468, allocations: 8 kB / 1.032 GB, free: 9.727 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.468, allocations: 0 / 1.032 GB, free: 9.727 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4681, allocations: 0 / 1.032 GB, free: 9.727 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.4682, allocations: 81.84 kB / 1.032 GB, free: 9.625 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.4683, allocations: 89 kB / 1.032 GB, free: 9.52 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.4683, allocations: 4 kB / 1.032 GB, free: 9.516 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.4684, allocations: 0 / 1.032 GB, free: 9.516 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.4684, allocations: 0 / 1.032 GB, free: 9.516 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.4684, allocations: 3.984 kB / 1.032 GB, free: 9.512 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001424/0.4686, allocations: 134.5 kB / 1.032 GB, free: 9.383 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4686, allocations: 0 / 1.032 GB, free: 9.383 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.000233/0.4688, allocations: 8 kB / 1.032 GB, free: 9.375 MB / 0.6824 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.0001406/0.469, allocations: 103.2 kB / 1.032 GB, free: 9.262 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.4691, allocations: 16 kB / 1.032 GB, free: 9.246 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.4691, allocations: 0 / 1.032 GB, free: 9.246 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.4691, allocations: 11.94 kB / 1.032 GB, free: 9.234 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.4694, allocations: 21.89 kB / 1.032 GB, free: 9.215 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.4698, allocations: 190.2 kB / 1.032 GB, free: 9.004 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4702, allocations: 0.6965 MB / 1.033 GB, free: 8.281 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.4702, allocations: 12.38 kB / 1.033 GB, free: 8.266 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.4702, allocations: 15.38 kB / 1.033 GB, free: 8.254 MB / 0.6824 GB Notification: Performance of SimCode: time 8.31e-07/0.4703, allocations: 0 / 1.033 GB, free: 8.254 MB / 0.6824 GB Notification: Performance of Templates: time 0.003263/0.4735, allocations: 451.9 kB / 1.033 GB, free: 7.812 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)