Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001701/0.001702, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.629/1.629, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.489/1.489, allocations: 251.6 MB / 0.5089 GB, free: 3.344 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.001314/0.001314, allocations: 67.89 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5577, allocations: 104.7 MB / 0.724 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003094/0.5608, allocations: 1.97 MB / 0.7259 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003478/0.5643, allocations: 3.431 MB / 0.7293 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.5644, allocations: 3.938 kB / 0.7293 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.5647, allocations: 43.81 kB / 0.7293 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.5651, allocations: 127.3 kB / 0.7294 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.548e-05/0.5652, allocations: 15.98 kB / 0.7294 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.5654, allocations: 183.2 kB / 0.7296 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.5655, allocations: 25.69 kB / 0.7296 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.5657, allocations: 83.69 kB / 0.7297 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.5659, allocations: 83.56 kB / 0.7298 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.5659, allocations: 12 kB / 0.7298 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.566, allocations: 35.95 kB / 0.7298 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.566, allocations: 31.84 kB / 0.7299 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.5661, allocations: 79.48 kB / 0.73 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.5663, allocations: 171.4 kB / 0.7301 GB, free: 6.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5664, allocations: 0 / 0.7301 GB, free: 6.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5664, allocations: 0 / 0.7301 GB, free: 6.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5664, allocations: 0 / 0.7301 GB, free: 6.938 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.0008412/0.5672, allocations: 0.5023 MB / 0.7306 GB, free: 6.387 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5673, allocations: 8.031 kB / 0.7306 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.5673, allocations: 20.66 kB / 0.7306 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.5676, allocations: 246.9 kB / 0.7309 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.5677, allocations: 384 / 0.7309 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.5677, allocations: 12.3 kB / 0.7309 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.568, allocations: 145.7 kB / 0.731 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.5681, allocations: 3.938 kB / 0.731 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.5681, allocations: 0 / 0.731 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.5681, allocations: 15.98 kB / 0.731 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.5685, allocations: 139.9 kB / 0.7312 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.5692, allocations: 460.4 kB / 0.7316 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.5696, allocations: 174.5 kB / 0.7318 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.5699, allocations: 104.8 kB / 0.7319 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5699, allocations: 0 / 0.7319 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5699, allocations: 34.56 kB / 0.7319 GB, free: 4.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 8.12e-07/0.5699, allocations: 4 kB / 0.7319 GB, free: 4.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007922/0.5707, allocations: 292.5 kB / 0.7322 GB, free: 4.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.5708, allocations: 55.41 kB / 0.7322 GB, free: 4.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.571, allocations: 213 kB / 0.7325 GB, free: 4.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.571, allocations: 29.7 kB / 0.7325 GB, free: 4.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.5711, allocations: 128 kB / 0.7326 GB, free: 4.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.5711, allocations: 47.31 kB / 0.7326 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.5712, allocations: 29.69 kB / 0.7327 GB, free: 4.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5713, allocations: 330.8 kB / 0.733 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.5715, allocations: 79.94 kB / 0.7331 GB, free: 3.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5718, allocations: 79.92 kB / 0.7331 GB, free: 3.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.5722, allocations: 160.8 kB / 0.7333 GB, free: 3.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5722, allocations: 4 kB / 0.7333 GB, free: 3.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004789/0.5727, allocations: 212.2 kB / 0.7335 GB, free: 3.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5727, allocations: 8 kB / 0.7335 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5727, allocations: 0 / 0.7335 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5727, allocations: 0 / 0.7335 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.573, allocations: 39.95 kB / 0.7335 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.573, allocations: 0 / 0.7335 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.5731, allocations: 19.89 kB / 0.7336 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.5732, allocations: 4 kB / 0.7336 GB, free: 3.176 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.0001042/0.5733, allocations: 133.7 kB / 0.7337 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.5733, allocations: 15.81 kB / 0.7337 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.5734, allocations: 33.81 kB / 0.7337 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5734, allocations: 8 kB / 0.7338 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5734, allocations: 0 / 0.7338 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5734, allocations: 0 / 0.7338 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.5737, allocations: 273.2 kB / 0.734 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5737, allocations: 0 / 0.734 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.5739, allocations: 35.95 kB / 0.734 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5739, allocations: 0 / 0.734 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.5739, allocations: 8 kB / 0.7341 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5739, allocations: 0 / 0.7341 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5739, allocations: 0 / 0.7341 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.5745, allocations: 323.1 kB / 0.7344 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.274e-05/0.5746, allocations: 108.9 kB / 0.7345 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.5746, allocations: 0 / 0.7345 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.5748, allocations: 19.97 kB / 0.7345 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.5749, allocations: 15.98 kB / 0.7345 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.5749, allocations: 4 kB / 0.7345 GB, free: 2.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001203/0.575, allocations: 160.5 kB / 0.7347 GB, free: 1.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.575, allocations: 0 / 0.7347 GB, free: 1.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002651/0.5753, allocations: 39.84 kB / 0.7347 GB, free: 1.922 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 (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.000152/0.5755, allocations: 103.2 kB / 0.7348 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.576, allocations: 191.8 kB / 0.735 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.576, allocations: 0 / 0.735 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.5762, allocations: 95.86 kB / 0.7351 GB, free: 1.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.5766, allocations: 32.36 kB / 0.7351 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008112/0.5774, allocations: 479.3 kB / 0.7356 GB, free: 1.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5778, allocations: 0.7314 MB / 0.7363 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000174/0.578, allocations: 48.59 kB / 0.7363 GB, free: 208 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.578, allocations: 23.42 kB / 0.7363 GB, free: 184 kB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.578, allocations: 0 / 0.7363 GB, free: 184 kB / 0.545 GB Notification: Performance of Templates: time 0.004185/0.5822, allocations: 1.742 MB / 0.738 GB, free: 14.47 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)