Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001657/0.001657, allocations: 184.6 kB / 377.1 MB, free: 1.523 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.688/1.688, allocations: 205.4 MB / 0.6367 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008135/0.0008136, allocations: 92.62 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2797, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7332/1.013, allocations: 138.5 MB / 1.124 GB, free: 36.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/1.013, allocations: 66.92 kB / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002446/1.016, allocations: 1.154 MB / 1.125 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.705e-06/1.016, allocations: 0.75 kB / 1.125 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.686e-05/1.016, allocations: 0 / 1.125 GB, free: 35.11 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.000344/1.016, allocations: 378 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.016, allocations: 8.031 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/1.016, allocations: 14.5 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/1.016, allocations: 184.4 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/1.016, allocations: 11.84 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/1.016, allocations: 11.98 kB / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/1.017, allocations: 95.03 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.017, allocations: 4 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/1.017, allocations: 1.594 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.017, allocations: 0 / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/1.017, allocations: 45.67 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/1.017, allocations: 458.8 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/1.017, allocations: 45.25 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/1.017, allocations: 0 / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.017, allocations: 30.56 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.017, allocations: 0 / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002256/1.018, allocations: 53.61 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/1.018, allocations: 84.78 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.018, allocations: 155.6 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/1.018, allocations: 29.7 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/1.018, allocations: 107.5 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/1.018, allocations: 7.844 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/1.018, allocations: 4 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/1.018, allocations: 322.3 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/1.018, allocations: 4 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/1.018, allocations: 33.09 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/1.018, allocations: 12 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.018, allocations: 0 / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.772e-05/1.018, allocations: 61.56 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.018, allocations: 4 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.018, allocations: 0.5 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.018, allocations: 3.938 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/1.018, allocations: 11.23 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.018, allocations: 4.062 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/1.018, allocations: 5.625 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/1.018, allocations: 8 kB / 1.127 GB, free: 32.84 MB / 0.7292 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.915e-05/1.019, allocations: 112.4 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/1.019, allocations: 15.86 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/1.019, allocations: 12.08 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.019, allocations: 0 / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.019, allocations: 1.531 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.019, allocations: 0.75 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/1.019, allocations: 487.4 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.019, allocations: 0 / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/1.019, allocations: 4 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.019, allocations: 0.9375 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/1.019, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.019, allocations: 4 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.019, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/1.019, allocations: 103.7 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/1.019, allocations: 85.02 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/1.019, allocations: 7.469 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/1.019, allocations: 4.5 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/1.019, allocations: 0.8438 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/1.019, allocations: 4.031 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.929e-05/1.019, allocations: 128 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.71e-07/1.019, allocations: 0 / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001821/1.02, allocations: 11.94 kB / 1.128 GB, free: 31.8 MB / 0.7292 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.0001132/1.02, allocations: 99.33 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.111e-05/1.02, allocations: 19.94 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.02, allocations: 0.6562 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/1.02, allocations: 12.12 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/1.02, allocations: 11.95 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/1.02, allocations: 198.7 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/1.021, allocations: 0.6981 MB / 1.129 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.467e-05/1.021, allocations: 7.953 kB / 1.129 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/1.021, allocations: 11.44 kB / 1.129 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/1.021, allocations: 0 / 1.129 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.002642/1.023, allocations: 450.9 kB / 1.129 GB, free: 30.47 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)