Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.106/5.106, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002471/0.00247, allocations: 365.1 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.126/4.126, allocations: 410.7 MB / 1.113 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001881/0.001881, allocations: 184.2 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005182, allocations: 16 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7505/0.7511, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.9518, allocations: 137.4 MB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.9521, allocations: 64.59 kB / 1.596 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.003663/0.9558, allocations: 1.153 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9558, allocations: 0 / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9559, allocations: 0 / 1.597 GB, free: 145.6 MB / 0.8542 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.0003579/0.9562, allocations: 378.5 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.9563, allocations: 11.62 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.9563, allocations: 15.81 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.9565, allocations: 186.8 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.9565, allocations: 7.906 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.9565, allocations: 11.98 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.9568, allocations: 92.92 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.9568, allocations: 3.938 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.9568, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.9568, allocations: 4.875 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.9569, allocations: 35.98 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.9576, allocations: 464.2 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.31e-05/0.9577, allocations: 38.56 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.9577, allocations: 22.97 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.9578, allocations: 3.797 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.9578, allocations: 38.5 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.9578, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002398/0.9581, allocations: 54.36 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.9581, allocations: 82.27 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.9583, allocations: 178.4 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.9583, allocations: 25.7 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.9584, allocations: 104 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.9584, allocations: 7.844 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.9584, allocations: 4 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.9585, allocations: 318.8 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/0.9585, allocations: 8 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.9586, allocations: 22.62 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.9586, allocations: 12.64 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9586, allocations: 0.625 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001194/0.9588, allocations: 67.5 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9588, allocations: 7.594 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.9588, allocations: 224 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.9588, allocations: 4 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.959, allocations: 7.938 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.959, allocations: 1.594 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.959, allocations: 7.906 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.9591, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 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 7.695e-05/0.9591, allocations: 127.2 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.9592, allocations: 11.91 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.9592, allocations: 12.56 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.9593, allocations: 0.8125 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9593, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9593, allocations: 4 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.9597, allocations: 480.6 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9597, allocations: 4.688 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.9598, allocations: 0 / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9598, allocations: 5.875 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.9598, allocations: 0 / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.9598, allocations: 0 / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9598, allocations: 0 / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.96, allocations: 91.28 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.96, allocations: 91.25 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.9601, allocations: 4 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.9601, allocations: 3.938 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.9601, allocations: 3.938 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.9602, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001103/0.9603, allocations: 132 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9603, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002364/0.9605, allocations: 13.53 kB / 1.6 GB, free: 142.1 MB / 0.8542 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.0001089/0.9607, allocations: 99.23 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.9608, allocations: 17.41 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9608, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.9608, allocations: 17.53 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.9611, allocations: 7.953 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.9615, allocations: 192.8 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.9616, allocations: 0.7018 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.892e-05/0.9617, allocations: 8.984 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.9617, allocations: 13.03 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/0.9618, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of Templates: time 0.00327/0.965, allocations: 445.7 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB