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.001033/0.001033, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001328/0.001328, allocations: 169 kB / 24.14 MB, free: 360 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 1.054/1.054, allocations: 177.2 MB / 204.6 MB, free: 5.457 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.6624/0.6624, allocations: 115 MB / 376 MB, free: 7.426 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 2.104e-06/2.104e-06, allocations: 0 / 428.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.132e-05, allocations: 2.312 kB / 428.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002643/0.002674, allocations: 1.604 MB / 430.4 MB, free: 1.102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.00346, allocations: 490.7 kB / 430.8 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.00353, allocations: 0 / 430.8 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.003563, allocations: 3.938 kB / 430.8 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.00363, allocations: 19.8 kB / 430.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.003855, allocations: 35.89 kB / 430.9 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.003976, allocations: 59.73 kB / 431 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.004065, allocations: 11.97 kB / 431 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.004219, allocations: 35.84 kB / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.00428, allocations: 15.98 kB / 431 MB, free: 452 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.004295, allocations: 4 kB / 431 MB, free: 448 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.004352, allocations: 8 kB / 431 MB, free: 440 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.004368, allocations: 19.91 kB / 431.1 MB, free: 420 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.004388, allocations: 12 kB / 431.1 MB, free: 408 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.004497, allocations: 43.77 kB / 431.1 MB, free: 364 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.0045, allocations: 0 / 431.1 MB, free: 364 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004501, allocations: 0 / 431.1 MB, free: 364 kB / 394.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.004508, allocations: 3.984 kB / 431.1 MB, free: 360 kB / 394.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.0003128/0.004821, allocations: 260.7 kB / 431.4 MB, free: 76 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.004855, allocations: 12.03 kB / 431.4 MB, free: 64 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.004994, allocations: 16.92 kB / 431.4 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.00516, allocations: 129.8 kB / 431.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.005169, allocations: 4.312 kB / 431.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.005177, allocations: 4.375 kB / 431.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.005276, allocations: 58.5 kB / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.005282, allocations: 0 / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.005292, allocations: 11.94 kB / 431.6 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005296, allocations: 0 / 431.6 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.005316, allocations: 7.938 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.005524, allocations: 156.3 kB / 431.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.005579, allocations: 34.62 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.005594, allocations: 8.797 kB / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.005606, allocations: 4 kB / 431.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.005626, allocations: 34.5 kB / 431.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.005626, allocations: 0 / 431.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001178/0.005744, allocations: 45.77 kB / 431.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.005772, allocations: 51.41 kB / 431.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.005848, allocations: 138.7 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.005858, allocations: 25.7 kB / 432.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.005894, allocations: 88.08 kB / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.005915, allocations: 15.88 kB / 432.2 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.005945, allocations: 17.72 kB / 432.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.006033, allocations: 318.8 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.006047, allocations: 3.984 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.006058, allocations: 4 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.006091, allocations: 20.78 kB / 432.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.006094, allocations: 0 / 432.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.128e-05/0.006155, allocations: 45.62 kB / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.006167, allocations: 4 kB / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006172, allocations: 0 / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.006182, allocations: 0 / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.006251, allocations: 12 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006254, allocations: 0 / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.006275, allocations: 3.984 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.006281, allocations: 4 kB / 432.6 MB, free: 14.68 MB / 410.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 5.557e-05/0.006336, allocations: 109.8 kB / 432.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.006357, allocations: 7.938 kB / 432.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.006381, allocations: 11.98 kB / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006383, allocations: 0 / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.006385, allocations: 0 / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.006389, allocations: 4 kB / 432.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.22e-05/0.006481, allocations: 77.88 kB / 432.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006483, allocations: 3.938 kB / 432.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.006511, allocations: 4 kB / 432.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006512, allocations: 0 / 432.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.00652, allocations: 7.938 kB / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.006521, allocations: 3.984 kB / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006522, allocations: 0 / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.006624, allocations: 135.5 kB / 433 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.006632, allocations: 3.953 kB / 433 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.006645, allocations: 11.94 kB / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.006682, allocations: 0 / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.006711, allocations: 11.92 kB / 433 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.006714, allocations: 4 kB / 433 MB, free: 14.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.932e-05/0.006734, allocations: 20.83 kB / 433 MB, free: 14.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006734, allocations: 0 / 433 MB, free: 14.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.006858, allocations: 12 kB / 433 MB, free: 14.21 MB / 410.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 0.00011/0.006968, allocations: 76.42 kB / 433.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.007054, allocations: 16.84 kB / 433.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.007059, allocations: 0 / 433.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.007084, allocations: 9.328 kB / 433.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.007265, allocations: 19.84 kB / 433.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.007901, allocations: 172.4 kB / 433.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.007937, allocations: 63.2 kB / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.591e-05/0.007963, allocations: 8.078 kB / 433.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.008003, allocations: 51.38 kB / 433.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008004, allocations: 0 / 433.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of Templates: time 0.002002/0.01001, allocations: 453 kB / 433.9 MB, free: 13.3 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.69028752297163]