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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, 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.003047/0.003048, allocations: 191 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.666/1.666, allocations: 205.1 MB / 222 MB, free: 4.758 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.617/1.617, allocations: 251.7 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.001583/0.001583, allocations: 67.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7737, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.003667/0.7775, allocations: 0.9196 MB / 0.7247 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.7777, allocations: 51.77 kB / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.7778, allocations: 0 / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.867e-05/0.7779, allocations: 3.938 kB / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.778, allocations: 3.938 kB / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.635e-05/0.7781, allocations: 19.98 kB / 0.7248 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.7783, allocations: 67.78 kB / 0.7249 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.7785, allocations: 37.39 kB / 0.7249 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.7786, allocations: 27.86 kB / 0.7249 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.7787, allocations: 27.78 kB / 0.7249 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.7787, allocations: 8 kB / 0.725 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.7787, allocations: 4 kB / 0.725 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.7787, allocations: 23.86 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.7788, allocations: 35.73 kB / 0.725 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.779, allocations: 77.67 kB / 0.7251 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.779, allocations: 0 / 0.7251 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.023e-06/0.779, allocations: 0 / 0.7251 GB, free: 11.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.779, allocations: 0 / 0.7251 GB, free: 11.84 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.0006444/0.7797, allocations: 391.1 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.7797, allocations: 12.03 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.7798, allocations: 12.84 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.7801, allocations: 200.1 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.7801, allocations: 8.281 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.7801, allocations: 12.31 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.7803, allocations: 87.95 kB / 0.7258 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7803, allocations: 192 / 0.7258 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.7804, allocations: 7.938 kB / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.7804, allocations: 8 kB / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.7805, allocations: 39.92 kB / 0.7258 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.7812, allocations: 440.6 kB / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.7813, allocations: 45.31 kB / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.7813, allocations: 13.72 kB / 0.7263 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.7813, allocations: 7.984 kB / 0.7263 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.7814, allocations: 30.56 kB / 0.7263 GB, free: 10.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.7814, allocations: 3.938 kB / 0.7263 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002507/0.7816, allocations: 65.47 kB / 0.7264 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.7817, allocations: 81.36 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.782, allocations: 168 kB / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.782, allocations: 25.7 kB / 0.7267 GB, free: 9.984 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.7821, allocations: 104 kB / 0.7268 GB, free: 9.879 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.7821, allocations: 15.88 kB / 0.7268 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.7822, allocations: 21.66 kB / 0.7268 GB, free: 9.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7823, allocations: 318.8 kB / 0.7271 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.7824, allocations: 4 kB / 0.7271 GB, free: 9.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.7824, allocations: 29.66 kB / 0.7271 GB, free: 9.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.7825, allocations: 25.72 kB / 0.7272 GB, free: 9.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7825, allocations: 0 / 0.7272 GB, free: 9.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.285e-05/0.7826, allocations: 65.53 kB / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7826, allocations: 4 kB / 0.7272 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7826, allocations: 3.938 kB / 0.7272 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.7826, allocations: 8.062 kB / 0.7272 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.7827, allocations: 4 kB / 0.7273 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7827, allocations: 0 / 0.7273 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.7828, allocations: 11.84 kB / 0.7273 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.7828, allocations: 0 / 0.7273 GB, free: 9.344 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.0001129/0.7829, allocations: 117.8 kB / 0.7274 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.783, allocations: 7.906 kB / 0.7274 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.783, allocations: 16.5 kB / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.783, allocations: 0 / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.783, allocations: 4 kB / 0.7274 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.783, allocations: 4 kB / 0.7274 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.7835, allocations: 478.7 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7835, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.7835, allocations: 4 kB / 0.7279 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7835, allocations: 0 / 0.7279 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.7836, allocations: 8 kB / 0.7279 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7836, allocations: 8 kB / 0.7279 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7836, allocations: 0 / 0.7279 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.7837, allocations: 81.83 kB / 0.728 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.7838, allocations: 85.02 kB / 0.728 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.7838, allocations: 11.98 kB / 0.7281 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.477e-05/0.7838, allocations: 0 / 0.7281 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.7838, allocations: 4.031 kB / 0.7281 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.7839, allocations: 0 / 0.7281 GB, free: 8.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001174/0.784, allocations: 124 kB / 0.7282 GB, free: 8.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.784, allocations: 0 / 0.7282 GB, free: 8.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000206/0.7842, allocations: 15.94 kB / 0.7282 GB, free: 8.285 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.0002049/0.7844, allocations: 103.1 kB / 0.7283 GB, free: 8.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.7845, allocations: 19.98 kB / 0.7283 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7846, allocations: 4.125 kB / 0.7283 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.7846, allocations: 4 kB / 0.7283 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.7848, allocations: 11.94 kB / 0.7283 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.7853, allocations: 207.9 kB / 0.7285 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.7857, allocations: 0.6926 MB / 0.7292 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.7857, allocations: 8.422 kB / 0.7292 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.7858, allocations: 11.44 kB / 0.7292 GB, free: 7.164 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.7858, allocations: 0 / 0.7292 GB, free: 7.164 MB / 0.545 GB Notification: Performance of Templates: time 0.003269/0.7891, allocations: 464.6 kB / 0.7297 GB, free: 6.711 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)