Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 80.88 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 165.8 kB / 24.97 MB, free: 8.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9865/0.9865, allocations: 177.1 MB / 205.4 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.078/2.078, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.211e-05, allocations: 2.312 kB / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002439/0.002471, allocations: 1.624 MB / 0.7776 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006971/0.003168, allocations: 485.9 kB / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.003236, allocations: 7.938 kB / 0.778 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.003265, allocations: 8.422 kB / 0.778 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.003328, allocations: 10.31 kB / 0.7781 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.003534, allocations: 33.53 kB / 0.7781 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003644, allocations: 58.2 kB / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/0.003732, allocations: 15.97 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.003876, allocations: 40.88 kB / 0.7782 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.00394, allocations: 15.97 kB / 0.7782 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.003958, allocations: 4 kB / 0.7782 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.004022, allocations: 8.812 kB / 0.7782 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.004038, allocations: 11.94 kB / 0.7782 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.004059, allocations: 13.38 kB / 0.7782 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.004175, allocations: 47.78 kB / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004178, allocations: 0 / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004179, allocations: 0 / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.004185, allocations: 0.5312 kB / 0.7783 GB, free: 3.043 MB / 0.7292 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.0003159/0.004501, allocations: 265.6 kB / 0.7785 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.004544, allocations: 9.344 kB / 0.7786 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.004691, allocations: 22.64 kB / 0.7786 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.004824, allocations: 132.4 kB / 0.7787 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.004835, allocations: 8.312 kB / 0.7787 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-06/0.004841, allocations: 0.875 kB / 0.7787 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.986e-05/0.00494, allocations: 60.09 kB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004948, allocations: 192 / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.004955, allocations: 384 / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.004961, allocations: 10.78 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/0.00498, allocations: 4 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.00519, allocations: 164.2 kB / 0.7789 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.005245, allocations: 26.5 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.005261, allocations: 8.859 kB / 0.779 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.005274, allocations: 0 / 0.779 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.005295, allocations: 42.44 kB / 0.779 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.005296, allocations: 0 / 0.779 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001078/0.005404, allocations: 45.66 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.00543, allocations: 55.41 kB / 0.7791 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.005494, allocations: 122.7 kB / 0.7792 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.005504, allocations: 29.7 kB / 0.7793 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.005531, allocations: 80.14 kB / 0.7793 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.005553, allocations: 19.84 kB / 0.7793 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.005588, allocations: 21.69 kB / 0.7794 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.005657, allocations: 310.8 kB / 0.7797 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.00567, allocations: 5.594 kB / 0.7797 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.005681, allocations: 4.172 kB / 0.7797 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.005713, allocations: 20.92 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005715, allocations: 0 / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.384e-05/0.005769, allocations: 42.31 kB / 0.7797 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.005783, allocations: 8 kB / 0.7797 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005787, allocations: 1.062 kB / 0.7797 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.005797, allocations: 7.922 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.005864, allocations: 4 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005867, allocations: 1.25 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.005887, allocations: 4 kB / 0.7798 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.005894, allocations: 3.984 kB / 0.7798 GB, free: 1.395 MB / 0.7292 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.573e-05/0.00595, allocations: 114.6 kB / 0.7799 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.005963, allocations: 1.344 kB / 0.7799 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.005984, allocations: 12 kB / 0.7799 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.005989, allocations: 3.938 kB / 0.7799 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00599, allocations: 3.984 kB / 0.7799 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.005998, allocations: 5.078 kB / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.006008, allocations: 8 kB / 0.7799 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.006039, allocations: 0 / 0.7799 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.006069, allocations: 9.047 kB / 0.7799 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.027e-05/0.006149, allocations: 116.9 kB / 0.78 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.432e-05/0.006244, allocations: 218.7 kB / 0.7802 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.595e-05/0.00627, allocations: 9.359 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.006288, allocations: 21.73 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of Backend: time 1.1e-07/0.006289, allocations: 0 / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.006524, allocations: 77.67 kB / 0.7803 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0005856/0.007109, allocations: 0.6549 MB / 0.781 GB, free: 68 kB / 0.7292 GB Notification: Performance of Templates: time 0.00239/0.009499, allocations: 0.6809 MB / 0.7816 GB, free: 15.42 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.015355594456196]