Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.592/1.592, allocations: 297.8 MB / 313.7 MB, free: 64 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.0009989/0.0009987, allocations: 184.5 kB / 384.6 MB, free: 10.77 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.306/1.306, allocations: 223.2 MB / 0.6626 GB, free: 4.223 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.0009048/0.0009046, allocations: 92.23 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 19.98 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6637/0.6641, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.8347, allocations: 140.8 MB / 1.164 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.8349, allocations: 61.28 kB / 1.164 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002399/0.8374, allocations: 1.158 MB / 1.165 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8374, allocations: 0 / 1.165 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.8374, allocations: 5.469 kB / 1.165 GB, free: 1.594 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.0002709/0.8377, allocations: 371.8 kB / 1.165 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.8377, allocations: 12.53 kB / 1.165 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.8377, allocations: 14 kB / 1.165 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.8379, allocations: 188 kB / 1.166 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.8379, allocations: 9.328 kB / 1.166 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.8379, allocations: 8.375 kB / 1.166 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.838, allocations: 89.92 kB / 1.166 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8381, allocations: 192 / 1.166 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.8381, allocations: 12.81 kB / 1.166 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.8381, allocations: 4.75 kB / 1.166 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.8382, allocations: 37.67 kB / 1.166 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.8386, allocations: 462.4 kB / 1.166 GB, free: 344 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.8387, allocations: 37.28 kB / 1.166 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.8387, allocations: 15 kB / 1.166 GB, free: 268 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.8387, allocations: 5.125 kB / 1.166 GB, free: 264 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.8388, allocations: 36.5 kB / 1.166 GB, free: 220 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.8388, allocations: 1.219 kB / 1.166 GB, free: 220 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.839, allocations: 64.28 kB / 1.166 GB, free: 152 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.839, allocations: 78.64 kB / 1.166 GB, free: 56 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.8392, allocations: 165.5 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.8392, allocations: 28.77 kB / 1.167 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.8393, allocations: 108.7 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.8393, allocations: 16.55 kB / 1.167 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.8393, allocations: 0 / 1.167 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8395, allocations: 318.9 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.8395, allocations: 5.328 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.8395, allocations: 24.64 kB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.8396, allocations: 32.12 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8396, allocations: 0 / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.987e-05/0.8397, allocations: 61.88 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8397, allocations: 8.625 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8397, allocations: 6.359 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8397, allocations: 0.875 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.8398, allocations: 10.34 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8398, allocations: 4.844 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.8399, allocations: 0 / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.8399, allocations: 4 kB / 1.167 GB, free: 15.27 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 8.188e-05/0.8399, allocations: 113 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.84, allocations: 15.81 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.84, allocations: 14.33 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.84, allocations: 5.562 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8401, allocations: 1.375 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8401, allocations: 0 / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.8405, allocations: 485.1 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8405, allocations: 2.125 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.8405, allocations: 4.656 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.8405, allocations: 0 / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.8406, allocations: 2.297 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8406, allocations: 0.7031 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8406, allocations: 1.016 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.949e-05/0.8407, allocations: 90.23 kB / 1.168 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.8407, allocations: 89.62 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.8408, allocations: 0 / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.8408, allocations: 2.781 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.8408, allocations: 5.562 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.8408, allocations: 0 / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001051/0.8409, allocations: 129.1 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8409, allocations: 4 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001728/0.8411, allocations: 12.56 kB / 1.168 GB, free: 14.26 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 0.000117/0.8412, allocations: 102.6 kB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.8413, allocations: 20.78 kB / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8413, allocations: 0 / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.336e-05/0.8414, allocations: 4.938 kB / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.8415, allocations: 13.56 kB / 1.168 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.8419, allocations: 199.3 kB / 1.168 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.8422, allocations: 0.6985 MB / 1.169 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.8422, allocations: 7.156 kB / 1.169 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.8423, allocations: 11.44 kB / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of SimCode: time 2.425e-06/0.8423, allocations: 0 / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.002365/0.8446, allocations: 451.6 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)