Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.05 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002783/0.3477, allocations: 1.497 MB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006801/0.3484, allocations: 434.8 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.3485, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.3485, allocations: 3.938 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.3486, allocations: 7.875 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.3488, allocations: 23.95 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.3489, allocations: 47.8 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.349, allocations: 15.98 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.798e-05/0.3491, allocations: 19.92 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.3492, allocations: 27.84 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3492, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.3492, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3492, allocations: 7.984 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.3493, allocations: 27.86 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.3494, allocations: 40.17 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3494, allocations: 3.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3494, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.3494, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 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.0005221/0.35, allocations: 359.2 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.35, allocations: 12.03 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.3501, allocations: 4.844 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3502, allocations: 172.2 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3502, allocations: 12.38 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3502, allocations: 384 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3504, allocations: 53.98 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3504, allocations: 4 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3504, allocations: 4 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3504, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3506, allocations: 31.97 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.351, allocations: 284.8 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3511, allocations: 42.55 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.3512, allocations: 24.94 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3512, allocations: 4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3513, allocations: 34.56 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.3513, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003216/0.3516, allocations: 89.5 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3517, allocations: 51.41 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.3518, allocations: 117.8 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3518, allocations: 29.7 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.3518, allocations: 88.14 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.3519, allocations: 7.906 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.3519, allocations: 17.7 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.352, allocations: 326.7 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.3521, allocations: 15.98 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.3522, allocations: 16.17 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.3523, allocations: 48.84 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3523, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001771/0.3525, allocations: 73.52 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3525, allocations: 4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3525, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3525, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3527, allocations: 7.984 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3527, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.3527, allocations: 7.984 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3528, allocations: 12 kB / 1.072 GB, free: 6.109 MB / 0.8262 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 6.921e-05/0.3528, allocations: 109.8 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3529, allocations: 11.91 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.3529, allocations: 7.906 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3529, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3529, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.3529, allocations: 7.984 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.3531, allocations: 169.6 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3531, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.3532, allocations: 15.98 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/0.3532, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3532, allocations: 3.938 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3532, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3532, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3534, allocations: 171.5 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.3535, allocations: 84.95 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3535, allocations: 4 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.3536, allocations: 4 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.3537, allocations: 7.984 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3537, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.3537, allocations: 91.7 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3537, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002173/0.354, allocations: 8 kB / 1.073 GB, free: 5.324 MB / 0.8262 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 0.0001319/0.3541, allocations: 99.78 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.3543, allocations: 47.84 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3543, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.3544, allocations: 19.98 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3546, allocations: 18.12 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.355, allocations: 160.2 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3553, allocations: 0.6884 MB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.3553, allocations: 288 / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.3554, allocations: 11.44 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3554, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.002278/0.3577, allocations: 473.4 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)