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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001144/0.001144, allocations: 196.2 kB / 16.14 MB, free: 6.664 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.448/1.448, allocations: 205.1 MB / 222 MB, free: 4.777 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.479/1.479, allocations: 251.7 MB / 0.5088 GB, free: 3.367 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.002321/0.002321, allocations: 71.91 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5339, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003757/0.5377, allocations: 2.071 MB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00448/0.5422, allocations: 3.68 MB / 0.7294 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.5424, allocations: 4 kB / 0.7294 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.5427, allocations: 43.73 kB / 0.7295 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.5431, allocations: 103.3 kB / 0.7296 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.5434, allocations: 103.8 kB / 0.7297 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.5437, allocations: 247 kB / 0.7299 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.5439, allocations: 40.39 kB / 0.7299 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.5441, allocations: 107.6 kB / 0.73 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.5443, allocations: 111.5 kB / 0.7302 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.5443, allocations: 8 kB / 0.7302 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.5446, allocations: 103.8 kB / 0.7303 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.5446, allocations: 51.69 kB / 0.7303 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.5447, allocations: 91.45 kB / 0.7304 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.5451, allocations: 267.1 kB / 0.7307 GB, free: 6.152 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5451, allocations: 0 / 0.7307 GB, free: 6.152 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5451, allocations: 0 / 0.7307 GB, free: 6.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5452, allocations: 4 kB / 0.7307 GB, free: 6.148 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.001336/0.5465, allocations: 0.5762 MB / 0.7312 GB, free: 5.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5466, allocations: 12.03 kB / 0.7312 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.22e-05/0.5467, allocations: 24.66 kB / 0.7313 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.5472, allocations: 279.5 kB / 0.7315 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.5472, allocations: 4.375 kB / 0.7315 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5472, allocations: 8.375 kB / 0.7315 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.5477, allocations: 169.7 kB / 0.7317 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5478, allocations: 4 kB / 0.7317 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5478, allocations: 4 kB / 0.7317 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.5478, allocations: 0 / 0.7317 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006739/0.5485, allocations: 191.8 kB / 0.7319 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.5494, allocations: 492.4 kB / 0.7324 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.5498, allocations: 118.5 kB / 0.7325 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.5502, allocations: 112.8 kB / 0.7326 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/0.5511, allocations: 0.5532 MB / 0.7331 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.5511, allocations: 30.56 kB / 0.7331 GB, free: 3.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.5511, allocations: 0 / 0.7331 GB, free: 3.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001163/0.5523, allocations: 361.2 kB / 0.7335 GB, free: 2.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.5524, allocations: 51.41 kB / 0.7335 GB, free: 2.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.5526, allocations: 242.7 kB / 0.7338 GB, free: 2.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5526, allocations: 25.7 kB / 0.7338 GB, free: 2.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.5527, allocations: 143.9 kB / 0.7339 GB, free: 2.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.5528, allocations: 35.45 kB / 0.734 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.5528, allocations: 29.7 kB / 0.734 GB, free: 2.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.553, allocations: 334.8 kB / 0.7343 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.5533, allocations: 95.91 kB / 0.7344 GB, free: 1.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.5537, allocations: 99.84 kB / 0.7345 GB, free: 1.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.5543, allocations: 200.6 kB / 0.7347 GB, free: 1.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5543, allocations: 0 / 0.7347 GB, free: 1.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007266/0.5551, allocations: 257.2 kB / 0.7349 GB, free: 1.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5551, allocations: 4 kB / 0.7349 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5551, allocations: 3.984 kB / 0.7349 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5551, allocations: 0 / 0.7349 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.5554, allocations: 51.88 kB / 0.735 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.5555, allocations: 3.938 kB / 0.735 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5557, allocations: 31.97 kB / 0.735 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.5557, allocations: 3.984 kB / 0.735 GB, free: 1.332 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 (11): * Single equations (assignments): 11 * 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.0001249/0.5558, allocations: 121.8 kB / 0.7351 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.5559, allocations: 23.72 kB / 0.7352 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008434/0.5567, allocations: 287 kB / 0.7354 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.5568, allocations: 0 / 0.7354 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5568, allocations: 7.875 kB / 0.7354 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5568, allocations: 4 kB / 0.7355 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.5571, allocations: 273.4 kB / 0.7357 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5571, allocations: 0 / 0.7357 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.5574, allocations: 47.94 kB / 0.7358 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5574, allocations: 0 / 0.7358 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.5575, allocations: 7.984 kB / 0.7358 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5575, allocations: 4 kB / 0.7358 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5575, allocations: 3.938 kB / 0.7358 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/0.5583, allocations: 348 kB / 0.7361 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.5584, allocations: 112.8 kB / 0.7362 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.5584, allocations: 11.94 kB / 0.7362 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.5587, allocations: 23.97 kB / 0.7362 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.5588, allocations: 23.91 kB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.5588, allocations: 3.984 kB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001431/0.559, allocations: 170 kB / 0.7364 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.559, allocations: 0 / 0.7364 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003221/0.5593, allocations: 63.84 kB / 0.7365 GB, free: 15.73 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 (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.0002348/0.5595, allocations: 127.2 kB / 0.7366 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007409/0.5603, allocations: 223.7 kB / 0.7368 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5603, allocations: 0 / 0.7368 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.5606, allocations: 119.9 kB / 0.7369 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.5611, allocations: 30.89 kB / 0.737 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.5621, allocations: 492.1 kB / 0.7374 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5624, allocations: 0.7355 MB / 0.7382 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.5626, allocations: 32.84 kB / 0.7382 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.5627, allocations: 19.42 kB / 0.7382 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.5627, allocations: 0 / 0.7382 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.005409/0.5681, allocations: 2.391 MB / 0.7405 GB, free: 11.56 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (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)