Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002991/0.002991, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.952/1.952, allocations: 205.1 MB / 222 MB, free: 4.719 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.825/1.825, allocations: 251.6 MB / 0.5088 GB, free: 3.371 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.002222/0.002222, allocations: 71.89 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7292, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.003426/0.7327, allocations: 0.9274 MB / 0.7247 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000176/0.7329, allocations: 43.78 kB / 0.7248 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.733, allocations: 3.938 kB / 0.7248 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.009e-05/0.7331, allocations: 3.938 kB / 0.7248 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.819e-05/0.7332, allocations: 11.92 kB / 0.7248 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.771e-05/0.7333, allocations: 16 kB / 0.7248 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.7334, allocations: 63.78 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.7335, allocations: 45.36 kB / 0.7249 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.7336, allocations: 23.88 kB / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.7337, allocations: 31.78 kB / 0.7249 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.7337, allocations: 4 kB / 0.7249 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.7337, allocations: 4 kB / 0.725 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.7337, allocations: 15.92 kB / 0.725 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.7338, allocations: 35.75 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.7339, allocations: 77.8 kB / 0.7251 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7339, allocations: 0 / 0.7251 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7339, allocations: 0 / 0.7251 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7339, allocations: 0 / 0.7251 GB, free: 12 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.0004907/0.7344, allocations: 399 kB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7345, allocations: 12.03 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.7345, allocations: 8.844 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.7348, allocations: 204.1 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.7348, allocations: 8.281 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.7348, allocations: 12.38 kB / 0.7257 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.735, allocations: 89.77 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.735, allocations: 192 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.735, allocations: 11.94 kB / 0.7258 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.735, allocations: 0 / 0.7258 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.7351, allocations: 35.98 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.7358, allocations: 452.5 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.7359, allocations: 41.22 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.7359, allocations: 13.7 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.7359, allocations: 12.09 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7359, allocations: 30.56 kB / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.736, allocations: 0 / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.7362, allocations: 61.48 kB / 0.7264 GB, free: 10.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.7362, allocations: 77.11 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.7364, allocations: 169.7 kB / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.7365, allocations: 29.7 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.7366, allocations: 108 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.649e-06/0.7366, allocations: 7.906 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.7366, allocations: 21.66 kB / 0.7268 GB, free: 9.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7368, allocations: 318.8 kB / 0.7271 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.7368, allocations: 8 kB / 0.7271 GB, free: 9.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.7368, allocations: 21.72 kB / 0.7271 GB, free: 9.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.7369, allocations: 29.66 kB / 0.7272 GB, free: 9.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7369, allocations: 0 / 0.7272 GB, free: 9.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.737, allocations: 61.59 kB / 0.7272 GB, free: 9.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.737, allocations: 4 kB / 0.7272 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.737, allocations: 3.938 kB / 0.7272 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7371, allocations: 4 kB / 0.7272 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.7371, allocations: 7.938 kB / 0.7272 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7372, allocations: 3.984 kB / 0.7272 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.7372, allocations: 15.91 kB / 0.7273 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.7372, allocations: 0 / 0.7273 GB, free: 9.496 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 0.0001146/0.7373, allocations: 113.8 kB / 0.7274 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.7374, allocations: 7.906 kB / 0.7274 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.7374, allocations: 16.5 kB / 0.7274 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7374, allocations: 0 / 0.7274 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.7374, allocations: 0 / 0.7274 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.7375, allocations: 7.984 kB / 0.7274 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.738, allocations: 478.7 kB / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.738, allocations: 0 / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.738, allocations: 8 kB / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.738, allocations: 0 / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.738, allocations: 4 kB / 0.7279 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.738, allocations: 0 / 0.7279 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.738, allocations: 0 / 0.7279 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.7381, allocations: 93.91 kB / 0.728 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.7382, allocations: 93 kB / 0.728 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.7383, allocations: 4 kB / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.7383, allocations: 0 / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.7383, allocations: 0 / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.7383, allocations: 0 / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001162/0.7385, allocations: 136.8 kB / 0.7282 GB, free: 8.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7385, allocations: 4.031 kB / 0.7282 GB, free: 8.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001975/0.7387, allocations: 8 kB / 0.7282 GB, free: 8.434 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.000213/0.7389, allocations: 99.23 kB / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.739, allocations: 19.94 kB / 0.7283 GB, free: 8.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.739, allocations: 0 / 0.7283 GB, free: 8.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.739, allocations: 12 kB / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.7392, allocations: 8.188 kB / 0.7283 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.7397, allocations: 199.9 kB / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.7401, allocations: 0.7005 MB / 0.7292 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.7402, allocations: 12.36 kB / 0.7292 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.7402, allocations: 7.438 kB / 0.7292 GB, free: 7.316 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.7402, allocations: 4 kB / 0.7292 GB, free: 7.312 MB / 0.545 GB Notification: Performance of Templates: time 0.002399/0.7426, allocations: 460.5 kB / 0.7297 GB, free: 6.863 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)