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.604/1.604, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001131/0.001131, allocations: 183.4 kB / 371.6 MB, free: 3.348 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.81/1.81, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001005/0.001006, allocations: 89.97 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.705e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3208, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9718/1.293, allocations: 138.5 MB / 1.115 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.293, allocations: 66.11 kB / 1.115 GB, free: 44.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002728/1.296, allocations: 1.144 MB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.769e-06/1.296, allocations: 4.062 kB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.065e-05/1.296, allocations: 1.688 kB / 1.116 GB, free: 44.25 MB / 0.7448 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.0003398/1.296, allocations: 361.2 kB / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.296, allocations: 12.03 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/1.296, allocations: 15.47 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/1.296, allocations: 181.9 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.296, allocations: 7.828 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/1.297, allocations: 7.375 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/1.297, allocations: 99.52 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.297, allocations: 2.547 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.297, allocations: 0.5312 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.297, allocations: 5 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/1.297, allocations: 34.5 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/1.297, allocations: 464.3 kB / 1.117 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.346e-05/1.297, allocations: 42.03 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/1.298, allocations: 13.78 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/1.298, allocations: 4.594 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/1.298, allocations: 37.88 kB / 1.117 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 3.477e-06/1.298, allocations: 0 / 1.117 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/1.298, allocations: 55.78 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/1.298, allocations: 85.05 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/1.298, allocations: 151.7 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/1.298, allocations: 34.34 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/1.298, allocations: 106.5 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/1.298, allocations: 7.969 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/1.298, allocations: 0 / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/1.298, allocations: 323.9 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/1.298, allocations: 7.375 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/1.298, allocations: 17.61 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/1.298, allocations: 11.5 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.298, allocations: 0 / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.084e-05/1.298, allocations: 71.73 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.298, allocations: 4 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.298, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.298, allocations: 4 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/1.298, allocations: 4.844 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.298, allocations: 3.328 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/1.299, allocations: 13.03 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/1.299, allocations: 0.6562 kB / 1.118 GB, free: 42.11 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 () * 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 4.765e-05/1.299, allocations: 109 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/1.299, allocations: 11.86 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/1.299, allocations: 11.25 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.299, allocations: 7.375 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.299, allocations: 0 / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.299, allocations: 0.6562 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/1.299, allocations: 478.4 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.299, allocations: 4.062 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/1.299, allocations: 8.562 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.299, allocations: 0 / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/1.299, allocations: 2.953 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/1.299, allocations: 3.422 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.299, allocations: 5.625 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/1.299, allocations: 90.27 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/1.299, allocations: 95.72 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/1.299, allocations: 0 / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/1.299, allocations: 0.875 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/1.299, allocations: 4 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/1.299, allocations: 3.328 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.086e-05/1.299, allocations: 120.9 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.299, allocations: 7.938 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001847/1.3, allocations: 11.5 kB / 1.119 GB, free: 41.13 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 () * 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.0001467/1.3, allocations: 99.28 kB / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.142e-05/1.3, allocations: 15.69 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.3, allocations: 1.031 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/1.3, allocations: 11.38 kB / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/1.3, allocations: 11.2 kB / 1.119 GB, free: 41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/1.3, allocations: 115 kB / 1.119 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/1.3, allocations: 0.698 MB / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.629e-05/1.301, allocations: 7.859 kB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/1.301, allocations: 11.44 kB / 1.12 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/1.301, allocations: 0 / 1.12 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.002482/1.303, allocations: 463.1 kB / 1.121 GB, free: 39.9 MB / 0.7448 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)