Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.001235/0.001235, allocations: 178.9 kB / 373 MB, free: 10.18 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.428/2.428, allocations: 205.4 MB / 0.6317 GB, free: 9.93 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.0007977/0.0007982, allocations: 94.23 kB / 0.7451 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004099, allocations: 15.45 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.872/1.128, allocations: 138.7 MB / 1.116 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.128, allocations: 85.3 kB / 1.116 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003709/1.132, allocations: 1.148 MB / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.132, allocations: 0 / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.132, allocations: 7.938 kB / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004376/1.133, allocations: 356 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.133, allocations: 7.812 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/1.133, allocations: 12.69 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/1.133, allocations: 175 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/1.133, allocations: 1.25 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/1.133, allocations: 384 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/1.133, allocations: 63.47 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.133, allocations: 192 / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.133, allocations: 3.938 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.133, allocations: 0 / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/1.133, allocations: 43.64 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/1.134, allocations: 277.7 kB / 1.118 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/1.134, allocations: 47.11 kB / 1.118 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/1.134, allocations: 27.42 kB / 1.118 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/1.134, allocations: 7.312 kB / 1.118 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/1.134, allocations: 37 kB / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/1.134, allocations: 0 / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003217/1.134, allocations: 111.6 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/1.134, allocations: 51.41 kB / 1.119 GB, free: 30.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/1.134, allocations: 114.6 kB / 1.119 GB, free: 30.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/1.134, allocations: 29.58 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/1.135, allocations: 88.73 kB / 1.119 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/1.135, allocations: 11.75 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/1.135, allocations: 3.969 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.135, allocations: 320.7 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/1.135, allocations: 17.41 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/1.135, allocations: 21.58 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/1.135, allocations: 53.75 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.135, allocations: 3.938 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001564/1.135, allocations: 85.62 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.135, allocations: 5.594 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.135, allocations: 0 / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.135, allocations: 4 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/1.135, allocations: 14.05 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.135, allocations: 0 / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/1.135, allocations: 5.906 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/1.135, allocations: 1.75 kB / 1.119 GB, free: 30.34 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 8.311e-05/1.135, allocations: 121 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/1.136, allocations: 10.89 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/1.136, allocations: 11.22 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.136, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.136, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.136, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.136, allocations: 173.8 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.136, allocations: 0 / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/1.136, allocations: 10.5 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.136, allocations: 3.938 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/1.136, allocations: 3.938 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.136, allocations: 6.562 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.136, allocations: 7.984 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/1.136, allocations: 174.4 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/1.136, allocations: 80.95 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/1.136, allocations: 3.938 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/1.136, allocations: 13.64 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/1.136, allocations: 3.875 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.136, allocations: 3.188 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.331e-05/1.136, allocations: 90.48 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.136, allocations: 0 / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00022/1.137, allocations: 11.16 kB / 1.12 GB, free: 29.69 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0001158/1.137, allocations: 98.72 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001791/1.137, allocations: 53.94 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.137, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/1.137, allocations: 24.56 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/1.137, allocations: 3.938 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/1.138, allocations: 194.4 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.138, allocations: 0.6831 MB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.657e-05/1.138, allocations: 11.92 kB / 1.121 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/1.138, allocations: 7.438 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.138, allocations: 3.938 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of Templates: time 0.002164/1.14, allocations: 381.9 kB / 1.121 GB, free: 28.69 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)