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.001535/0.001535, allocations: 92.72 kB / 20.21 MB, free: 4.219 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.0015/0.0015, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.484/1.484, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.041/1.041, allocations: 115 MB / 375.3 MB, free: 7.57 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.003e-06/2.003e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.212e-05, allocations: 3.844 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002387/0.002419, allocations: 1.517 MB / 482.3 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.003215, allocations: 473.1 kB / 482.8 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.003282, allocations: 4.688 kB / 482.8 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.003316, allocations: 5.219 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.003375, allocations: 10.94 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.003622, allocations: 35.64 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.003746, allocations: 57.39 kB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003851, allocations: 8.562 kB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.004012, allocations: 46.41 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.004077, allocations: 13.77 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.004099, allocations: 5.812 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.373e-05/0.004142, allocations: 4.219 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.004154, allocations: 8.906 kB / 483 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.004187, allocations: 20.8 kB / 483 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.004308, allocations: 50.72 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004311, allocations: 0 / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.004312, allocations: 0.75 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.004318, allocations: 0 / 483 MB, free: 10.46 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.0005148/0.004833, allocations: 297 kB / 483.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.004873, allocations: 10.09 kB / 483.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.005117, allocations: 32.91 kB / 483.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.005295, allocations: 132.8 kB / 483.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.005306, allocations: 1.656 kB / 483.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.005318, allocations: 1.594 kB / 483.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.005485, allocations: 65.14 kB / 483.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005494, allocations: 1.5 kB / 483.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.005504, allocations: 0 / 483.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.00551, allocations: 7.203 kB / 483.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.005635, allocations: 30.22 kB / 483.6 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.006123, allocations: 218.5 kB / 483.8 MB, free: 25.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.006244, allocations: 46.81 kB / 483.9 MB, free: 25.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.006318, allocations: 22.59 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.006339, allocations: 4.125 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.006362, allocations: 32.38 kB / 483.9 MB, free: 25.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006363, allocations: 1.062 kB / 483.9 MB, free: 25.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.000366/0.006729, allocations: 91.14 kB / 484 MB, free: 25.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.006752, allocations: 54.09 kB / 484.1 MB, free: 25.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.006862, allocations: 125.6 kB / 484.2 MB, free: 25.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.006871, allocations: 25.7 kB / 484.2 MB, free: 25.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.006926, allocations: 91.95 kB / 484.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.006945, allocations: 12.3 kB / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.006976, allocations: 13.59 kB / 484.3 MB, free: 25.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.007134, allocations: 321.4 kB / 484.6 MB, free: 24.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.007208, allocations: 16.56 kB / 484.6 MB, free: 24.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.00727, allocations: 18.77 kB / 484.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.007395, allocations: 43.52 kB / 484.7 MB, free: 24.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007396, allocations: 0.9062 kB / 484.7 MB, free: 24.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002595/0.007656, allocations: 72.34 kB / 484.8 MB, free: 24.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.007672, allocations: 6 kB / 484.8 MB, free: 24.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.007678, allocations: 0 / 484.8 MB, free: 24.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.007699, allocations: 4.781 kB / 484.8 MB, free: 24.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.007813, allocations: 14.95 kB / 484.8 MB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007818, allocations: 1.062 kB / 484.8 MB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.007871, allocations: 6.734 kB / 484.8 MB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007879, allocations: 1.25 kB / 484.8 MB, free: 24.91 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.101e-05/0.00797, allocations: 117.5 kB / 484.9 MB, free: 24.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.008002, allocations: 8.031 kB / 484.9 MB, free: 24.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.00803, allocations: 9.406 kB / 484.9 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.008033, allocations: 5.5 kB / 485 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008037, allocations: 0 / 485 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.008041, allocations: 0 / 485 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.008161, allocations: 123.9 kB / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008162, allocations: 0 / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.008233, allocations: 10.41 kB / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.008236, allocations: 1.094 kB / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.008246, allocations: 0 / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.008247, allocations: 2.156 kB / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008248, allocations: 0 / 485.1 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.008512, allocations: 174.5 kB / 485.3 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.008523, allocations: 5.859 kB / 485.3 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.00854, allocations: 9.531 kB / 485.3 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.008629, allocations: 4.406 kB / 485.3 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.008679, allocations: 5.406 kB / 485.3 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.008684, allocations: 1.125 kB / 485.3 MB, free: 24.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.008759, allocations: 94.81 kB / 485.4 MB, free: 24.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008759, allocations: 0 / 485.4 MB, free: 24.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.008999, allocations: 7.469 kB / 485.4 MB, free: 24.4 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 0.0001275/0.009126, allocations: 101 kB / 485.5 MB, free: 24.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.009314, allocations: 38.78 kB / 485.5 MB, free: 24.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009316, allocations: 5.625 kB / 485.5 MB, free: 24.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.009386, allocations: 26.64 kB / 485.5 MB, free: 24.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.009647, allocations: 10.25 kB / 485.6 MB, free: 24.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.01008, allocations: 155.7 kB / 485.7 MB, free: 24.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.37e-05/0.01015, allocations: 71.86 kB / 485.8 MB, free: 24.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.01019, allocations: 5.75 kB / 485.8 MB, free: 24.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.01023, allocations: 11.69 kB / 485.8 MB, free: 24.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01023, allocations: 0 / 485.8 MB, free: 24.07 MB / 426.7 MB Notification: Performance of Templates: time 0.003243/0.01347, allocations: 476.6 kB / 486.3 MB, free: 24.04 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.634758968022652]