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_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.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, 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.001071/0.001071, allocations: 192.2 kB / 16.13 MB, free: 6.699 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.683/1.683, allocations: 205.1 MB / 222 MB, free: 4.746 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.722/1.722, allocations: 251.6 MB / 0.5088 GB, free: 3.301 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.001564/0.001564, allocations: 63.92 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.5826, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002095/0.5847, allocations: 0.9274 MB / 0.7247 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.5848, allocations: 39.8 kB / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.5849, allocations: 4 kB / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.5849, allocations: 3.938 kB / 0.7248 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.585, allocations: 11.91 kB / 0.7248 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.112e-05/0.5851, allocations: 16 kB / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.5852, allocations: 59.84 kB / 0.7248 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.5853, allocations: 45.33 kB / 0.7249 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.5854, allocations: 23.86 kB / 0.7249 GB, free: 12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.5855, allocations: 35.78 kB / 0.7249 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.5855, allocations: 4 kB / 0.725 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.5855, allocations: 4 kB / 0.725 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.5855, allocations: 11.94 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.5856, allocations: 35.67 kB / 0.725 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.5857, allocations: 89.66 kB / 0.7251 GB, free: 11.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5857, allocations: 0 / 0.7251 GB, free: 11.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5857, allocations: 0 / 0.7251 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.5857, allocations: 0 / 0.7251 GB, free: 11.83 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.0004441/0.5861, allocations: 391.1 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5862, allocations: 11.97 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.5862, allocations: 12.84 kB / 0.7255 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.5864, allocations: 200.1 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.5865, allocations: 12.28 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5865, allocations: 8.375 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.5866, allocations: 95.89 kB / 0.7258 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5866, allocations: 192 / 0.7258 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5867, allocations: 3.938 kB / 0.7258 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.5867, allocations: 4 kB / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.5868, allocations: 39.98 kB / 0.7258 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.5873, allocations: 448.5 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.5874, allocations: 37.16 kB / 0.7263 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.5874, allocations: 13.84 kB / 0.7263 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.5874, allocations: 8.031 kB / 0.7263 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5874, allocations: 38.55 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.5875, allocations: 3.984 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.5876, allocations: 57.48 kB / 0.7264 GB, free: 10.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.5877, allocations: 81.11 kB / 0.7265 GB, free: 10.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.5879, allocations: 168 kB / 0.7266 GB, free: 10 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5879, allocations: 33.95 kB / 0.7267 GB, free: 9.965 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.588, allocations: 104 kB / 0.7268 GB, free: 9.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/0.588, allocations: 7.891 kB / 0.7268 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.588, allocations: 13.72 kB / 0.7268 GB, free: 9.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5881, allocations: 322.8 kB / 0.7271 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.5882, allocations: 8 kB / 0.7271 GB, free: 9.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.5882, allocations: 17.72 kB / 0.7271 GB, free: 9.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.5883, allocations: 33.66 kB / 0.7272 GB, free: 9.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5883, allocations: 3.938 kB / 0.7272 GB, free: 9.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.102e-05/0.5883, allocations: 57.59 kB / 0.7272 GB, free: 9.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5884, allocations: 8 kB / 0.7272 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5884, allocations: 3.938 kB / 0.7272 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5884, allocations: 0 / 0.7272 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.5885, allocations: 7.938 kB / 0.7272 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5885, allocations: 4 kB / 0.7272 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.5885, allocations: 15.84 kB / 0.7273 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.5886, allocations: 8 kB / 0.7273 GB, free: 9.324 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.851e-05/0.5886, allocations: 117.8 kB / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.5887, allocations: 7.906 kB / 0.7274 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.5887, allocations: 8.5 kB / 0.7274 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5887, allocations: 4 kB / 0.7274 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5887, allocations: 0 / 0.7274 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5887, allocations: 0 / 0.7274 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.5891, allocations: 490.7 kB / 0.7279 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5891, allocations: 0 / 0.7279 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.5892, allocations: 4 kB / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5892, allocations: 0 / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.5892, allocations: 0 / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5892, allocations: 0 / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5892, allocations: 4 kB / 0.7279 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.162e-05/0.5893, allocations: 89.83 kB / 0.728 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.5893, allocations: 85.02 kB / 0.728 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.5894, allocations: 3.984 kB / 0.728 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.5894, allocations: 0 / 0.728 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.5894, allocations: 4 kB / 0.7281 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.5894, allocations: 4 kB / 0.7281 GB, free: 8.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.314e-05/0.5895, allocations: 128 kB / 0.7282 GB, free: 8.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5895, allocations: 4.031 kB / 0.7282 GB, free: 8.281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000179/0.5897, allocations: 8 kB / 0.7282 GB, free: 8.273 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.0001232/0.5898, allocations: 95.25 kB / 0.7283 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.38e-05/0.5899, allocations: 23.92 kB / 0.7283 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5899, allocations: 0 / 0.7283 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.59, allocations: 8 kB / 0.7283 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.5901, allocations: 12.19 kB / 0.7283 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.5904, allocations: 207.8 kB / 0.7285 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5907, allocations: 0.6965 MB / 0.7292 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.5907, allocations: 8.422 kB / 0.7292 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.5908, allocations: 15.38 kB / 0.7292 GB, free: 7.148 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.5908, allocations: 0 / 0.7292 GB, free: 7.148 MB / 0.545 GB Notification: Performance of Templates: time 0.002403/0.5932, allocations: 468.3 kB / 0.7297 GB, free: 6.691 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)