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.002601/0.002601, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002983/0.002983, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 1.086/1.086, allocations: 115 MB / 375.3 MB, free: 7.598 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.693e-06/1.693e-06, allocations: 0 / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.216e-05, allocations: 9.547 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002288/0.00232, allocations: 1.534 MB / 482.3 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.003032, allocations: 480.3 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.003088, allocations: 0 / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.003114, allocations: 6.875 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.003175, allocations: 14.47 kB / 482.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.003388, allocations: 42.12 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003492, allocations: 54.27 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.003578, allocations: 12.38 kB / 482.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.003723, allocations: 37.55 kB / 482.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.003784, allocations: 17.73 kB / 483 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.003801, allocations: 6.219 kB / 483 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-05/0.003843, allocations: 5.188 kB / 483 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.003856, allocations: 7.938 kB / 483 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.003884, allocations: 20.27 kB / 483 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004016, allocations: 54.89 kB / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.004019, allocations: 1.438 kB / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.00402, allocations: 0 / 483.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004024, allocations: 0 / 483.1 MB, free: 10.41 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.0004018/0.004426, allocations: 394.3 kB / 483.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004463, allocations: 10.75 kB / 483.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.004662, allocations: 25.44 kB / 483.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.004792, allocations: 129.3 kB / 483.6 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.004803, allocations: 6.594 kB / 483.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.004811, allocations: 4.312 kB / 483.6 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.00495, allocations: 56.83 kB / 483.7 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.004959, allocations: 0 / 483.7 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004968, allocations: 3.875 kB / 483.7 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.004971, allocations: 1.156 kB / 483.7 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.67e-05/0.005068, allocations: 32.52 kB / 483.7 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.005357, allocations: 274.6 kB / 484 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.005462, allocations: 47.17 kB / 484 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.005515, allocations: 25.55 kB / 484 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.005533, allocations: 0 / 484 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.005551, allocations: 40.95 kB / 484.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.005552, allocations: 0 / 484.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000271/0.005823, allocations: 81.53 kB / 484.2 MB, free: 9.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.005843, allocations: 52.41 kB / 484.2 MB, free: 9.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.006085, allocations: 190.8 kB / 484.4 MB, free: 25.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.006093, allocations: 26.2 kB / 484.4 MB, free: 25.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.006173, allocations: 142.8 kB / 484.6 MB, free: 24.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.006192, allocations: 9.75 kB / 484.6 MB, free: 24.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.006228, allocations: 22.44 kB / 484.6 MB, free: 24.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.006471, allocations: 0.4921 MB / 485.1 MB, free: 24.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.006523, allocations: 11.47 kB / 485.1 MB, free: 24.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.006565, allocations: 11.59 kB / 485.1 MB, free: 24.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/0.006657, allocations: 48.22 kB / 485.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006658, allocations: 0.9688 kB / 485.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001399/0.006798, allocations: 66.94 kB / 485.2 MB, free: 24.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.006812, allocations: 6.469 kB / 485.2 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.006816, allocations: 0 / 485.2 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.006831, allocations: 2.312 kB / 485.2 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.006915, allocations: 8.406 kB / 485.2 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.00692, allocations: 0.9375 kB / 485.2 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.006962, allocations: 3.625 kB / 485.2 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.00697, allocations: 1.188 kB / 485.2 MB, free: 24.38 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 9.637e-05/0.007066, allocations: 170.5 kB / 485.4 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.007093, allocations: 9.156 kB / 485.4 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.007118, allocations: 5.125 kB / 485.4 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.007119, allocations: 0.9375 kB / 485.4 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.007123, allocations: 5 kB / 485.4 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.007125, allocations: 0 / 485.4 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.007235, allocations: 143.9 kB / 485.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007236, allocations: 0 / 485.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.007293, allocations: 5.438 kB / 485.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007295, allocations: 3.219 kB / 485.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.007302, allocations: 3.422 kB / 485.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007304, allocations: 1.25 kB / 485.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007305, allocations: 0 / 485.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.007513, allocations: 211.5 kB / 485.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.007524, allocations: 7.234 kB / 485.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.007538, allocations: 6.75 kB / 485.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.007608, allocations: 5.719 kB / 485.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.007647, allocations: 5.188 kB / 485.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.007652, allocations: 5.438 kB / 485.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.904e-05/0.007741, allocations: 140.8 kB / 486 MB, free: 23.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007741, allocations: 0.5625 kB / 486 MB, free: 23.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.007946, allocations: 8.75 kB / 486 MB, free: 23.7 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 9.494e-05/0.008041, allocations: 95.09 kB / 486.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.008197, allocations: 47.03 kB / 486.1 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.008199, allocations: 0 / 486.1 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.008256, allocations: 26.86 kB / 486.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.008469, allocations: 16.03 kB / 486.2 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.008799, allocations: 156.7 kB / 486.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.008841, allocations: 70.23 kB / 486.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.008873, allocations: 4.094 kB / 486.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.008904, allocations: 17.64 kB / 486.4 MB, free: 23.34 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008905, allocations: 1.062 kB / 486.4 MB, free: 23.34 MB / 426.7 MB Notification: Performance of Templates: time 0.00292/0.01183, allocations: 478.9 kB / 486.9 MB, free: 23.31 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: 5.666413312079385]