Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.001365/0.001366, allocations: 180.5 kB / 372.9 MB, free: 10.14 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.79/1.79, allocations: 205.4 MB / 0.6317 GB, free: 9.789 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.001017/0.001017, allocations: 94.83 kB / 0.745 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 15.92 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2545, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.256, allocations: 363.6 MB / 1.336 GB, free: 216 kB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.257, allocations: 91.2 kB / 1.336 GB, free: 164 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02714/1.284, allocations: 10.83 MB / 1.346 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.696e-06/1.284, allocations: 0 / 1.346 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.585e-05/1.284, allocations: 4 kB / 1.347 GB, free: 7.219 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00113/1.285, allocations: 0.6132 MB / 1.347 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.285, allocations: 8.219 kB / 1.347 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/1.285, allocations: 24.66 kB / 1.347 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/1.286, allocations: 289 kB / 1.347 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/1.286, allocations: 8.375 kB / 1.347 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.286, allocations: 8.062 kB / 1.347 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/1.286, allocations: 188.7 kB / 1.348 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.286, allocations: 192 / 1.348 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/1.286, allocations: 14.73 kB / 1.348 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.286, allocations: 3.938 kB / 1.348 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/1.287, allocations: 233.4 kB / 1.348 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/1.288, allocations: 497 kB / 1.348 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/1.288, allocations: 142.9 kB / 1.348 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/1.289, allocations: 142.6 kB / 1.349 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/1.289, allocations: 0.5093 MB / 1.349 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/1.29, allocations: 34.78 kB / 1.349 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.885e-06/1.29, allocations: 0 / 1.349 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001199/1.291, allocations: 415.9 kB / 1.35 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/1.291, allocations: 55.41 kB / 1.35 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/1.291, allocations: 235.3 kB / 1.35 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/1.291, allocations: 25.7 kB / 1.35 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/1.291, allocations: 139.1 kB / 1.35 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/1.291, allocations: 39.08 kB / 1.35 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/1.291, allocations: 0 / 1.35 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.291, allocations: 336.9 kB / 1.35 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/1.292, allocations: 117 kB / 1.35 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/1.292, allocations: 117.8 kB / 1.351 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/1.293, allocations: 244 kB / 1.351 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.293, allocations: 0 / 1.351 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007834/1.294, allocations: 302.5 kB / 1.351 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.294, allocations: 9.406 kB / 1.351 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.294, allocations: 0 / 1.351 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.294, allocations: 0 / 1.351 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/1.294, allocations: 59.88 kB / 1.351 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.294, allocations: 4 kB / 1.351 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/1.294, allocations: 31.97 kB / 1.351 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/1.294, allocations: 11.25 kB / 1.351 GB, free: 2.582 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 (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.0001366/1.294, allocations: 140.4 kB / 1.351 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/1.294, allocations: 19.72 kB / 1.351 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008664/1.295, allocations: 332.5 kB / 1.352 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.295, allocations: 0 / 1.352 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.295, allocations: 0 / 1.352 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.295, allocations: 0 / 1.352 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/1.296, allocations: 274 kB / 1.352 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.296, allocations: 0 / 1.352 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/1.296, allocations: 59.94 kB / 1.352 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.296, allocations: 3.938 kB / 1.352 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/1.296, allocations: 10.98 kB / 1.352 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.296, allocations: 4 kB / 1.352 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.296, allocations: 0 / 1.352 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/1.297, allocations: 408.2 kB / 1.352 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.297, allocations: 107.6 kB / 1.352 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/1.297, allocations: 3.438 kB / 1.352 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/1.297, allocations: 31.97 kB / 1.353 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.297, allocations: 19.91 kB / 1.353 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/1.297, allocations: 4 kB / 1.353 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001945/1.298, allocations: 172.8 kB / 1.353 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.298, allocations: 0 / 1.353 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003884/1.298, allocations: 74.09 kB / 1.353 GB, free: 1.035 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 (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.0003894/1.298, allocations: 187.2 kB / 1.353 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007824/1.299, allocations: 260.8 kB / 1.353 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.299, allocations: 0 / 1.353 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/1.3, allocations: 138.8 kB / 1.353 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/1.3, allocations: 27.3 kB / 1.353 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/1.301, allocations: 494.2 kB / 1.354 GB, free: 24 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/1.301, allocations: 0.7355 MB / 1.355 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001874/1.301, allocations: 36.84 kB / 1.355 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/1.302, allocations: 15.42 kB / 1.355 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/1.302, allocations: 0 / 1.355 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.006549/1.308, allocations: 3.011 MB / 1.358 GB, free: 12.25 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)