Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001162/0.001162, allocations: 176.9 kB / 366.7 MB, free: 1.637 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.889/1.889, allocations: 205.3 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 85.45 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.28e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7614, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.881, allocations: 363.8 MB / 1.329 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.881, allocations: 87.7 kB / 1.329 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02469/1.906, allocations: 10.71 MB / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.633e-06/1.906, allocations: 0 / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.454e-05/1.906, allocations: 3.906 kB / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008885/1.907, allocations: 0.5712 MB / 1.34 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.907, allocations: 9.5 kB / 1.34 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/1.907, allocations: 29.02 kB / 1.34 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/1.908, allocations: 281.2 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.908, allocations: 6.859 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/1.908, allocations: 3.938 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002023/1.908, allocations: 89.3 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/1.908, allocations: 114.1 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.908, allocations: 4 kB / 1.34 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/1.908, allocations: 3.938 kB / 1.34 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.908, allocations: 0 / 1.34 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/1.909, allocations: 465.8 kB / 1.341 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/1.909, allocations: 67.5 kB / 1.341 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/1.909, allocations: 58.47 kB / 1.341 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/1.91, allocations: 0.52 MB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.91, allocations: 37.92 kB / 1.341 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/1.91, allocations: 0 / 1.341 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.04732/1.957, allocations: 3.724 MB / 1.345 GB, free: 171 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.957, allocations: 58.62 kB / 1.345 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/1.958, allocations: 195.7 kB / 1.345 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/1.958, allocations: 25.7 kB / 1.345 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/1.958, allocations: 141 kB / 1.345 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/1.958, allocations: 37.77 kB / 1.345 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/1.958, allocations: 0 / 1.345 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/1.958, allocations: 332.5 kB / 1.346 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/1.958, allocations: 46.61 kB / 1.346 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/1.958, allocations: 50.77 kB / 1.346 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04669/2.005, allocations: 3.633 MB / 1.349 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/2.005, allocations: 0 / 1.349 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.04686/2.052, allocations: 3.735 MB / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/2.052, allocations: 8 kB / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/2.052, allocations: 0 / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/2.052, allocations: 3.984 kB / 1.353 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/2.052, allocations: 51.95 kB / 1.353 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/2.052, allocations: 6.5 kB / 1.353 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/2.053, allocations: 35.95 kB / 1.353 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/2.053, allocations: 4 kB / 1.353 GB, free: 167.1 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001099/2.053, allocations: 118.1 kB / 1.353 GB, free: 167 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/2.053, allocations: 23.72 kB / 1.353 GB, free: 167 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04762/2.101, allocations: 3.755 MB / 1.357 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/2.101, allocations: 0 / 1.357 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/2.101, allocations: 0 / 1.357 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/2.101, allocations: 0 / 1.357 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/2.101, allocations: 253.6 kB / 1.357 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/2.101, allocations: 0 / 1.357 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/2.102, allocations: 55.94 kB / 1.357 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/2.102, allocations: 0 / 1.357 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/2.102, allocations: 7.984 kB / 1.357 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/2.102, allocations: 6.344 kB / 1.357 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/2.102, allocations: 3.938 kB / 1.357 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04586/2.148, allocations: 3.832 MB / 1.361 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/2.148, allocations: 108 kB / 1.361 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/2.148, allocations: 4 kB / 1.361 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/2.148, allocations: 35.97 kB / 1.361 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/2.148, allocations: 15.47 kB / 1.361 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/2.148, allocations: 8.938 kB / 1.361 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001426/2.148, allocations: 151.7 kB / 1.361 GB, free: 159 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/2.149, allocations: 4 kB / 1.361 GB, free: 159 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003984/2.149, allocations: 71.39 kB / 1.361 GB, free: 158.9 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000367/2.149, allocations: 183 kB / 1.361 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002684/2.15, allocations: 118.7 kB / 1.362 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.15, allocations: 4 kB / 1.362 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/2.15, allocations: 65.3 kB / 1.362 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/2.15, allocations: 31.31 kB / 1.362 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/2.151, allocations: 241.6 kB / 1.362 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/2.151, allocations: 0.7467 MB / 1.363 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001895/2.151, allocations: 34.64 kB / 1.363 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/2.151, allocations: 19.42 kB / 1.363 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/2.151, allocations: 0 / 1.363 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005371/2.156, allocations: 2.484 MB / 1.365 GB, free: 155.1 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)