Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.786/1.786, allocations: 288.4 MB / 304.3 MB, free: 7.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 182.1 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009829/0.000983, allocations: 98.22 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003972, allocations: 12.09 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2259, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9085/1.134, allocations: 363.2 MB / 1.335 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.135, allocations: 89.31 kB / 1.335 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03381/1.169, allocations: 9.521 MB / 1.345 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.169, allocations: 0 / 1.345 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.817e-05/1.169, allocations: 4 kB / 1.345 GB, free: 8.828 MB / 0.8698 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.00109/1.17, allocations: 491.2 kB / 1.345 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.17, allocations: 8.031 kB / 1.345 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/1.17, allocations: 24.66 kB / 1.345 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/1.171, allocations: 256.7 kB / 1.345 GB, free: 8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/1.171, allocations: 4.375 kB / 1.345 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/1.171, allocations: 8.312 kB / 1.346 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/1.171, allocations: 145.3 kB / 1.346 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/1.171, allocations: 192 / 1.346 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/1.171, allocations: 11.25 kB / 1.346 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/1.171, allocations: 8 kB / 1.346 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/1.172, allocations: 164.2 kB / 1.346 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/1.173, allocations: 461.5 kB / 1.346 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/1.174, allocations: 178.1 kB / 1.346 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/1.174, allocations: 117.6 kB / 1.347 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/1.174, allocations: 7.984 kB / 1.347 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/1.174, allocations: 33.94 kB / 1.347 GB, free: 7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/1.174, allocations: 0 / 1.347 GB, free: 7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.001393/1.176, allocations: 321.9 kB / 1.347 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.176, allocations: 51.41 kB / 1.347 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/1.176, allocations: 217.5 kB / 1.347 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/1.176, allocations: 25.7 kB / 1.347 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.176, allocations: 118.8 kB / 1.347 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/1.176, allocations: 45.86 kB / 1.347 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/1.176, allocations: 7.875 kB / 1.347 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.176, allocations: 332.8 kB / 1.348 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/1.177, allocations: 88.94 kB / 1.348 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/1.177, allocations: 84.5 kB / 1.348 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/1.178, allocations: 185.5 kB / 1.348 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.178, allocations: 0 / 1.348 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007993/1.179, allocations: 226.9 kB / 1.348 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.179, allocations: 4 kB / 1.348 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.179, allocations: 0.625 kB / 1.348 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.179, allocations: 4 kB / 1.348 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/1.179, allocations: 39.84 kB / 1.348 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.179, allocations: 4 kB / 1.348 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/1.18, allocations: 31.88 kB / 1.348 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/1.18, allocations: 0 / 1.348 GB, free: 5.438 MB / 0.8698 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.0001631/1.18, allocations: 130.2 kB / 1.348 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/1.18, allocations: 19.8 kB / 1.348 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/1.18, allocations: 23.91 kB / 1.348 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.18, allocations: 0 / 1.348 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.18, allocations: 8 kB / 1.348 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.18, allocations: 3.984 kB / 1.348 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/1.18, allocations: 271.8 kB / 1.349 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.18, allocations: 3.938 kB / 1.349 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/1.181, allocations: 39.91 kB / 1.349 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.181, allocations: 0 / 1.349 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/1.181, allocations: 7.484 kB / 1.349 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.181, allocations: 0 / 1.349 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.181, allocations: 4 kB / 1.349 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008112/1.182, allocations: 333.4 kB / 1.349 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.182, allocations: 115.6 kB / 1.349 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/1.182, allocations: 0 / 1.349 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/1.182, allocations: 19.36 kB / 1.349 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/1.182, allocations: 7.984 kB / 1.349 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/1.182, allocations: 15.97 kB / 1.349 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001896/1.182, allocations: 151.7 kB / 1.349 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.182, allocations: 0 / 1.349 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004772/1.183, allocations: 43.5 kB / 1.349 GB, free: 4.301 MB / 0.8698 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.0003355/1.183, allocations: 163.9 kB / 1.35 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008293/1.184, allocations: 191.5 kB / 1.35 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.184, allocations: 0 / 1.35 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004502/1.185, allocations: 100.7 kB / 1.35 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/1.185, allocations: 34.3 kB / 1.35 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.186, allocations: 496.8 kB / 1.35 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/1.187, allocations: 0.7316 MB / 1.351 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003245/1.187, allocations: 44.61 kB / 1.351 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.784e-05/1.187, allocations: 27.17 kB / 1.351 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/1.187, allocations: 0 / 1.351 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of Templates: time 0.008604/1.196, allocations: 2.311 MB / 1.353 GB, free: 308 kB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)