Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001258/0.001258, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.51/1.51, allocations: 251.9 MB / 0.51 GB, free: 4.898 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.0005802/0.0005802, allocations: 16 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5581/0.5587, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002237/0.561, allocations: 1.538 MB / 0.7295 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003831/0.5649, allocations: 3.04 MB / 0.7324 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.565, allocations: 0 / 0.7324 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.5652, allocations: 43.8 kB / 0.7325 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.5656, allocations: 123.6 kB / 0.7326 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.518e-05/0.5657, allocations: 23.95 kB / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.5659, allocations: 115.7 kB / 0.7327 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.566, allocations: 25.67 kB / 0.7328 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.5662, allocations: 59.77 kB / 0.7328 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.5664, allocations: 67.69 kB / 0.7329 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.5664, allocations: 4 kB / 0.7329 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-05/0.5665, allocations: 23.92 kB / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.5666, allocations: 31.89 kB / 0.7329 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.5666, allocations: 57.52 kB / 0.733 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.5668, allocations: 111.6 kB / 0.7331 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.5668, allocations: 8 kB / 0.7331 GB, free: 6.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5668, allocations: 0 / 0.7331 GB, free: 6.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.5668, allocations: 0 / 0.7331 GB, free: 6.141 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008602/0.5677, allocations: 494.5 kB / 0.7336 GB, free: 5.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5677, allocations: 8.031 kB / 0.7336 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.5678, allocations: 27.67 kB / 0.7336 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.5682, allocations: 229.8 kB / 0.7338 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5682, allocations: 0 / 0.7338 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.5682, allocations: 4 kB / 0.7338 GB, free: 5.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.5686, allocations: 161.4 kB / 0.734 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5686, allocations: 0 / 0.734 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.5686, allocations: 0 / 0.734 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.5687, allocations: 15.98 kB / 0.734 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.5691, allocations: 147.8 kB / 0.7342 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.5698, allocations: 448.6 kB / 0.7346 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.5702, allocations: 174.4 kB / 0.7347 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.5703, allocations: 0 / 0.7347 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.875e-05/0.5703, allocations: 38.52 kB / 0.7348 GB, free: 4.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.5704, allocations: 0 / 0.7348 GB, free: 4.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008412/0.5712, allocations: 308.6 kB / 0.7351 GB, free: 3.961 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5713, allocations: 59.28 kB / 0.7351 GB, free: 3.891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.5715, allocations: 209 kB / 0.7353 GB, free: 3.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.5715, allocations: 25.7 kB / 0.7354 GB, free: 3.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.5716, allocations: 124 kB / 0.7355 GB, free: 3.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.5716, allocations: 47.36 kB / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.5716, allocations: 0 / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5718, allocations: 334.8 kB / 0.7358 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.572, allocations: 75.94 kB / 0.7359 GB, free: 3.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.5722, allocations: 83.94 kB / 0.736 GB, free: 2.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.5725, allocations: 79.94 kB / 0.7361 GB, free: 2.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5725, allocations: 0 / 0.7361 GB, free: 2.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005051/0.573, allocations: 230.1 kB / 0.7363 GB, free: 2.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.573, allocations: 5.875 kB / 0.7363 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.573, allocations: 3.953 kB / 0.7363 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.573, allocations: 0 / 0.7363 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.5733, allocations: 39.91 kB / 0.7363 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5733, allocations: 0 / 0.7363 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.5735, allocations: 23.98 kB / 0.7364 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.5735, allocations: 7.984 kB / 0.7364 GB, free: 2.594 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.5736, allocations: 121.8 kB / 0.7365 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.5737, allocations: 23.66 kB / 0.7365 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.5738, allocations: 33.83 kB / 0.7365 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.5738, allocations: 3.953 kB / 0.7365 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5738, allocations: 0 / 0.7365 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5738, allocations: 0 / 0.7365 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.5741, allocations: 261.5 kB / 0.7368 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5741, allocations: 4 kB / 0.7368 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.5743, allocations: 39.91 kB / 0.7368 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5743, allocations: 0 / 0.7368 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5743, allocations: 7.984 kB / 0.7368 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5743, allocations: 0 / 0.7368 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5743, allocations: 3.953 kB / 0.7368 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.5749, allocations: 324.9 kB / 0.7372 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.575, allocations: 112.9 kB / 0.7373 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.5751, allocations: 0 / 0.7373 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.5753, allocations: 19.98 kB / 0.7373 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.5753, allocations: 15.88 kB / 0.7373 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.5754, allocations: 7.938 kB / 0.7373 GB, free: 1.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001343/0.5755, allocations: 152.5 kB / 0.7374 GB, free: 1.387 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5755, allocations: 0 / 0.7374 GB, free: 1.387 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002774/0.5758, allocations: 47.94 kB / 0.7375 GB, free: 1.34 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001935/0.576, allocations: 103.2 kB / 0.7376 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.5765, allocations: 183.8 kB / 0.7378 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5765, allocations: 0 / 0.7378 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.5768, allocations: 95.92 kB / 0.7379 GB, free: 0.957 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.5771, allocations: 30.56 kB / 0.7379 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/0.578, allocations: 481.3 kB / 0.7383 GB, free: 452 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.5783, allocations: 0.7355 MB / 0.7391 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.5785, allocations: 48.59 kB / 0.7391 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.5786, allocations: 15.42 kB / 0.7391 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.5786, allocations: 0 / 0.7391 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.004565/0.5832, allocations: 1.477 MB / 0.7406 GB, free: 14.16 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) Environment - environmentSimulation: