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.0006865/0.0006866, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.003686/0.003687, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.169/1.169, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.323/1.323, allocations: 252 MB / 0.5105 GB, free: 4.652 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.0004369/0.0004368, allocations: 16 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3592, allocations: 106.3 MB / 0.7287 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001503/0.3608, allocations: 1.258 MB / 0.73 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001028/0.3609, allocations: 27.91 kB / 0.73 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.361, allocations: 7.938 kB / 0.73 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.999e-05/0.3611, allocations: 7.938 kB / 0.73 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.659e-05/0.3611, allocations: 4 kB / 0.73 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.898e-05/0.3612, allocations: 19.97 kB / 0.73 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.3613, allocations: 43.8 kB / 0.7301 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3614, allocations: 23.98 kB / 0.7301 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.3614, allocations: 23.92 kB / 0.7301 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.3615, allocations: 23.84 kB / 0.7301 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3615, allocations: 0 / 0.7301 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.3615, allocations: 4 kB / 0.7301 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.3615, allocations: 11.98 kB / 0.7301 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.3616, allocations: 45.52 kB / 0.7302 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.573e-05/0.3617, allocations: 53.77 kB / 0.7302 GB, free: 9.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3617, allocations: 0 / 0.7302 GB, free: 9.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3617, allocations: 0 / 0.7302 GB, free: 9.812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.3617, allocations: 0 / 0.7302 GB, free: 9.812 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.0002996/0.362, allocations: 359.3 kB / 0.7306 GB, free: 9.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.362, allocations: 8.031 kB / 0.7306 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.3621, allocations: 8.844 kB / 0.7306 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3622, allocations: 184.2 kB / 0.7308 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3622, allocations: 12.31 kB / 0.7308 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3623, allocations: 8.312 kB / 0.7308 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3624, allocations: 100.8 kB / 0.7309 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3624, allocations: 192 / 0.7309 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3624, allocations: 15.92 kB / 0.7309 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3625, allocations: 4 kB / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.3625, allocations: 43.91 kB / 0.7309 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.363, allocations: 0.6362 MB / 0.7316 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.3631, allocations: 169.1 kB / 0.7317 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.3631, allocations: 80.14 kB / 0.7318 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3631, allocations: 79.25 kB / 0.7319 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3632, allocations: 117.8 kB / 0.732 GB, free: 7.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3632, allocations: 0 / 0.732 GB, free: 7.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.917e-05/0.3633, allocations: 37.55 kB / 0.732 GB, free: 7.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3633, allocations: 126.7 kB / 0.7322 GB, free: 7.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3635, allocations: 172.5 kB / 0.7323 GB, free: 7.469 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.3635, allocations: 29.7 kB / 0.7323 GB, free: 7.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.3635, allocations: 107.9 kB / 0.7324 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.3635, allocations: 0 / 0.7324 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.3636, allocations: 9.719 kB / 0.7325 GB, free: 7.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.3637, allocations: 326.8 kB / 0.7328 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.3637, allocations: 0 / 0.7328 GB, free: 6.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.3637, allocations: 26.52 kB / 0.7328 GB, free: 6.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.3637, allocations: 30.56 kB / 0.7328 GB, free: 6.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3638, allocations: 4 kB / 0.7328 GB, free: 6.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.957e-05/0.3639, allocations: 53.55 kB / 0.7329 GB, free: 6.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3639, allocations: 4 kB / 0.7329 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3639, allocations: 0 / 0.7329 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3639, allocations: 7.938 kB / 0.7329 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.364, allocations: 11.92 kB / 0.7329 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.364, allocations: 0 / 0.7329 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.364, allocations: 4 kB / 0.7329 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.364, allocations: 0 / 0.7329 GB, free: 6.816 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 8.518e-05/0.3641, allocations: 197.2 kB / 0.7331 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.3642, allocations: 108.9 kB / 0.7332 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.3642, allocations: 124.7 kB / 0.7333 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/0.3643, allocations: 176.3 kB / 0.7335 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.611e-05/0.3643, allocations: 184.2 kB / 0.7337 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.617e-05/0.3644, allocations: 184.2 kB / 0.7338 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.3646, allocations: 421.2 kB / 0.7342 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.3646, allocations: 112.9 kB / 0.7343 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.3646, allocations: 101 kB / 0.7344 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-05/0.3647, allocations: 184.2 kB / 0.7346 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.3647, allocations: 180.2 kB / 0.7348 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.542e-05/0.3648, allocations: 184.3 kB / 0.735 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.664e-05/0.3648, allocations: 180.2 kB / 0.7351 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3649, allocations: 319.9 kB / 0.7354 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.365, allocations: 186 kB / 0.7356 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.3651, allocations: 188.2 kB / 0.7358 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3652, allocations: 112.9 kB / 0.7359 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3652, allocations: 176.3 kB / 0.7361 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.3652, allocations: 104.9 kB / 0.7362 GB, free: 3.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.294e-05/0.3653, allocations: 129.1 kB / 0.7363 GB, free: 3.117 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3653, allocations: 3.938 kB / 0.7363 GB, free: 3.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002011/0.3655, allocations: 4 kB / 0.7363 GB, free: 3.109 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.0001062/0.3657, allocations: 178.5 kB / 0.7365 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.133e-05/0.3657, allocations: 7.984 kB / 0.7365 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3657, allocations: 4 kB / 0.7365 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.3657, allocations: 3.938 kB / 0.7365 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3661, allocations: 0.5265 MB / 0.737 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.3663, allocations: 241.7 kB / 0.7372 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.3665, allocations: 0.6887 MB / 0.7379 GB, free: 1.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.3666, allocations: 7.984 kB / 0.7379 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.3666, allocations: 19.38 kB / 0.7379 GB, free: 1.371 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3666, allocations: 0 / 0.7379 GB, free: 1.371 MB / 0.545 GB Notification: Performance of Templates: time 0.001907/0.3685, allocations: 412.5 kB / 0.7383 GB, free: 0.9688 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: