Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.582/2.582, allocations: 287.5 MB / 303.2 MB, free: 8.223 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.001349/0.001349, allocations: 178.4 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009111/0.0009109, allocations: 88.86 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 11.31 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2248, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.433, allocations: 363.5 MB / 1.334 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/1.433, allocations: 99.67 kB / 1.334 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04375/1.477, allocations: 10.82 MB / 1.345 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.348e-06/1.477, allocations: 0 / 1.345 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.074e-05/1.477, allocations: 7.938 kB / 1.345 GB, free: 8.766 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.00166/1.479, allocations: 0.6129 MB / 1.346 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.479, allocations: 8.031 kB / 1.346 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/1.479, allocations: 24.66 kB / 1.346 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/1.48, allocations: 285.5 kB / 1.346 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/1.48, allocations: 7.688 kB / 1.346 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/1.48, allocations: 7.125 kB / 1.346 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/1.481, allocations: 190.3 kB / 1.346 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.481, allocations: 192 / 1.346 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/1.481, allocations: 7.938 kB / 1.346 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.481, allocations: 0 / 1.346 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/1.482, allocations: 240.1 kB / 1.346 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/1.483, allocations: 496.2 kB / 1.347 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/1.484, allocations: 142.5 kB / 1.347 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/1.485, allocations: 137.5 kB / 1.347 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009534/1.486, allocations: 0.5138 MB / 1.347 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/1.486, allocations: 38.56 kB / 1.348 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.555e-06/1.486, allocations: 0 / 1.348 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.00217/1.488, allocations: 417.1 kB / 1.348 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.488, allocations: 55.39 kB / 1.348 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/1.488, allocations: 229.4 kB / 1.348 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/1.488, allocations: 25.7 kB / 1.348 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.488, allocations: 145 kB / 1.348 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/1.488, allocations: 34.45 kB / 1.348 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/1.488, allocations: 7.25 kB / 1.348 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.489, allocations: 332.8 kB / 1.349 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/1.489, allocations: 115.6 kB / 1.349 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/1.49, allocations: 116.7 kB / 1.349 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/1.491, allocations: 247.8 kB / 1.349 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.491, allocations: 0 / 1.349 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001472/1.493, allocations: 299.3 kB / 1.349 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.493, allocations: 8 kB / 1.349 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.493, allocations: 0 / 1.349 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.493, allocations: 0 / 1.349 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/1.493, allocations: 59.25 kB / 1.35 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.493, allocations: 4 kB / 1.35 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/1.494, allocations: 35.97 kB / 1.35 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/1.494, allocations: 11.92 kB / 1.35 GB, free: 4.133 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.0001816/1.494, allocations: 136.4 kB / 1.35 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/1.494, allocations: 19.72 kB / 1.35 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/1.496, allocations: 326.8 kB / 1.35 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.496, allocations: 0 / 1.35 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.496, allocations: 4 kB / 1.35 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.496, allocations: 0 / 1.35 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/1.496, allocations: 277.5 kB / 1.35 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.496, allocations: 0 / 1.35 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/1.497, allocations: 55.89 kB / 1.35 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.497, allocations: 4 kB / 1.35 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/1.497, allocations: 11.05 kB / 1.35 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.497, allocations: 4 kB / 1.35 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.497, allocations: 0 / 1.35 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/1.498, allocations: 402.6 kB / 1.351 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.499, allocations: 104.8 kB / 1.351 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/1.499, allocations: 3.625 kB / 1.351 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/1.499, allocations: 39.95 kB / 1.351 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/1.499, allocations: 11.48 kB / 1.351 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/1.499, allocations: 11.92 kB / 1.351 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002029/1.499, allocations: 170.5 kB / 1.351 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.499, allocations: 0 / 1.351 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005117/1.5, allocations: 78.89 kB / 1.351 GB, free: 2.594 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.0003862/1.5, allocations: 181.1 kB / 1.351 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.502, allocations: 252.6 kB / 1.352 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.502, allocations: 0 / 1.352 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/1.502, allocations: 142.7 kB / 1.352 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/1.503, allocations: 28.25 kB / 1.352 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/1.504, allocations: 488.6 kB / 1.352 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/1.505, allocations: 0.7388 MB / 1.353 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003469/1.505, allocations: 40.83 kB / 1.353 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.505, allocations: 19.42 kB / 1.353 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/1.505, allocations: 0 / 1.353 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of Templates: time 0.00997/1.515, allocations: 2.995 MB / 1.356 GB, free: 13.8 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)