Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.63/1.63, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009188/0.0009187, allocations: 176.3 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009252, allocations: 91.88 kB / 0.7808 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 13.66 kB / 0.9088 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6553, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.8249, allocations: 140.8 MB / 1.164 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.8252, allocations: 63.62 kB / 1.164 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002621/0.8279, allocations: 1.164 MB / 1.165 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8279, allocations: 3.938 kB / 1.165 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.8279, allocations: 0 / 1.165 GB, free: 1.609 MB / 0.7292 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.0002689/0.8282, allocations: 374.7 kB / 1.165 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.8282, allocations: 8.938 kB / 1.165 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.8282, allocations: 13.5 kB / 1.165 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.8284, allocations: 183 kB / 1.166 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.8284, allocations: 5.062 kB / 1.166 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.8284, allocations: 9.078 kB / 1.166 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.8285, allocations: 97.03 kB / 1.166 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8286, allocations: 4.938 kB / 1.166 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.8286, allocations: 3.938 kB / 1.166 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8286, allocations: 0 / 1.166 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.8287, allocations: 45.77 kB / 1.166 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.8291, allocations: 457.2 kB / 1.166 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.8292, allocations: 44.41 kB / 1.166 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.8292, allocations: 13.78 kB / 1.166 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.8292, allocations: 0.625 kB / 1.166 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.8292, allocations: 39.5 kB / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8292, allocations: 0 / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.8294, allocations: 59.91 kB / 1.166 GB, free: 176 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.8294, allocations: 79.22 kB / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.8296, allocations: 169.8 kB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.8296, allocations: 32.77 kB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.8297, allocations: 107.4 kB / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.8297, allocations: 9.422 kB / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.8297, allocations: 0 / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8298, allocations: 323 kB / 1.167 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.8299, allocations: 10.44 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.8299, allocations: 19.59 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.452e-05/0.83, allocations: 34.81 kB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.83, allocations: 2.594 kB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001459/0.8302, allocations: 63.98 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8302, allocations: 4 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.8302, allocations: 5.188 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8302, allocations: 1.031 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.8303, allocations: 8 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8303, allocations: 2.797 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.8304, allocations: 0 / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.8304, allocations: 4.719 kB / 1.167 GB, free: 15.29 MB / 0.7448 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 9.959e-05/0.8305, allocations: 117.1 kB / 1.167 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.8306, allocations: 11.81 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.8306, allocations: 19.38 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8306, allocations: 1.125 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8307, allocations: 1.438 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8307, allocations: 0.5625 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.8311, allocations: 479.6 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8311, allocations: 0.9375 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.8311, allocations: 4.562 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8311, allocations: 0.5 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.8312, allocations: 3.828 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.8312, allocations: 5.188 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8312, allocations: 0 / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.8313, allocations: 86.11 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.8314, allocations: 93.06 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.8314, allocations: 2.625 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.8314, allocations: 4 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.8314, allocations: 2.359 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.8314, allocations: 0 / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001054/0.8315, allocations: 131.8 kB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8316, allocations: 2.781 kB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001709/0.8317, allocations: 11.94 kB / 1.168 GB, free: 14.28 MB / 0.7448 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.917e-05/0.8318, allocations: 96.09 kB / 1.168 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.676e-05/0.8319, allocations: 21.48 kB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8319, allocations: 0.5 kB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.8319, allocations: 10.12 kB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.8321, allocations: 12.73 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.8325, allocations: 205.4 kB / 1.168 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.8327, allocations: 0.6946 MB / 1.169 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.8328, allocations: 9.5 kB / 1.169 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.8328, allocations: 15.44 kB / 1.169 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8328, allocations: 0 / 1.169 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.002232/0.835, allocations: 446.1 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)