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.001048/0.001048, allocations: 97.64 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.007181/0.007182, allocations: 170.1 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.713/1.713, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.625/1.625, allocations: 252 MB / 0.5105 GB, free: 4.613 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.0006363/0.0006366, allocations: 12.47 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4948, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002283/0.4972, allocations: 1.624 MB / 0.7303 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003999/0.5012, allocations: 3.392 MB / 0.7336 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.5013, allocations: 4 kB / 0.7336 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.5016, allocations: 39.75 kB / 0.7337 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.502, allocations: 127.4 kB / 0.7338 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.634e-05/0.502, allocations: 19.98 kB / 0.7338 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.5023, allocations: 187.2 kB / 0.734 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.5024, allocations: 29.66 kB / 0.734 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.5026, allocations: 75.7 kB / 0.7341 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.5028, allocations: 79.55 kB / 0.7342 GB, free: 5.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.5028, allocations: 4 kB / 0.7342 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.5029, allocations: 19.98 kB / 0.7342 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.23e-05/0.503, allocations: 43.77 kB / 0.7342 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.971e-05/0.5031, allocations: 97.25 kB / 0.7343 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.5033, allocations: 163.3 kB / 0.7345 GB, free: 5.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5033, allocations: 0 / 0.7345 GB, free: 5.312 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5033, allocations: 0 / 0.7345 GB, free: 5.312 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5033, allocations: 0 / 0.7345 GB, free: 5.312 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.000865/0.5042, allocations: 0.4908 MB / 0.735 GB, free: 4.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5043, allocations: 8.031 kB / 0.735 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.5043, allocations: 20.66 kB / 0.735 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.5047, allocations: 250.8 kB / 0.7352 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5047, allocations: 384 / 0.7352 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.5047, allocations: 8.375 kB / 0.7352 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.5051, allocations: 145.7 kB / 0.7354 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5051, allocations: 4 kB / 0.7354 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.5051, allocations: 11.94 kB / 0.7354 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.5052, allocations: 8 kB / 0.7354 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.5056, allocations: 159.9 kB / 0.7355 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.5063, allocations: 468.4 kB / 0.736 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.5068, allocations: 185.6 kB / 0.7362 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.5071, allocations: 113 kB / 0.7363 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.5071, allocations: 4 kB / 0.7363 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5071, allocations: 38.56 kB / 0.7363 GB, free: 3.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.5071, allocations: 3.938 kB / 0.7363 GB, free: 3.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008801/0.508, allocations: 317.4 kB / 0.7366 GB, free: 2.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.5081, allocations: 51.41 kB / 0.7367 GB, free: 2.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5083, allocations: 217 kB / 0.7369 GB, free: 2.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.5083, allocations: 29.64 kB / 0.7369 GB, free: 2.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.5084, allocations: 116.1 kB / 0.737 GB, free: 2.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.5085, allocations: 55.28 kB / 0.7371 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.5085, allocations: 13.72 kB / 0.7371 GB, free: 2.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5087, allocations: 342.8 kB / 0.7374 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.5089, allocations: 75.94 kB / 0.7375 GB, free: 2.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.5092, allocations: 83.94 kB / 0.7376 GB, free: 1.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.5096, allocations: 195.5 kB / 0.7377 GB, free: 1.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5096, allocations: 0 / 0.7377 GB, free: 1.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005351/0.5102, allocations: 229.4 kB / 0.738 GB, free: 1.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5102, allocations: 4 kB / 0.738 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5102, allocations: 0 / 0.738 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5102, allocations: 0 / 0.738 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.5105, allocations: 39.97 kB / 0.738 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5105, allocations: 0 / 0.738 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.5107, allocations: 27.81 kB / 0.738 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5107, allocations: 4 kB / 0.738 GB, free: 1.438 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.0001311/0.5108, allocations: 133.8 kB / 0.7382 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.5109, allocations: 19.81 kB / 0.7382 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.5109, allocations: 21.84 kB / 0.7382 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.511, allocations: 4 kB / 0.7382 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.511, allocations: 3.984 kB / 0.7382 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.511, allocations: 0 / 0.7382 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.5113, allocations: 269.3 kB / 0.7385 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5113, allocations: 3.938 kB / 0.7385 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.5115, allocations: 39.97 kB / 0.7385 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5115, allocations: 4 kB / 0.7385 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5115, allocations: 3.984 kB / 0.7385 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5116, allocations: 7.938 kB / 0.7385 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5116, allocations: 0 / 0.7385 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.5121, allocations: 331.2 kB / 0.7388 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.5123, allocations: 116.8 kB / 0.739 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.5123, allocations: 0 / 0.739 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.5125, allocations: 19.98 kB / 0.739 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.5126, allocations: 11.98 kB / 0.739 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.5126, allocations: 7.984 kB / 0.739 GB, free: 368 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001224/0.5127, allocations: 156.5 kB / 0.7391 GB, free: 212 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5127, allocations: 0 / 0.7391 GB, free: 212 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002765/0.513, allocations: 39.94 kB / 0.7392 GB, free: 172 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.000154/0.5132, allocations: 111.2 kB / 0.7393 GB, free: 52 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005434/0.5137, allocations: 187.9 kB / 0.7395 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5137, allocations: 0 / 0.7395 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.514, allocations: 112.7 kB / 0.7396 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.5144, allocations: 27.05 kB / 0.7396 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.5152, allocations: 0.5015 MB / 0.7401 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.5155, allocations: 0.7316 MB / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.5157, allocations: 52.58 kB / 0.7408 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.5158, allocations: 19.42 kB / 0.7409 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5158, allocations: 3.938 kB / 0.7409 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.00426/0.52, allocations: 1.64 MB / 0.7425 GB, free: 12.77 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: