Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, 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.0009927/0.0009927, allocations: 192.1 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.222/1.222, allocations: 205.1 MB / 222 MB, free: 4.688 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.335/1.335, allocations: 251.7 MB / 0.5088 GB, free: 3.336 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.001245/0.001245, allocations: 59.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3629, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002353/0.3653, allocations: 1.597 MB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 9.396e-05/0.3654, allocations: 27.86 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.3655, allocations: 4 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.3655, allocations: 3.938 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.649e-05/0.3656, allocations: 7.922 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.183e-05/0.3657, allocations: 23.97 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.3657, allocations: 39.86 kB / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.3658, allocations: 27.98 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.3658, allocations: 23.92 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.3659, allocations: 27.84 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3659, allocations: 0 / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.3659, allocations: 7.938 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.366, allocations: 19.98 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.366, allocations: 27.8 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.153e-05/0.3661, allocations: 53.78 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3661, allocations: 0 / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.71e-07/0.3661, allocations: 0 / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.3661, allocations: 0 / 0.7257 GB, free: 11.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002633/0.3664, allocations: 363.3 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.3664, allocations: 12.03 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.3665, allocations: 8.844 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3666, allocations: 184.2 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.3666, allocations: 4.375 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3666, allocations: 16.31 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3668, allocations: 99.97 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.3668, allocations: 192 / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3668, allocations: 11.94 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3668, allocations: 0 / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.225e-05/0.3669, allocations: 43.91 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.3673, allocations: 0.644 MB / 0.727 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/0.3674, allocations: 169.1 kB / 0.7272 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.3674, allocations: 88.17 kB / 0.7272 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3675, allocations: 75.28 kB / 0.7273 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3675, allocations: 109.8 kB / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3675, allocations: 7.875 kB / 0.7274 GB, free: 9.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.132e-05/0.3676, allocations: 41.53 kB / 0.7275 GB, free: 9.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3676, allocations: 134.7 kB / 0.7276 GB, free: 9.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3678, allocations: 170.9 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3678, allocations: 25.7 kB / 0.7278 GB, free: 8.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.3678, allocations: 100 kB / 0.7279 GB, free: 8.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.3678, allocations: 0 / 0.7279 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.3679, allocations: 17.72 kB / 0.7279 GB, free: 8.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.3679, allocations: 314.8 kB / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.368, allocations: 7.984 kB / 0.7282 GB, free: 8.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.368, allocations: 30.56 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.368, allocations: 30.52 kB / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.368, allocations: 0 / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001007/0.3681, allocations: 57.53 kB / 0.7283 GB, free: 8.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3682, allocations: 4.094 kB / 0.7283 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3682, allocations: 4 kB / 0.7283 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3682, allocations: 7.938 kB / 0.7283 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.3682, allocations: 4 kB / 0.7283 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3682, allocations: 0 / 0.7283 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.3683, allocations: 7.906 kB / 0.7283 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3683, allocations: 0 / 0.7283 GB, free: 8.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.689e-05/0.3684, allocations: 201 kB / 0.7285 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.3684, allocations: 108.9 kB / 0.7286 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3685, allocations: 120.8 kB / 0.7288 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.422e-05/0.3685, allocations: 184.2 kB / 0.7289 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-05/0.3686, allocations: 184.2 kB / 0.7291 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-05/0.3686, allocations: 180.2 kB / 0.7293 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3688, allocations: 421.2 kB / 0.7297 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/0.3688, allocations: 109 kB / 0.7298 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.3689, allocations: 104.9 kB / 0.7299 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-05/0.3689, allocations: 180.3 kB / 0.7301 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.369, allocations: 184.1 kB / 0.7302 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.373e-05/0.369, allocations: 180.3 kB / 0.7304 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.039e-05/0.3691, allocations: 188.2 kB / 0.7306 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.549e-05/0.3692, allocations: 312 kB / 0.7309 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.3692, allocations: 193.9 kB / 0.7311 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.3693, allocations: 180.2 kB / 0.7312 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.3694, allocations: 108.9 kB / 0.7313 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.3694, allocations: 184.3 kB / 0.7315 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.3694, allocations: 101 kB / 0.7316 GB, free: 4.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.204e-05/0.3695, allocations: 130.5 kB / 0.7317 GB, free: 4.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3695, allocations: 0 / 0.7317 GB, free: 4.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002062/0.3697, allocations: 11.94 kB / 0.7317 GB, free: 4.531 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001/0.3698, allocations: 178.5 kB / 0.7319 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.05e-05/0.3699, allocations: 8 kB / 0.7319 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3699, allocations: 0 / 0.7319 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.3699, allocations: 0 / 0.7319 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3702, allocations: 0.5224 MB / 0.7324 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.3705, allocations: 251 kB / 0.7327 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.3707, allocations: 0.6965 MB / 0.7334 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.488e-05/0.3707, allocations: 0 / 0.7334 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.3708, allocations: 11.44 kB / 0.7334 GB, free: 2.805 MB / 0.545 GB Notification: Performance of SimCode: time 1.8e-07/0.3708, allocations: 0 / 0.7334 GB, free: 2.805 MB / 0.545 GB Notification: Performance of Templates: time 0.001766/0.3725, allocations: 424.5 kB / 0.7338 GB, free: 2.391 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)