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.001069/0.001069, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001236/0.001237, allocations: 177.3 kB / 15.95 MB, free: 216 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.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.531/1.531, allocations: 251.9 MB / 0.51 GB, free: 4.895 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.0005427/0.0005428, allocations: 24 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5889, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002173/0.5911, allocations: 1.538 MB / 0.7295 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.5951, allocations: 3.055 MB / 0.7325 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.5952, allocations: 4 kB / 0.7325 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.5954, allocations: 35.81 kB / 0.7325 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.5959, allocations: 135.5 kB / 0.7326 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.079e-05/0.5959, allocations: 11.98 kB / 0.7326 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.5962, allocations: 119.8 kB / 0.7328 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.5963, allocations: 29.66 kB / 0.7328 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.5965, allocations: 71.69 kB / 0.7329 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.5967, allocations: 67.69 kB / 0.7329 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.5967, allocations: 4 kB / 0.7329 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.5968, allocations: 19.98 kB / 0.7329 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.5969, allocations: 31.84 kB / 0.733 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.5969, allocations: 53.64 kB / 0.733 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.5971, allocations: 115.6 kB / 0.7331 GB, free: 6.176 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5971, allocations: 8 kB / 0.7331 GB, free: 6.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5972, allocations: 0 / 0.7331 GB, free: 6.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5972, allocations: 0 / 0.7331 GB, free: 6.168 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.0009041/0.5981, allocations: 0.4906 MB / 0.7336 GB, free: 5.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5981, allocations: 8.031 kB / 0.7336 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.5982, allocations: 31.66 kB / 0.7337 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.5986, allocations: 237.7 kB / 0.7339 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5986, allocations: 0 / 0.7339 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.5986, allocations: 4 kB / 0.7339 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.599, allocations: 155.9 kB / 0.734 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.599, allocations: 0 / 0.734 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.599, allocations: 4 kB / 0.734 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.599, allocations: 11.98 kB / 0.734 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.5995, allocations: 163.8 kB / 0.7342 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.6003, allocations: 456.6 kB / 0.7346 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.6007, allocations: 178.5 kB / 0.7348 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.6008, allocations: 4 kB / 0.7348 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6008, allocations: 42.45 kB / 0.7349 GB, free: 4.246 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.6008, allocations: 0 / 0.7349 GB, free: 4.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008765/0.6017, allocations: 317.6 kB / 0.7352 GB, free: 3.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.6017, allocations: 51.41 kB / 0.7352 GB, free: 3.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.602, allocations: 217 kB / 0.7354 GB, free: 3.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.602, allocations: 33.64 kB / 0.7354 GB, free: 3.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.6021, allocations: 124 kB / 0.7356 GB, free: 3.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.6021, allocations: 43.36 kB / 0.7356 GB, free: 3.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.6022, allocations: 4 kB / 0.7356 GB, free: 3.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6023, allocations: 330.8 kB / 0.7359 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.6025, allocations: 79.92 kB / 0.736 GB, free: 3.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6028, allocations: 87.88 kB / 0.7361 GB, free: 2.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.603, allocations: 90.44 kB / 0.7362 GB, free: 2.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.603, allocations: 4 kB / 0.7362 GB, free: 2.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005254/0.6035, allocations: 229.4 kB / 0.7364 GB, free: 2.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6036, allocations: 8 kB / 0.7364 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6036, allocations: 3.953 kB / 0.7364 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6036, allocations: 0 / 0.7364 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.6038, allocations: 35.97 kB / 0.7364 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6039, allocations: 3.984 kB / 0.7364 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.604, allocations: 31.81 kB / 0.7365 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.6041, allocations: 8 kB / 0.7365 GB, free: 2.527 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.6042, allocations: 129.8 kB / 0.7366 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.6042, allocations: 15.81 kB / 0.7366 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.6043, allocations: 25.84 kB / 0.7366 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6043, allocations: 3.953 kB / 0.7366 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6043, allocations: 0 / 0.7366 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6043, allocations: 3.984 kB / 0.7367 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.6047, allocations: 269.4 kB / 0.7369 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6047, allocations: 0 / 0.7369 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.6049, allocations: 35.97 kB / 0.7369 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.6049, allocations: 0 / 0.7369 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.6049, allocations: 7.984 kB / 0.737 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.6049, allocations: 0 / 0.737 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.605, allocations: 7.891 kB / 0.737 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.6055, allocations: 331.2 kB / 0.7373 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6057, allocations: 112.7 kB / 0.7374 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.6057, allocations: 4 kB / 0.7374 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.6059, allocations: 19.98 kB / 0.7374 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.606, allocations: 23.92 kB / 0.7374 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.606, allocations: 7.984 kB / 0.7374 GB, free: 1.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001279/0.6061, allocations: 156.4 kB / 0.7376 GB, free: 1.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6061, allocations: 4 kB / 0.7376 GB, free: 1.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000272/0.6064, allocations: 36 kB / 0.7376 GB, free: 1.258 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 (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.0001596/0.6066, allocations: 107.2 kB / 0.7377 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.6071, allocations: 188.5 kB / 0.7379 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6071, allocations: 0 / 0.7379 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.6074, allocations: 109.4 kB / 0.738 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.6077, allocations: 31.62 kB / 0.738 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.6085, allocations: 493.5 kB / 0.7385 GB, free: 332 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.6088, allocations: 0.7355 MB / 0.7392 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.609, allocations: 44.61 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.6091, allocations: 23.42 kB / 0.7393 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.6091, allocations: 0 / 0.7393 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.004408/0.6135, allocations: 1.581 MB / 0.7408 GB, free: 13.94 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: