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.001092/0.001092, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001338/0.001338, allocations: 169 kB / 24.05 MB, free: 448 kB / 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.9986/0.9986, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6903/0.6903, allocations: 115 MB / 376 MB, free: 7.516 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.353e-06/1.353e-06, allocations: 1.203 kB / 482 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.125e-05, allocations: 5.078 kB / 482 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001952/0.001973, allocations: 1.555 MB / 483.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.002692, allocations: 492 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.002774, allocations: 1.156 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.002809, allocations: 3.938 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.002877, allocations: 14 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.003105, allocations: 34.36 kB / 484.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.00322, allocations: 60.92 kB / 484.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.003315, allocations: 7.25 kB / 484.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.003462, allocations: 38.16 kB / 484.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.003527, allocations: 18.5 kB / 484.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003546, allocations: 4.156 kB / 484.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.887e-05/0.003595, allocations: 9.906 kB / 484.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.003609, allocations: 5.234 kB / 484.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.003634, allocations: 18.58 kB / 484.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003758, allocations: 46.92 kB / 484.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.003761, allocations: 1 kB / 484.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003762, allocations: 0.5625 kB / 484.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.003766, allocations: 0 / 484.3 MB, free: 10.34 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.0003476/0.004113, allocations: 392.7 kB / 484.6 MB, free: 9.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.004159, allocations: 9.312 kB / 484.7 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.004323, allocations: 23.8 kB / 484.7 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.004446, allocations: 135.6 kB / 484.8 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.004459, allocations: 7.188 kB / 484.8 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.004467, allocations: 1.562 kB / 484.8 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.004564, allocations: 57.92 kB / 484.9 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004571, allocations: 0 / 484.9 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.004579, allocations: 5.188 kB / 484.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004584, allocations: 1.438 kB / 484.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.781e-05/0.004612, allocations: 7.766 kB / 484.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.005026, allocations: 241.3 kB / 485.1 MB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.956e-05/0.005086, allocations: 41.56 kB / 485.2 MB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.005103, allocations: 10.28 kB / 485.2 MB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.005119, allocations: 2.531 kB / 485.2 MB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.005136, allocations: 37.75 kB / 485.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005137, allocations: 1.25 kB / 485.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001424/0.005279, allocations: 53.88 kB / 485.3 MB, free: 25.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.005299, allocations: 52.81 kB / 485.3 MB, free: 25.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.00538, allocations: 180.4 kB / 485.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.005388, allocations: 28.39 kB / 485.5 MB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.005435, allocations: 140.8 kB / 485.7 MB, free: 24.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.005455, allocations: 13.31 kB / 485.7 MB, free: 24.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.005487, allocations: 21.75 kB / 485.7 MB, free: 24.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.005618, allocations: 0.4908 MB / 486.2 MB, free: 24.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.005634, allocations: 5.938 kB / 486.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.005648, allocations: 9.562 kB / 486.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.005685, allocations: 14.12 kB / 486.2 MB, free: 24.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005687, allocations: 1.312 kB / 486.2 MB, free: 24.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.396e-05/0.005761, allocations: 55.77 kB / 486.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.005774, allocations: 5.406 kB / 486.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005779, allocations: 1.469 kB / 486.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.005791, allocations: 1.812 kB / 486.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.00586, allocations: 8.203 kB / 486.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.005862, allocations: 1.312 kB / 486.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.00589, allocations: 2.5 kB / 486.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.005897, allocations: 3.812 kB / 486.3 MB, free: 24.36 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 7.166e-05/0.005969, allocations: 155.7 kB / 486.5 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.005991, allocations: 6.5 kB / 486.5 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.006018, allocations: 10.97 kB / 486.5 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.00602, allocations: 1.375 kB / 486.5 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.006021, allocations: 1.031 kB / 486.5 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.006024, allocations: 0 / 486.5 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.006132, allocations: 112.5 kB / 486.6 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006134, allocations: 4.594 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.006173, allocations: 10.25 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.006176, allocations: 3.938 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.006182, allocations: 4.547 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.006184, allocations: 6 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006185, allocations: 0 / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.006313, allocations: 185.6 kB / 486.8 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.006322, allocations: 6.016 kB / 486.8 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.006334, allocations: 8.688 kB / 486.8 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.006387, allocations: 5 kB / 486.8 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.006419, allocations: 2.188 kB / 486.8 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.006423, allocations: 1.125 kB / 486.8 MB, free: 23.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.48e-05/0.006488, allocations: 140.2 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006488, allocations: 0 / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.006697, allocations: 7.469 kB / 487 MB, free: 23.73 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 8.534e-05/0.006783, allocations: 100.7 kB / 487.1 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.006853, allocations: 22.69 kB / 487.1 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006855, allocations: 3.938 kB / 487.1 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.006875, allocations: 12.88 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.007086, allocations: 9.469 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.007606, allocations: 181.5 kB / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.007636, allocations: 58.47 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.848e-05/0.007665, allocations: 6.609 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.007712, allocations: 74.27 kB / 487.4 MB, free: 23.31 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007713, allocations: 0 / 487.4 MB, free: 23.31 MB / 426.7 MB Notification: Performance of Templates: time 0.002348/0.01006, allocations: 0.5039 MB / 487.9 MB, free: 23.27 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.428543030284345]