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.001888/0.001888, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002062/0.002062, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.625/1.625, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 3.243/3.243, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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 1.704e-06/1.704e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.183e-05, allocations: 6.219 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002847/0.002879, allocations: 1.529 MB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.003809, allocations: 462.8 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.003871, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.003904, allocations: 15.86 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.003958, allocations: 15.86 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.004207, allocations: 27.91 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.004341, allocations: 63.7 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.004438, allocations: 8 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004583, allocations: 35.91 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.004655, allocations: 23.91 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.004671, allocations: 0 / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.493e-05/0.004716, allocations: 11.98 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.004731, allocations: 8 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.004767, allocations: 19.92 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004913, allocations: 55.8 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004916, allocations: 3.938 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004916, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.00492, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 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.0005593/0.00548, allocations: 286.1 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.005525, allocations: 9.344 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.00588, allocations: 28.86 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.006092, allocations: 133.6 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.006109, allocations: 4.375 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.006118, allocations: 384 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.006292, allocations: 54.23 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.006301, allocations: 4.188 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.00631, allocations: 384 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.006316, allocations: 3.938 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.006458, allocations: 39.97 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.006831, allocations: 212.6 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.006971, allocations: 38.56 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.007053, allocations: 20.94 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.007073, allocations: 0 / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.007114, allocations: 42.5 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.007115, allocations: 0 / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003438/0.007458, allocations: 93.55 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.007506, allocations: 51.41 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.007633, allocations: 124.7 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.007656, allocations: 29.7 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.007721, allocations: 88.14 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.007747, allocations: 15.86 kB / 1.005 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.007787, allocations: 17.72 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.007962, allocations: 314.8 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.008034, allocations: 19.98 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.008096, allocations: 23.92 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.008228, allocations: 40.84 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.008229, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001936/0.008423, allocations: 81.81 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.008443, allocations: 4 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.008454, allocations: 7.984 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.008474, allocations: 3.938 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.008587, allocations: 11.98 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.008594, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.008642, allocations: 4 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.008656, allocations: 4 kB / 1.005 GB, free: 8.805 MB / 0.9636 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 0.0001404/0.008796, allocations: 113.8 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.008828, allocations: 11.89 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.008862, allocations: 4 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.008866, allocations: 4 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.008872, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008875, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.009063, allocations: 117.3 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.009064, allocations: 0 / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.009139, allocations: 19.92 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009141, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.009153, allocations: 3.938 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009154, allocations: 0 / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009155, allocations: 0 / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.009438, allocations: 167.5 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.009454, allocations: 7.953 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.009482, allocations: 7.938 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.009564, allocations: 11.98 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.009619, allocations: 0 / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.009627, allocations: 4 kB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.751e-05/0.009724, allocations: 91.27 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009724, allocations: 0 / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002236/0.009948, allocations: 8 kB / 1.006 GB, free: 8.18 MB / 0.9636 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.0001443/0.01009, allocations: 103.2 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.01029, allocations: 43.91 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01029, allocations: 0 / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.01037, allocations: 19.98 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.01059, allocations: 4 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.01104, allocations: 164.6 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.354e-05/0.01112, allocations: 67.33 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.01116, allocations: 11.94 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.01119, allocations: 8.5 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.01119, allocations: 3.938 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of Templates: time 0.003191/0.01438, allocations: 474.2 kB / 1.006 GB, free: 7.254 MB / 0.9636 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: 9.037272267974913]