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.0009101/0.000913, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009487/0.0009487, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.155/1.155, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.31/1.31, allocations: 251.7 MB / 0.5089 GB, free: 3.234 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.00117/0.00117, allocations: 64.42 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3525, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002384/0.3549, allocations: 1.589 MB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 9.634e-05/0.355, allocations: 35.84 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.3551, allocations: 4 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3552, allocations: 7.922 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.607e-05/0.3552, allocations: 0 / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.048e-05/0.3553, allocations: 19.98 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.179e-05/0.3554, allocations: 51.78 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3555, allocations: 31.98 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.3556, allocations: 19.92 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.3556, allocations: 27.84 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3557, allocations: 8 kB / 0.7257 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.3557, allocations: 4 kB / 0.7257 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.3557, allocations: 15.98 kB / 0.7258 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.3558, allocations: 31.8 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.215e-05/0.3558, allocations: 49.8 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3559, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3559, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3559, allocations: 4 kB / 0.7258 GB, free: 11.18 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.0003244/0.3562, allocations: 366.8 kB / 0.7262 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.3562, allocations: 8.031 kB / 0.7262 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.3563, allocations: 12.83 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3564, allocations: 192.1 kB / 0.7264 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3564, allocations: 8.375 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3564, allocations: 4.375 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3566, allocations: 104.8 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3566, allocations: 4.188 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3566, allocations: 7.875 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3566, allocations: 4 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.3567, allocations: 39.92 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.3572, allocations: 0.644 MB / 0.7272 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.3573, allocations: 173.1 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.3573, allocations: 88.16 kB / 0.7274 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3573, allocations: 79.28 kB / 0.7275 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3574, allocations: 105.8 kB / 0.7276 GB, free: 9.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3574, allocations: 0 / 0.7276 GB, free: 9.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 5.261e-05/0.3574, allocations: 37.55 kB / 0.7276 GB, free: 9.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3575, allocations: 126.7 kB / 0.7278 GB, free: 9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3576, allocations: 170.3 kB / 0.7279 GB, free: 8.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3576, allocations: 37.64 kB / 0.728 GB, free: 8.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.3577, allocations: 108 kB / 0.7281 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3577, allocations: 0 / 0.7281 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.3577, allocations: 17.72 kB / 0.7281 GB, free: 8.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.3578, allocations: 318.8 kB / 0.7284 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.3579, allocations: 4 kB / 0.7284 GB, free: 8.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.3579, allocations: 18.58 kB / 0.7284 GB, free: 8.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.3579, allocations: 26.58 kB / 0.7284 GB, free: 8.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3579, allocations: 3.938 kB / 0.7284 GB, free: 8.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.344e-05/0.358, allocations: 61.53 kB / 0.7285 GB, free: 8.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.358, allocations: 8 kB / 0.7285 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3581, allocations: 0 / 0.7285 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.3581, allocations: 3.938 kB / 0.7285 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.392e-05/0.3581, allocations: 4 kB / 0.7285 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3581, allocations: 8.094 kB / 0.7285 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.3582, allocations: 3.906 kB / 0.7285 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3582, allocations: 7.984 kB / 0.7285 GB, free: 8.156 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.19e-05/0.3583, allocations: 193.1 kB / 0.7287 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.3583, allocations: 108.9 kB / 0.7288 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.3584, allocations: 120.7 kB / 0.7289 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-05/0.3584, allocations: 176.3 kB / 0.7291 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/0.3585, allocations: 188.2 kB / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/0.3585, allocations: 180.3 kB / 0.7295 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.3587, allocations: 425.1 kB / 0.7299 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/0.3588, allocations: 104.9 kB / 0.73 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.3588, allocations: 101 kB / 0.7301 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.171e-05/0.3589, allocations: 188.2 kB / 0.7302 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.3589, allocations: 184.2 kB / 0.7304 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.334e-05/0.359, allocations: 180.2 kB / 0.7306 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.857e-05/0.359, allocations: 184.3 kB / 0.7308 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3591, allocations: 319.9 kB / 0.7311 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.3592, allocations: 190 kB / 0.7312 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.3593, allocations: 188.1 kB / 0.7314 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.3593, allocations: 101 kB / 0.7315 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.3594, allocations: 180.2 kB / 0.7317 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.3594, allocations: 108.9 kB / 0.7318 GB, free: 4.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.27e-05/0.3595, allocations: 131.1 kB / 0.7319 GB, free: 4.461 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3595, allocations: 0 / 0.7319 GB, free: 4.461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002012/0.3597, allocations: 8 kB / 0.7319 GB, free: 4.453 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.0001066/0.3598, allocations: 170.5 kB / 0.7321 GB, free: 4.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.318e-05/0.3599, allocations: 15.94 kB / 0.7321 GB, free: 4.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3599, allocations: 0 / 0.7321 GB, free: 4.262 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-06/0.3599, allocations: 3.938 kB / 0.7321 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3602, allocations: 467.9 kB / 0.7326 GB, free: 3.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.3605, allocations: 241.1 kB / 0.7328 GB, free: 3.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.3607, allocations: 0.6963 MB / 0.7335 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.3607, allocations: 4 kB / 0.7335 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.851e-05/0.3607, allocations: 11.44 kB / 0.7335 GB, free: 2.797 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.3607, allocations: 0 / 0.7335 GB, free: 2.797 MB / 0.545 GB Notification: Performance of Templates: time 0.001765/0.3625, allocations: 435.4 kB / 0.7339 GB, free: 2.375 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)