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.01306/0.01306, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00229/0.00229, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.676/1.676, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.413/1.413, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.001541/0.001541, allocations: 71.91 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5907, allocations: 104.7 MB / 0.828 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003153/0.5939, allocations: 1.911 MB / 0.8299 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003921/0.5978, allocations: 3.459 MB / 0.8333 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.378e-05/0.5979, allocations: 3.938 kB / 0.8333 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.5982, allocations: 55.61 kB / 0.8333 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.5987, allocations: 131.3 kB / 0.8335 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 7.89e-05/0.5988, allocations: 27.84 kB / 0.8335 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.599, allocations: 175.3 kB / 0.8337 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.5991, allocations: 27.92 kB / 0.8337 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.5993, allocations: 91.56 kB / 0.8338 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.5995, allocations: 87.67 kB / 0.8339 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.5995, allocations: 11.94 kB / 0.8339 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.5996, allocations: 31.92 kB / 0.8339 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.5997, allocations: 35.91 kB / 0.8339 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.5998, allocations: 79.47 kB / 0.834 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.6, allocations: 175.2 kB / 0.8342 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6, allocations: 0 / 0.8342 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6, allocations: 0 / 0.8342 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.6, allocations: 0 / 0.8342 GB, free: 12.31 MB / 0.6387 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.0008703/0.6009, allocations: 0.4984 MB / 0.8347 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.6009, allocations: 12.03 kB / 0.8347 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.601, allocations: 20.66 kB / 0.8347 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.6014, allocations: 246.8 kB / 0.8349 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.6014, allocations: 4.359 kB / 0.8349 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.6014, allocations: 8.375 kB / 0.8349 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.6018, allocations: 141.7 kB / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6018, allocations: 0 / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.6018, allocations: 4 kB / 0.8351 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.6018, allocations: 8 kB / 0.8351 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.6023, allocations: 143.9 kB / 0.8352 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.603, allocations: 456.4 kB / 0.8357 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.6034, allocations: 174.5 kB / 0.8358 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.6037, allocations: 104.8 kB / 0.8359 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.6037, allocations: 7.984 kB / 0.8359 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.6037, allocations: 30.56 kB / 0.836 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.6037, allocations: 0 / 0.836 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0008111/0.6045, allocations: 298.6 kB / 0.8362 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.6046, allocations: 51.41 kB / 0.8363 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.6048, allocations: 221 kB / 0.8365 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.6048, allocations: 29.7 kB / 0.8365 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.6049, allocations: 120.1 kB / 0.8366 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.605, allocations: 51.28 kB / 0.8367 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.605, allocations: 29.7 kB / 0.8367 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6052, allocations: 334.8 kB / 0.837 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.6054, allocations: 76.12 kB / 0.8371 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.6056, allocations: 79.94 kB / 0.8372 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.606, allocations: 166.9 kB / 0.8374 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.606, allocations: 0 / 0.8374 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004894/0.6065, allocations: 217.3 kB / 0.8376 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6066, allocations: 4 kB / 0.8376 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6066, allocations: 0 / 0.8376 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6066, allocations: 4 kB / 0.8376 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.6069, allocations: 31.97 kB / 0.8376 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6069, allocations: 4 kB / 0.8376 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.607, allocations: 19.88 kB / 0.8376 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.6071, allocations: 8 kB / 0.8376 GB, free: 8.551 MB / 0.6387 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.0001043/0.6072, allocations: 138.8 kB / 0.8378 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.6072, allocations: 15.81 kB / 0.8378 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.6073, allocations: 21.84 kB / 0.8378 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6073, allocations: 4 kB / 0.8378 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6073, allocations: 4 kB / 0.8378 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6073, allocations: 3.984 kB / 0.8378 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.6076, allocations: 265.3 kB / 0.8381 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6076, allocations: 0 / 0.8381 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.6078, allocations: 35.97 kB / 0.8381 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6079, allocations: 0 / 0.8381 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.6079, allocations: 7.984 kB / 0.8381 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6079, allocations: 0 / 0.8381 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6079, allocations: 0 / 0.8381 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.6085, allocations: 325.7 kB / 0.8384 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.6086, allocations: 108.8 kB / 0.8385 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.6086, allocations: 4 kB / 0.8385 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.6088, allocations: 19.98 kB / 0.8385 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.6089, allocations: 7.984 kB / 0.8385 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.6089, allocations: 11.92 kB / 0.8386 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001322/0.609, allocations: 156.5 kB / 0.8387 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.609, allocations: 0 / 0.8387 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002774/0.6093, allocations: 39.94 kB / 0.8387 GB, free: 7.312 MB / 0.6387 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.000193/0.6095, allocations: 111.2 kB / 0.8389 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.61, allocations: 175.8 kB / 0.839 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.61, allocations: 0 / 0.839 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.6103, allocations: 95.88 kB / 0.8391 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.6107, allocations: 32.34 kB / 0.8391 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.6115, allocations: 433.5 kB / 0.8396 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.6118, allocations: 0.7275 MB / 0.8403 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.6119, allocations: 56.53 kB / 0.8403 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.612, allocations: 19.44 kB / 0.8403 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.612, allocations: 0 / 0.8403 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of Templates: time 0.004821/0.6168, allocations: 1.843 MB / 0.8421 GB, free: 3.801 MB / 0.6387 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)