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.001316/0.001316, allocations: 98.27 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.01139/0.01139, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.816/1.816, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.617/1.617, allocations: 252 MB / 0.5105 GB, free: 4.672 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.0006386/0.0006386, allocations: 12 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5452, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002438/0.5477, allocations: 1.62 MB / 0.7303 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004512/0.5523, allocations: 3.388 MB / 0.7336 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.5525, allocations: 0 / 0.7336 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.5528, allocations: 47.75 kB / 0.7337 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.5533, allocations: 115.4 kB / 0.7338 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.419e-05/0.5534, allocations: 23.97 kB / 0.7338 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.5537, allocations: 183.2 kB / 0.734 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.5538, allocations: 29.66 kB / 0.734 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.554, allocations: 67.72 kB / 0.7341 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.5542, allocations: 79.61 kB / 0.7341 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.5543, allocations: 4 kB / 0.7341 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.5544, allocations: 23.92 kB / 0.7342 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.5545, allocations: 31.84 kB / 0.7342 GB, free: 5.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.283e-05/0.5546, allocations: 97.23 kB / 0.7343 GB, free: 5.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.5548, allocations: 147.4 kB / 0.7344 GB, free: 5.422 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5548, allocations: 3.938 kB / 0.7344 GB, free: 5.418 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5548, allocations: 3.938 kB / 0.7344 GB, free: 5.414 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5548, allocations: 4 kB / 0.7344 GB, free: 5.41 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.0008831/0.5557, allocations: 494.6 kB / 0.7349 GB, free: 4.879 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5558, allocations: 16.03 kB / 0.7349 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.5558, allocations: 20.66 kB / 0.7349 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.5562, allocations: 231 kB / 0.7352 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5562, allocations: 12.36 kB / 0.7352 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.5562, allocations: 384 / 0.7352 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.5566, allocations: 159.6 kB / 0.7353 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5567, allocations: 0 / 0.7353 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.5567, allocations: 8 kB / 0.7353 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.5567, allocations: 11.98 kB / 0.7353 GB, free: 4.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.5572, allocations: 151.9 kB / 0.7355 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.5579, allocations: 452.4 kB / 0.7359 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.5584, allocations: 178.4 kB / 0.7361 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.5586, allocations: 108.8 kB / 0.7362 GB, free: 3.453 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.5587, allocations: 4 kB / 0.7362 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5587, allocations: 34.56 kB / 0.7362 GB, free: 3.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.5587, allocations: 0 / 0.7362 GB, free: 3.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008592/0.5596, allocations: 305.7 kB / 0.7365 GB, free: 3.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.5596, allocations: 55.34 kB / 0.7366 GB, free: 3.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.5598, allocations: 205 kB / 0.7368 GB, free: 2.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.5599, allocations: 37.7 kB / 0.7368 GB, free: 2.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.56, allocations: 124 kB / 0.7369 GB, free: 2.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.56, allocations: 47.28 kB / 0.737 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.5601, allocations: 21.7 kB / 0.737 GB, free: 2.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5602, allocations: 330.8 kB / 0.7373 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.5604, allocations: 79.94 kB / 0.7374 GB, free: 2.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.5607, allocations: 79.94 kB / 0.7375 GB, free: 2.094 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.5612, allocations: 179.2 kB / 0.7376 GB, free: 1.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5612, allocations: 0 / 0.7376 GB, free: 1.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005449/0.5617, allocations: 221.4 kB / 0.7378 GB, free: 1.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5617, allocations: 4 kB / 0.7378 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5618, allocations: 11.94 kB / 0.7379 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5618, allocations: 0 / 0.7379 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.562, allocations: 35.97 kB / 0.7379 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.562, allocations: 0 / 0.7379 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.5622, allocations: 15.98 kB / 0.7379 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.5622, allocations: 11.98 kB / 0.7379 GB, free: 1.617 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.5623, allocations: 129.8 kB / 0.738 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.5624, allocations: 19.72 kB / 0.7381 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.5625, allocations: 25.83 kB / 0.7381 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5625, allocations: 4 kB / 0.7381 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5625, allocations: 0 / 0.7381 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5625, allocations: 0 / 0.7381 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.5628, allocations: 253.5 kB / 0.7383 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5628, allocations: 3.938 kB / 0.7383 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.563, allocations: 39.97 kB / 0.7384 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.563, allocations: 4 kB / 0.7384 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.563, allocations: 3.984 kB / 0.7384 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.563, allocations: 0 / 0.7384 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.563, allocations: 0 / 0.7384 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.5636, allocations: 332.2 kB / 0.7387 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.5638, allocations: 112.8 kB / 0.7388 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.5638, allocations: 8 kB / 0.7388 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.564, allocations: 23.86 kB / 0.7388 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.5641, allocations: 11.98 kB / 0.7388 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.5641, allocations: 0 / 0.7388 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000126/0.5642, allocations: 156.5 kB / 0.739 GB, free: 424 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5642, allocations: 3.938 kB / 0.739 GB, free: 420 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002826/0.5645, allocations: 39.94 kB / 0.739 GB, free: 380 kB / 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 (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.0001675/0.5647, allocations: 107.2 kB / 0.7391 GB, free: 264 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.5652, allocations: 189.2 kB / 0.7393 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5652, allocations: 0 / 0.7393 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.5655, allocations: 99.92 kB / 0.7394 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.5659, allocations: 28.64 kB / 0.7394 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.5667, allocations: 499.4 kB / 0.7399 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.5671, allocations: 0.7278 MB / 0.7406 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.5673, allocations: 52.58 kB / 0.7407 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.5673, allocations: 19.42 kB / 0.7407 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.5673, allocations: 0 / 0.7407 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.004433/0.5718, allocations: 1.532 MB / 0.7422 GB, free: 13.11 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: