Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001159/0.001159, allocations: 184.4 kB / 371.6 MB, free: 3.434 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.814/1.814, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008771/0.0008772, allocations: 94.14 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.875e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2846, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.911/1.196, allocations: 138.5 MB / 1.115 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/1.196, allocations: 62.11 kB / 1.115 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002318/1.198, allocations: 1.148 MB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/1.198, allocations: 0 / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.198, allocations: 3.812 kB / 1.116 GB, free: 44.26 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.0002542/1.199, allocations: 365.7 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.199, allocations: 8.594 kB / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/1.199, allocations: 15.28 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/1.199, allocations: 176.4 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/1.199, allocations: 11.2 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/1.199, allocations: 7.562 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/1.199, allocations: 96.78 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.199, allocations: 0.5156 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.199, allocations: 3.938 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.199, allocations: 4.812 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/1.199, allocations: 35.75 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/1.2, allocations: 464.4 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.438e-05/1.2, allocations: 39.81 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/1.2, allocations: 17.59 kB / 1.117 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/1.2, allocations: 0 / 1.117 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/1.2, allocations: 34.59 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/1.2, allocations: 0 / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001393/1.2, allocations: 57.77 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/1.2, allocations: 88.98 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.2, allocations: 154 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/1.2, allocations: 33.27 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/1.2, allocations: 107.2 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-06/1.2, allocations: 3.906 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/1.2, allocations: 0 / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/1.2, allocations: 322.2 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/1.2, allocations: 11.81 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/1.2, allocations: 18.69 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/1.2, allocations: 11.94 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.2, allocations: 0 / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.16e-05/1.2, allocations: 65.58 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.2, allocations: 4 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.2, allocations: 4.062 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.2, allocations: 4 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/1.2, allocations: 11.97 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.2, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/1.2, allocations: 11.84 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/1.2, allocations: 0 / 1.118 GB, free: 42.12 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.235e-05/1.2, allocations: 105 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/1.201, allocations: 12.52 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/1.201, allocations: 11.81 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/1.201, allocations: 8 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.201, allocations: 0.5 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.201, allocations: 0.7969 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/1.201, allocations: 479 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.201, allocations: 0.5 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/1.201, allocations: 8.031 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/1.201, allocations: 0 / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/1.201, allocations: 4.562 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.201, allocations: 4 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.201, allocations: 6.844 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.606e-05/1.201, allocations: 90.72 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/1.201, allocations: 88.92 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/1.201, allocations: 2.125 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.474e-05/1.201, allocations: 7.922 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/1.201, allocations: 4 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/1.201, allocations: 0 / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.307e-05/1.201, allocations: 122.7 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.201, allocations: 4 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001727/1.201, allocations: 11.88 kB / 1.119 GB, free: 41.15 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 9.388e-05/1.201, allocations: 99.19 kB / 1.119 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.92e-05/1.202, allocations: 20.12 kB / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.202, allocations: 0 / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/1.202, allocations: 11.44 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.759e-05/1.202, allocations: 16.3 kB / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/1.202, allocations: 103.4 kB / 1.119 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/1.202, allocations: 0.7057 MB / 1.12 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.636e-05/1.202, allocations: 4.438 kB / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/1.202, allocations: 11.44 kB / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.202, allocations: 0 / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.00209/1.204, allocations: 458.3 kB / 1.121 GB, free: 39.92 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)