Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.838/1.838, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009788/0.0009791, allocations: 94.72 kB / 0.7808 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004463, allocations: 12.88 kB / 0.9088 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6989, allocations: 120.3 MB / 1.026 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8939/1.593, allocations: 366.9 MB / 1.385 GB, free: 230 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.593, allocations: 95.27 kB / 1.385 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02924/1.622, allocations: 11.03 MB / 1.395 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/1.622, allocations: 4 kB / 1.395 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.351e-05/1.623, allocations: 0 / 1.395 GB, free: 225.2 MB / 0.8855 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.001226/1.624, allocations: 0.6073 MB / 1.396 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.624, allocations: 8.688 kB / 1.396 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/1.624, allocations: 24.66 kB / 1.396 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/1.625, allocations: 280.2 kB / 1.396 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/1.625, allocations: 12.38 kB / 1.396 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/1.625, allocations: 8.375 kB / 1.396 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/1.625, allocations: 193.6 kB / 1.397 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.625, allocations: 4.188 kB / 1.397 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/1.625, allocations: 3.938 kB / 1.397 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/1.625, allocations: 4 kB / 1.397 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/1.626, allocations: 235.4 kB / 1.397 GB, free: 224 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000995/1.627, allocations: 0.4888 MB / 1.397 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/1.627, allocations: 146.8 kB / 1.397 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/1.628, allocations: 137 kB / 1.398 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/1.628, allocations: 0.5119 MB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.628, allocations: 35.83 kB / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/1.628, allocations: 0 / 1.398 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001201/1.63, allocations: 420 kB / 1.399 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/1.63, allocations: 59.41 kB / 1.399 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/1.63, allocations: 228 kB / 1.399 GB, free: 222 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/1.63, allocations: 30.5 kB / 1.399 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/1.63, allocations: 142.8 kB / 1.399 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/1.63, allocations: 34.23 kB / 1.399 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/1.63, allocations: 0 / 1.399 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/1.63, allocations: 338.2 kB / 1.399 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/1.63, allocations: 119.2 kB / 1.399 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/1.631, allocations: 120.7 kB / 1.4 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/1.631, allocations: 242 kB / 1.4 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.631, allocations: 0 / 1.4 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000737/1.632, allocations: 296.8 kB / 1.4 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.632, allocations: 8.797 kB / 1.4 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.632, allocations: 0 / 1.4 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.632, allocations: 0 / 1.4 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/1.633, allocations: 66.61 kB / 1.4 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.633, allocations: 0.7969 kB / 1.4 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/1.633, allocations: 38.44 kB / 1.4 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/1.633, allocations: 9.438 kB / 1.4 GB, free: 220.7 MB / 0.8855 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.0001221/1.633, allocations: 127.8 kB / 1.4 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/1.633, allocations: 20.56 kB / 1.4 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008489/1.634, allocations: 329.5 kB / 1.401 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.634, allocations: 0.7969 kB / 1.401 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.634, allocations: 0 / 1.401 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.634, allocations: 0.6094 kB / 1.401 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/1.634, allocations: 279.2 kB / 1.401 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.634, allocations: 4 kB / 1.401 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/1.635, allocations: 54.58 kB / 1.401 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.635, allocations: 4.453 kB / 1.401 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/1.635, allocations: 6.016 kB / 1.401 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.635, allocations: 0 / 1.401 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.635, allocations: 0.7031 kB / 1.401 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/1.635, allocations: 408.3 kB / 1.401 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/1.636, allocations: 113.1 kB / 1.401 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/1.636, allocations: 0.6562 kB / 1.401 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.636, allocations: 33.05 kB / 1.401 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/1.636, allocations: 22.52 kB / 1.402 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/1.636, allocations: 2.062 kB / 1.402 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001491/1.636, allocations: 170.8 kB / 1.402 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/1.636, allocations: 0 / 1.402 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004238/1.637, allocations: 74.03 kB / 1.402 GB, free: 219.2 MB / 0.8855 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.0003996/1.637, allocations: 181 kB / 1.402 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007767/1.638, allocations: 265 kB / 1.402 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.638, allocations: 0 / 1.402 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/1.638, allocations: 131.8 kB / 1.402 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/1.639, allocations: 26.42 kB / 1.402 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/1.64, allocations: 496.2 kB / 1.403 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/1.64, allocations: 0.7363 MB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002164/1.64, allocations: 40.22 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/1.64, allocations: 15.61 kB / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.503e-06/1.64, allocations: 0 / 1.404 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.008063/1.648, allocations: 3.003 MB / 1.406 GB, free: 215.8 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)