Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.732/2.732, allocations: 287.5 MB / 302.4 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001958/0.001957, allocations: 173.2 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6297 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001211, allocations: 94.92 kB / 0.743 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004995, allocations: 14.91 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9302/1.169, allocations: 138.5 MB / 1.114 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.169, allocations: 91.84 kB / 1.114 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005119/1.174, allocations: 1.15 MB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.174, allocations: 0 / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.174, allocations: 0 / 1.115 GB, free: 31.52 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.0005034/1.175, allocations: 359.5 kB / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.175, allocations: 11.69 kB / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/1.175, allocations: 3.906 kB / 1.115 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/1.175, allocations: 177.7 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.175, allocations: 3.906 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/1.175, allocations: 0 / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/1.175, allocations: 65.66 kB / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/1.175, allocations: 0 / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.175, allocations: 3.844 kB / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.175, allocations: 0 / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/1.176, allocations: 39.16 kB / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/1.176, allocations: 276.8 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/1.176, allocations: 47.77 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/1.176, allocations: 3.828 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/1.176, allocations: 38.41 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/1.176, allocations: 0 / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005196/1.177, allocations: 98.36 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/1.177, allocations: 54.36 kB / 1.116 GB, free: 30.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.177, allocations: 111.4 kB / 1.116 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.177, allocations: 25.7 kB / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/1.177, allocations: 88.84 kB / 1.116 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/1.177, allocations: 13.12 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.177, allocations: 0 / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.177, allocations: 324.3 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/1.177, allocations: 19.58 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/1.178, allocations: 29.27 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/1.178, allocations: 22.39 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.178, allocations: 0 / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002847/1.178, allocations: 87.19 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.178, allocations: 3.875 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.178, allocations: 0 / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.178, allocations: 2.516 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/1.178, allocations: 14.09 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/1.178, allocations: 0 / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/1.178, allocations: 6.828 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.178, allocations: 0.625 kB / 1.117 GB, free: 29.89 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 0.0001072/1.179, allocations: 121.6 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/1.179, allocations: 7.781 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/1.179, allocations: 7.844 kB / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.179, allocations: 0 / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.179, allocations: 2.578 kB / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.179, allocations: 3.812 kB / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/1.179, allocations: 173.2 kB / 1.117 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.179, allocations: 0 / 1.117 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.179, allocations: 14.34 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.179, allocations: 0 / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.179, allocations: 10.38 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.179, allocations: 0 / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.179, allocations: 0 / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/1.179, allocations: 177.1 kB / 1.117 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/1.179, allocations: 81.02 kB / 1.117 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/1.18, allocations: 0 / 1.117 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.18, allocations: 15.31 kB / 1.117 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/1.18, allocations: 0 / 1.117 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/1.18, allocations: 7.812 kB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.757e-05/1.18, allocations: 96.94 kB / 1.117 GB, free: 29.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.18, allocations: 0 / 1.117 GB, free: 29.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002743/1.18, allocations: 7.906 kB / 1.117 GB, free: 29.23 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.000138/1.18, allocations: 98.72 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002789/1.181, allocations: 46.41 kB / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.181, allocations: 0 / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/1.181, allocations: 28.89 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/1.181, allocations: 9.75 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/1.181, allocations: 185.2 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/1.182, allocations: 0.6888 MB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.109e-05/1.182, allocations: 3.875 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/1.182, allocations: 7.438 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/1.182, allocations: 0 / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of Templates: time 0.002927/1.185, allocations: 391.8 kB / 1.119 GB, free: 28.24 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)