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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002295/0.002295, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.662/1.662, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.652/1.652, allocations: 251.7 MB / 0.5092 GB, free: 3.141 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.001455/0.001455, allocations: 71.89 kB / 0.6223 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6704, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002727/0.6732, allocations: 0.8655 MB / 0.7254 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.6734, allocations: 43.78 kB / 0.7254 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.6734, allocations: 4 kB / 0.7254 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.6735, allocations: 15.86 kB / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.6736, allocations: 7.875 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.491e-05/0.6737, allocations: 19.98 kB / 0.7255 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.6738, allocations: 67.78 kB / 0.7255 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.674, allocations: 45.38 kB / 0.7256 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.6741, allocations: 27.86 kB / 0.7256 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.6742, allocations: 35.78 kB / 0.7256 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.6742, allocations: 4 kB / 0.7256 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.6742, allocations: 8 kB / 0.7256 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.6743, allocations: 11.94 kB / 0.7256 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.6743, allocations: 43.73 kB / 0.7257 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.6745, allocations: 81.66 kB / 0.7258 GB, free: 11.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.6745, allocations: 0 / 0.7258 GB, free: 11.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.318e-06/0.6745, allocations: 4 kB / 0.7258 GB, free: 11.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.6746, allocations: 3.938 kB / 0.7258 GB, free: 11.67 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.0006669/0.6752, allocations: 391 kB / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6753, allocations: 8.031 kB / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.6753, allocations: 12.84 kB / 0.7262 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.6756, allocations: 192.1 kB / 0.7263 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.6756, allocations: 12.28 kB / 0.7264 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.6757, allocations: 8.375 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.6759, allocations: 95.89 kB / 0.7265 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.6759, allocations: 4.125 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.6759, allocations: 7.938 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6759, allocations: 4 kB / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.676, allocations: 39.98 kB / 0.7265 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.6767, allocations: 452.5 kB / 0.7269 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.6768, allocations: 37.16 kB / 0.727 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.6768, allocations: 21.88 kB / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.6768, allocations: 0 / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.6769, allocations: 42.55 kB / 0.727 GB, free: 10.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.6769, allocations: 0 / 0.727 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.6771, allocations: 61.48 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.6771, allocations: 77.11 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.6773, allocations: 169.5 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.6773, allocations: 25.7 kB / 0.7274 GB, free: 9.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.6774, allocations: 100.3 kB / 0.7275 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.6774, allocations: 11.89 kB / 0.7275 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.6775, allocations: 17.72 kB / 0.7275 GB, free: 9.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6777, allocations: 322.8 kB / 0.7278 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.6777, allocations: 8 kB / 0.7278 GB, free: 9.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.6777, allocations: 17.66 kB / 0.7278 GB, free: 9.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.058e-05/0.6778, allocations: 33.66 kB / 0.7278 GB, free: 9.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6778, allocations: 4 kB / 0.7278 GB, free: 9.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.839e-05/0.6779, allocations: 61.59 kB / 0.7279 GB, free: 9.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6779, allocations: 4 kB / 0.7279 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6779, allocations: 3.938 kB / 0.7279 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.678, allocations: 3.938 kB / 0.7279 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.6781, allocations: 8 kB / 0.7279 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.6781, allocations: 0 / 0.7279 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.6781, allocations: 7.844 kB / 0.7279 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.6781, allocations: 4 kB / 0.7279 GB, free: 9.184 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.0001108/0.6782, allocations: 121.9 kB / 0.7281 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.6783, allocations: 7.906 kB / 0.7281 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.6783, allocations: 16.5 kB / 0.7281 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6783, allocations: 0 / 0.7281 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6783, allocations: 0 / 0.7281 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6784, allocations: 0 / 0.7281 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.6788, allocations: 486.7 kB / 0.7285 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6789, allocations: 0 / 0.7285 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.6789, allocations: 4 kB / 0.7285 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6789, allocations: 0 / 0.7285 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.6789, allocations: 3.938 kB / 0.7285 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6789, allocations: 4 kB / 0.7286 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6789, allocations: 0 / 0.7286 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.6791, allocations: 89.83 kB / 0.7286 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.6791, allocations: 93 kB / 0.7287 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.6792, allocations: 0 / 0.7287 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.6792, allocations: 4 kB / 0.7287 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.6792, allocations: 96 / 0.7287 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.6792, allocations: 4 kB / 0.7287 GB, free: 8.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001186/0.6793, allocations: 128.9 kB / 0.7289 GB, free: 8.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6794, allocations: 0 / 0.7289 GB, free: 8.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001914/0.6795, allocations: 12 kB / 0.7289 GB, free: 8.121 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.0001653/0.6797, allocations: 103.3 kB / 0.729 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.6799, allocations: 23.92 kB / 0.729 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6799, allocations: 0 / 0.729 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.6799, allocations: 11.94 kB / 0.729 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.6801, allocations: 7.938 kB / 0.729 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.6805, allocations: 186.2 kB / 0.7292 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.6809, allocations: 0.6924 MB / 0.7299 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.6809, allocations: 12.42 kB / 0.7299 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.681, allocations: 11.44 kB / 0.7299 GB, free: 7.012 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.681, allocations: 0 / 0.7299 GB, free: 7.012 MB / 0.545 GB Notification: Performance of Templates: time 0.003053/0.6841, allocations: 486.5 kB / 0.7304 GB, free: 6.539 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)