Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009671, allocations: 91.84 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.001154/0.001154, 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.525/1.525, allocations: 252 MB / 0.5102 GB, free: 4.695 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.0005367/0.0005372, allocations: 16 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5444/0.545, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002313/0.5473, allocations: 1.777 MB / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.5516, allocations: 3.554 MB / 0.7333 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.5518, allocations: 0 / 0.7333 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.5521, allocations: 47.69 kB / 0.7334 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.5524, allocations: 111.3 kB / 0.7335 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.5528, allocations: 115.7 kB / 0.7336 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.5532, allocations: 270.9 kB / 0.7339 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.5533, allocations: 48.89 kB / 0.7339 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.5535, allocations: 115.5 kB / 0.734 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.5537, allocations: 123.4 kB / 0.7341 GB, free: 5.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.5538, allocations: 12 kB / 0.7341 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.554, allocations: 119.8 kB / 0.7343 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.5541, allocations: 47.83 kB / 0.7343 GB, free: 5.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.5542, allocations: 61.58 kB / 0.7344 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.5545, allocations: 219.4 kB / 0.7346 GB, free: 4.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.5545, allocations: 0 / 0.7346 GB, free: 4.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5545, allocations: 3.938 kB / 0.7346 GB, free: 4.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5546, allocations: 3.938 kB / 0.7346 GB, free: 4.742 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001301/0.5559, allocations: 0.6232 MB / 0.7352 GB, free: 4.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5559, allocations: 8.031 kB / 0.7352 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/0.5568, allocations: 159.4 kB / 0.7354 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.5575, allocations: 327.2 kB / 0.7357 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5575, allocations: 8.188 kB / 0.7357 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.5576, allocations: 8 kB / 0.7357 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.5582, allocations: 257.7 kB / 0.7359 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5583, allocations: 3.938 kB / 0.7359 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.5583, allocations: 8 kB / 0.7359 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5583, allocations: 4 kB / 0.7359 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/0.5593, allocations: 340.2 kB / 0.7363 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.5606, allocations: 0.6061 MB / 0.7369 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.5611, allocations: 198.5 kB / 0.737 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.5615, allocations: 188.7 kB / 0.7372 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008329/0.5624, allocations: 0.5689 MB / 0.7378 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5624, allocations: 34.55 kB / 0.7378 GB, free: 1.156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.5624, allocations: 4 kB / 0.7378 GB, free: 1.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001564/0.564, allocations: 0.5672 MB / 0.7384 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.5641, allocations: 51.41 kB / 0.7384 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.5643, allocations: 264.6 kB / 0.7387 GB, free: 256 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.5643, allocations: 25.7 kB / 0.7387 GB, free: 224 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5644, allocations: 152 kB / 0.7388 GB, free: 68 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.5645, allocations: 47.28 kB / 0.7389 GB, free: 20 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.5645, allocations: 4 kB / 0.7389 GB, free: 16 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5647, allocations: 342.8 kB / 0.7392 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.5651, allocations: 171.9 kB / 0.7394 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.5656, allocations: 177.4 kB / 0.7396 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.5661, allocations: 179.9 kB / 0.7397 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5661, allocations: 0 / 0.7397 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00104/0.5672, allocations: 431 kB / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5672, allocations: 4 kB / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5672, allocations: 0 / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5672, allocations: 3.984 kB / 0.7401 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.5677, allocations: 79.92 kB / 0.7402 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5677, allocations: 0 / 0.7402 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.568, allocations: 63.8 kB / 0.7403 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.568, allocations: 11.92 kB / 0.7403 GB, free: 14.57 MB / 0.5606 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 (17): * Single equations (assignments): 17 * 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.0001249/0.5681, allocations: 133.7 kB / 0.7404 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.5682, allocations: 31.61 kB / 0.7404 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.5693, allocations: 439.6 kB / 0.7409 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5694, allocations: 4 kB / 0.7409 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5694, allocations: 3.938 kB / 0.7409 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5694, allocations: 0 / 0.7409 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.5697, allocations: 301.4 kB / 0.7412 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5697, allocations: 3.984 kB / 0.7412 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.5701, allocations: 75.86 kB / 0.7412 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5701, allocations: 4 kB / 0.7412 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.5701, allocations: 4 kB / 0.7412 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5702, allocations: 3.984 kB / 0.7412 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5702, allocations: 4 kB / 0.7413 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.5712, allocations: 0.5002 MB / 0.7417 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.5713, allocations: 120.7 kB / 0.7419 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.5714, allocations: 7.984 kB / 0.7419 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.5717, allocations: 47.95 kB / 0.7419 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.5718, allocations: 19.97 kB / 0.7419 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.5718, allocations: 4 kB / 0.7419 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001628/0.572, allocations: 183.1 kB / 0.7421 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.572, allocations: 0 / 0.7421 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003366/0.5723, allocations: 71.98 kB / 0.7422 GB, free: 12.54 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 (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.0002107/0.5725, allocations: 123.2 kB / 0.7423 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.5736, allocations: 379.7 kB / 0.7427 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.5736, allocations: 0 / 0.7427 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.5741, allocations: 201.8 kB / 0.7428 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.5745, allocations: 36.53 kB / 0.7429 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.5755, allocations: 0.5842 MB / 0.7435 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.5759, allocations: 0.7477 MB / 0.7442 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002494/0.5761, allocations: 45.39 kB / 0.7442 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.5762, allocations: 19.42 kB / 0.7442 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5762, allocations: 0 / 0.7442 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.006311/0.5825, allocations: 2.861 MB / 0.747 GB, free: 7.535 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) Environment - environmentSimulation: