Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009655/0.0009655, allocations: 92 kB / 15.06 MB, free: 1.098 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.0009589/0.0009592, allocations: 172.7 kB / 15.95 MB, free: 208 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.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.543/1.543, allocations: 252 MB / 0.5102 GB, free: 4.879 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.000509/0.0005092, allocations: 12 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5388, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002134/0.541, allocations: 1.663 MB / 0.7298 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003828/0.5449, allocations: 3.468 MB / 0.7331 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.545, allocations: 0 / 0.7331 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.5452, allocations: 39.75 kB / 0.7332 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.5455, allocations: 99.41 kB / 0.7333 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.5459, allocations: 103.8 kB / 0.7334 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.5462, allocations: 219.1 kB / 0.7336 GB, free: 5.844 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.5463, allocations: 44.55 kB / 0.7336 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.5466, allocations: 87.62 kB / 0.7337 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.5467, allocations: 107.5 kB / 0.7338 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.5468, allocations: 8 kB / 0.7338 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.547, allocations: 107.8 kB / 0.7339 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.5471, allocations: 35.84 kB / 0.734 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.5471, allocations: 53.58 kB / 0.734 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.5474, allocations: 183.5 kB / 0.7342 GB, free: 5.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5474, allocations: 0 / 0.7342 GB, free: 5.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5474, allocations: 0 / 0.7342 GB, free: 5.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5474, allocations: 7.938 kB / 0.7342 GB, free: 5.211 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00111/0.5485, allocations: 0.5724 MB / 0.7347 GB, free: 4.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5486, allocations: 16.02 kB / 0.7348 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.5487, allocations: 19.72 kB / 0.7348 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.5491, allocations: 254.6 kB / 0.735 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.5491, allocations: 7.938 kB / 0.735 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.5492, allocations: 12 kB / 0.735 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.5497, allocations: 197.5 kB / 0.7352 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5497, allocations: 0 / 0.7352 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.5497, allocations: 0 / 0.7352 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5497, allocations: 0 / 0.7352 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.5504, allocations: 235.8 kB / 0.7355 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.5513, allocations: 0.4963 MB / 0.7359 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.5517, allocations: 146.6 kB / 0.7361 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.5521, allocations: 133 kB / 0.7362 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008517/0.5529, allocations: 0.5805 MB / 0.7368 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.553, allocations: 30.56 kB / 0.7368 GB, free: 2.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.553, allocations: 0 / 0.7368 GB, free: 2.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001133/0.5541, allocations: 425 kB / 0.7372 GB, free: 1.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.5542, allocations: 55.41 kB / 0.7373 GB, free: 1.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.5544, allocations: 222.7 kB / 0.7375 GB, free: 1.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.5544, allocations: 33.7 kB / 0.7375 GB, free: 1.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.5545, allocations: 136.1 kB / 0.7376 GB, free: 1.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.5546, allocations: 39.39 kB / 0.7377 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.5546, allocations: 0 / 0.7377 GB, free: 1.328 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5547, allocations: 334.8 kB / 0.738 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.555, allocations: 119.8 kB / 0.7381 GB, free: 0.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.5553, allocations: 119.9 kB / 0.7382 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.5557, allocations: 115.9 kB / 0.7383 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5557, allocations: 0 / 0.7383 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007143/0.5564, allocations: 309.1 kB / 0.7386 GB, free: 344 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5564, allocations: 4 kB / 0.7386 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5564, allocations: 0 / 0.7386 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5564, allocations: 0 / 0.7386 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.5568, allocations: 59.88 kB / 0.7387 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.5568, allocations: 0 / 0.7387 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.557, allocations: 39.88 kB / 0.7387 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.557, allocations: 4 kB / 0.7387 GB, free: 236 kB / 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 (11): * Single equations (assignments): 11 * 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.0001271/0.5571, allocations: 133.8 kB / 0.7389 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.5572, allocations: 23.77 kB / 0.7389 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008311/0.558, allocations: 323.1 kB / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.558, allocations: 4 kB / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.558, allocations: 0 / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5581, allocations: 0 / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.5584, allocations: 277.4 kB / 0.7395 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5584, allocations: 0 / 0.7395 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.5587, allocations: 67.86 kB / 0.7395 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5587, allocations: 3.938 kB / 0.7395 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.5587, allocations: 7.938 kB / 0.7395 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5587, allocations: 4 kB / 0.7395 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5587, allocations: 0 / 0.7395 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007847/0.5595, allocations: 400 kB / 0.7399 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5596, allocations: 120.7 kB / 0.74 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.5597, allocations: 4 kB / 0.74 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.5599, allocations: 43.86 kB / 0.7401 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.56, allocations: 11.97 kB / 0.7401 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.56, allocations: 8 kB / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001458/0.5601, allocations: 170 kB / 0.7403 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5601, allocations: 0 / 0.7403 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003244/0.5605, allocations: 52 kB / 0.7403 GB, free: 14.52 MB / 0.5606 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 (11): * Single equations (assignments): 11 * 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.0002391/0.5607, allocations: 135.1 kB / 0.7404 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007858/0.5615, allocations: 255.9 kB / 0.7407 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5615, allocations: 4 kB / 0.7407 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.5619, allocations: 144 kB / 0.7408 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.5624, allocations: 28.55 kB / 0.7408 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5635, allocations: 493 kB / 0.7413 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.564, allocations: 0.7394 MB / 0.742 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.5642, allocations: 36.84 kB / 0.7421 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.5643, allocations: 19.42 kB / 0.7421 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.5643, allocations: 0 / 0.7421 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.006036/0.5703, allocations: 2.312 MB / 0.7444 GB, free: 10.34 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) Environment - environmentSimulation: