Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 391.2 MB / 407 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 182.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 107.7 kB / 0.9329 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 47.44 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2577, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002882/0.2606, allocations: 1.56 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.2613, allocations: 404 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.2614, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.2615, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.2616, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.2618, allocations: 19.97 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.2619, allocations: 47.8 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.262, allocations: 11.98 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2621, allocations: 19.94 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.2622, allocations: 27.84 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2622, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.2622, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.2623, allocations: 7.984 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.2623, allocations: 23.86 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.2624, allocations: 41.8 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2624, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.12e-07/0.2624, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2624, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 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.0004828/0.2629, allocations: 363.3 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.263, allocations: 11.98 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.263, allocations: 8.844 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2631, allocations: 176.2 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2632, allocations: 4.375 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2632, allocations: 384 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.2634, allocations: 65.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2634, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2634, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2634, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2635, allocations: 35.97 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.2639, allocations: 276.8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.264, allocations: 46.48 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.2641, allocations: 24.94 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2641, allocations: 4 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.2642, allocations: 30.56 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2642, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002982/0.2645, allocations: 93.5 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2645, allocations: 55.34 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.2646, allocations: 125.8 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.2646, allocations: 25.7 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.2646, allocations: 92.14 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2647, allocations: 11.84 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.2647, allocations: 13.7 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.2648, allocations: 326.8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.2648, allocations: 15.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.2649, allocations: 19.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.265, allocations: 36.83 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.265, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001553/0.2652, allocations: 77.52 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2652, allocations: 9.25 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2652, allocations: 3.984 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2652, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.2653, allocations: 8.312 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2654, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.2654, allocations: 3.984 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2654, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.2655, allocations: 114.4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.2655, allocations: 11.91 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.2656, allocations: 11.89 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2656, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2656, allocations: 4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2656, allocations: 3.984 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.2657, allocations: 169.6 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2657, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.2658, allocations: 15.92 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2658, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2658, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2658, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2658, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.2662, allocations: 0.7356 MB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.2662, allocations: 88.95 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2662, allocations: 8 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.2663, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.2664, allocations: 15.86 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2664, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.2665, allocations: 95.27 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003123/0.2668, allocations: 8 kB / 1.223 GB, free: 111.5 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.613e-05/0.2669, allocations: 95.25 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.267, allocations: 43.97 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2671, allocations: 0 / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.2671, allocations: 23.92 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2673, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.2677, allocations: 289 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.2679, allocations: 0.6848 MB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.2679, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.2679, allocations: 15.36 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/0.268, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of Templates: time 0.002116/0.2701, allocations: 414.3 kB / 1.225 GB, free: 109.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)