Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.656/1.656, allocations: 251.6 MB / 0.5088 GB, free: 3.332 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7226, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002362/0.725, allocations: 0.9197 MB / 0.7247 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.7251, allocations: 43.78 kB / 0.7248 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.7252, allocations: 4 kB / 0.7248 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.7252, allocations: 3.938 kB / 0.7248 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.7253, allocations: 7.922 kB / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.253e-05/0.7254, allocations: 16 kB / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.7255, allocations: 63.78 kB / 0.7248 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.7257, allocations: 41.38 kB / 0.7249 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.7257, allocations: 27.86 kB / 0.7249 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.7258, allocations: 31.78 kB / 0.7249 GB, free: 12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.7258, allocations: 12 kB / 0.7249 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.7258, allocations: 4 kB / 0.725 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.7258, allocations: 15.86 kB / 0.725 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.7259, allocations: 35.73 kB / 0.725 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.726, allocations: 81.61 kB / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.726, allocations: 0 / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.91e-07/0.726, allocations: 0 / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.726, allocations: 4 kB / 0.7251 GB, free: 11.85 MB / 0.545 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.0004225/0.7264, allocations: 387.1 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7265, allocations: 16.03 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.7265, allocations: 8.844 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.7268, allocations: 200.1 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7268, allocations: 12.28 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.7268, allocations: 12.31 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.727, allocations: 83.95 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.727, allocations: 192 / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.727, allocations: 11.94 kB / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.727, allocations: 4 kB / 0.7258 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.7271, allocations: 39.92 kB / 0.7258 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.7278, allocations: 444.6 kB / 0.7262 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.7278, allocations: 41.25 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.7279, allocations: 17.78 kB / 0.7263 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.7279, allocations: 0 / 0.7263 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.7279, allocations: 34.55 kB / 0.7263 GB, free: 10.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.7279, allocations: 0 / 0.7263 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.7281, allocations: 61.73 kB / 0.7264 GB, free: 10.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.7282, allocations: 81.11 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.7283, allocations: 172 kB / 0.7266 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.7283, allocations: 25.7 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.7284, allocations: 104 kB / 0.7268 GB, free: 9.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.7284, allocations: 11.89 kB / 0.7268 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.7285, allocations: 13.72 kB / 0.7268 GB, free: 9.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7286, allocations: 318.8 kB / 0.7271 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.7286, allocations: 8 kB / 0.7271 GB, free: 9.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.7287, allocations: 29.66 kB / 0.7271 GB, free: 9.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.7287, allocations: 21.72 kB / 0.7271 GB, free: 9.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7287, allocations: 0 / 0.7271 GB, free: 9.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.786e-05/0.7288, allocations: 65.53 kB / 0.7272 GB, free: 9.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7288, allocations: 7.938 kB / 0.7272 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7288, allocations: 8 kB / 0.7272 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.7289, allocations: 4 kB / 0.7272 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.7289, allocations: 4 kB / 0.7272 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7289, allocations: 3.984 kB / 0.7272 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.729, allocations: 11.84 kB / 0.7272 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.729, allocations: 7.922 kB / 0.7273 GB, free: 9.359 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.7291, allocations: 113.8 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.7291, allocations: 7.906 kB / 0.7274 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.7292, allocations: 16.5 kB / 0.7274 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7292, allocations: 4 kB / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7292, allocations: 4 kB / 0.7274 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.7292, allocations: 0 / 0.7274 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.7296, allocations: 490.6 kB / 0.7279 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7296, allocations: 4 kB / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.7296, allocations: 0 / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7296, allocations: 4 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.7296, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.7296, allocations: 8 kB / 0.7279 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7296, allocations: 0 / 0.7279 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.404e-05/0.7297, allocations: 81.83 kB / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.7298, allocations: 93 kB / 0.728 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.7298, allocations: 0 / 0.728 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.7298, allocations: 0 / 0.728 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.7299, allocations: 8.109 kB / 0.7281 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.7299, allocations: 4 kB / 0.7281 GB, free: 8.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001068/0.73, allocations: 124 kB / 0.7282 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.73, allocations: 0 / 0.7282 GB, free: 8.309 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001821/0.7302, allocations: 8 kB / 0.7282 GB, free: 8.301 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.7303, allocations: 99.25 kB / 0.7283 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.7305, allocations: 19.92 kB / 0.7283 GB, free: 8.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7305, allocations: 8.125 kB / 0.7283 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.7305, allocations: 8 kB / 0.7283 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.7306, allocations: 11.94 kB / 0.7283 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.731, allocations: 207.9 kB / 0.7285 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.7312, allocations: 0.6926 MB / 0.7292 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.7313, allocations: 8.422 kB / 0.7292 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.7313, allocations: 11.44 kB / 0.7292 GB, free: 7.176 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.7313, allocations: 0 / 0.7292 GB, free: 7.176 MB / 0.545 GB Notification: Performance of Templates: time 0.002422/0.7338, allocations: 470.6 kB / 0.7297 GB, free: 6.719 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)