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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000994/0.000994, allocations: 187.3 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 0.5785 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007541/0.0007541, allocations: 83.97 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 16.88 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1602, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6748/0.835, allocations: 355.6 MB / 1.249 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.8352, allocations: 88.12 kB / 1.249 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02029/0.8555, allocations: 9.358 MB / 1.258 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8556, allocations: 0 / 1.258 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8556, allocations: 4 kB / 1.258 GB, free: 3.551 MB / 0.7605 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.0006252/0.8562, allocations: 0.494 MB / 1.258 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.8563, allocations: 8.031 kB / 1.258 GB, free: 3.012 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.8563, allocations: 16.75 kB / 1.258 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.8567, allocations: 256.1 kB / 1.258 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.8567, allocations: 4.375 kB / 1.258 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.8567, allocations: 4.375 kB / 1.258 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.857, allocations: 152.9 kB / 1.259 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.857, allocations: 192 / 1.259 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.8571, allocations: 7.938 kB / 1.259 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.8571, allocations: 11.98 kB / 1.259 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.8575, allocations: 159.7 kB / 1.259 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.8581, allocations: 467.2 kB / 1.259 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.8585, allocations: 174.2 kB / 1.259 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.8587, allocations: 113 kB / 1.26 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.8587, allocations: 0 / 1.26 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.8588, allocations: 37.81 kB / 1.26 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.8588, allocations: 3.938 kB / 1.26 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0007261/0.8595, allocations: 317.1 kB / 1.26 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.8595, allocations: 55.41 kB / 1.26 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.8597, allocations: 212 kB / 1.26 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.8597, allocations: 29.7 kB / 1.26 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.8598, allocations: 125.5 kB / 1.26 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.8599, allocations: 49.56 kB / 1.26 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-06/0.8599, allocations: 6.938 kB / 1.26 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.86, allocations: 328.5 kB / 1.261 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.8602, allocations: 83.88 kB / 1.261 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.8604, allocations: 86.42 kB / 1.261 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.8608, allocations: 180.4 kB / 1.261 GB, free: 436 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8608, allocations: 0 / 1.261 GB, free: 436 kB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004602/0.8612, allocations: 237.3 kB / 1.261 GB, free: 232 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.8613, allocations: 4 kB / 1.261 GB, free: 228 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.8613, allocations: 3.984 kB / 1.261 GB, free: 224 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.8613, allocations: 0 / 1.261 GB, free: 224 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.8615, allocations: 43.95 kB / 1.261 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.8615, allocations: 0 / 1.261 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.8617, allocations: 19.92 kB / 1.261 GB, free: 160 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.8617, allocations: 6.875 kB / 1.261 GB, free: 156 kB / 0.7605 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 9.598e-05/0.8618, allocations: 129.2 kB / 1.261 GB, free: 24 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.8619, allocations: 27.77 kB / 1.261 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.8619, allocations: 27.78 kB / 1.261 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8619, allocations: 0 / 1.261 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.8619, allocations: 0 / 1.261 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8619, allocations: 3.984 kB / 1.261 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.8622, allocations: 269 kB / 1.262 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8622, allocations: 0 / 1.262 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.8624, allocations: 39.95 kB / 1.262 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8624, allocations: 8 kB / 1.262 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.8624, allocations: 0 / 1.262 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8624, allocations: 7.938 kB / 1.262 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8624, allocations: 0 / 1.262 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.863, allocations: 339 kB / 1.262 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/0.8631, allocations: 103.8 kB / 1.262 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.8631, allocations: 4 kB / 1.262 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.8633, allocations: 31.47 kB / 1.262 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.8633, allocations: 7.984 kB / 1.262 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.8633, allocations: 0 / 1.262 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001078/0.8635, allocations: 158.5 kB / 1.262 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8635, allocations: 0 / 1.262 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002533/0.8637, allocations: 50.94 kB / 1.262 GB, free: 15.02 MB / 0.7761 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.0001948/0.8639, allocations: 141.3 kB / 1.263 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.8644, allocations: 185.8 kB / 1.263 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8644, allocations: 4 kB / 1.263 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.8646, allocations: 113 kB / 1.263 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.8649, allocations: 33.09 kB / 1.263 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.8656, allocations: 0.4925 MB / 1.263 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.8659, allocations: 0.7238 MB / 1.264 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000178/0.8661, allocations: 52.58 kB / 1.264 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.8662, allocations: 19.36 kB / 1.264 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of SimCode: time 2.5e-07/0.8662, allocations: 8 kB / 1.264 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.004556/0.8707, allocations: 2.308 MB / 1.266 GB, free: 11.03 MB / 0.7761 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)