Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001522/0.001522, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001574/0.001574, allocations: 162.7 kB / 24.84 MB, free: 9.297 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.9888/0.9888, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.7152/0.7152, allocations: 115 MB / 376.8 MB, free: 7.52 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.978e-05, allocations: 2.812 kB / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002078/0.002108, allocations: 1.557 MB / 484.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.002756, allocations: 490.4 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.00282, allocations: 1.125 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.002848, allocations: 3.938 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.002903, allocations: 15.08 kB / 484.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.003112, allocations: 32.23 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003223, allocations: 57.77 kB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.003316, allocations: 9.422 kB / 484.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.003457, allocations: 43.61 kB / 485 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.00352, allocations: 22.95 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.003536, allocations: 4.812 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.003579, allocations: 5.094 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.003593, allocations: 8.453 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.003613, allocations: 15.03 kB / 485 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.003706, allocations: 42.44 kB / 485 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003708, allocations: 5.188 kB / 485.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003708, allocations: 0.9375 kB / 485.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003712, allocations: 0 / 485.1 MB, free: 10.29 MB / 410.7 MB 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.0003008/0.004013, allocations: 392.3 kB / 485.4 MB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.004047, allocations: 10 kB / 485.4 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.004178, allocations: 22.81 kB / 485.5 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.004319, allocations: 133.2 kB / 485.6 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.004329, allocations: 2.594 kB / 485.6 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.004337, allocations: 1.5 kB / 485.6 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.004429, allocations: 62.23 kB / 485.7 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.004437, allocations: 4 kB / 485.7 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.004445, allocations: 1.25 kB / 485.7 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004449, allocations: 0.5 kB / 485.7 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.004469, allocations: 5.219 kB / 485.7 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.004677, allocations: 249.6 kB / 485.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/0.004732, allocations: 37.16 kB / 486 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.00475, allocations: 15.56 kB / 486 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.004761, allocations: 1.219 kB / 486 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.004775, allocations: 34.61 kB / 486 MB, free: 9.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.004776, allocations: 0 / 486 MB, free: 9.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001307/0.004907, allocations: 54.28 kB / 486.1 MB, free: 9.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.004929, allocations: 53.34 kB / 486.1 MB, free: 9.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.733e-05/0.004986, allocations: 180.9 kB / 486.3 MB, free: 9.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.004993, allocations: 26.92 kB / 486.3 MB, free: 9.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.005232, allocations: 142.6 kB / 486.5 MB, free: 24.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.00525, allocations: 12.97 kB / 486.5 MB, free: 24.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.005277, allocations: 25.36 kB / 486.5 MB, free: 24.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005382, allocations: 494.6 kB / 487 MB, free: 24.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.005398, allocations: 6.125 kB / 487 MB, free: 24.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.00541, allocations: 5.688 kB / 487 MB, free: 24.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/0.00544, allocations: 17.84 kB / 487 MB, free: 24.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005442, allocations: 1.375 kB / 487 MB, free: 24.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.532e-05/0.005507, allocations: 57.73 kB / 487.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.00552, allocations: 6.406 kB / 487.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005524, allocations: 1.125 kB / 487.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.005534, allocations: 3.938 kB / 487.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.005605, allocations: 10.11 kB / 487.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.005609, allocations: 1.125 kB / 487.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.005634, allocations: 6.531 kB / 487.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.005642, allocations: 1.375 kB / 487.1 MB, free: 24.31 MB / 426.7 MB 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.201e-05/0.005704, allocations: 162 kB / 487.2 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.005723, allocations: 8.062 kB / 487.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.005744, allocations: 7.25 kB / 487.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005746, allocations: 0 / 487.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.005748, allocations: 1.281 kB / 487.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005751, allocations: 0 / 487.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.025e-05/0.005842, allocations: 108.3 kB / 487.4 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005843, allocations: 1.281 kB / 487.4 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.00587, allocations: 8.766 kB / 487.4 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.005872, allocations: 5.062 kB / 487.4 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.005877, allocations: 1.156 kB / 487.4 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005878, allocations: 2.031 kB / 487.4 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.005879, allocations: 3.938 kB / 487.4 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.005988, allocations: 196.6 kB / 487.6 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.005997, allocations: 6.578 kB / 487.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.006007, allocations: 3.938 kB / 487.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.564e-05/0.006042, allocations: 7.734 kB / 487.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.006071, allocations: 1.156 kB / 487.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006075, allocations: 1.094 kB / 487.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.006147, allocations: 134.8 kB / 487.7 MB, free: 23.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006147, allocations: 0 / 487.7 MB, free: 23.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001508/0.006298, allocations: 12.97 kB / 487.7 MB, free: 23.68 MB / 426.7 MB 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 7.197e-05/0.00637, allocations: 94.12 kB / 487.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.006441, allocations: 23.23 kB / 487.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006443, allocations: 0 / 487.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.006461, allocations: 12.78 kB / 487.9 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.006618, allocations: 10.02 kB / 487.9 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.007097, allocations: 189.8 kB / 488.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.793e-05/0.007125, allocations: 55.67 kB / 488.1 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.00715, allocations: 4.484 kB / 488.1 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.007192, allocations: 69.89 kB / 488.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007193, allocations: 5.125 kB / 488.2 MB, free: 23.26 MB / 426.7 MB Notification: Performance of Templates: time 0.002145/0.009338, allocations: 0.5109 MB / 488.7 MB, free: 23.21 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.516123096924275]