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.001201/0.001201, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001329/0.001329, allocations: 169 kB / 24.25 MB, free: 308 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.9378/0.9378, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.6382/0.6382, allocations: 115 MB / 376 MB, free: 7.648 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.563e-06/1.563e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.163e-05, allocations: 8.859 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002419/0.002451, allocations: 1.562 MB / 483.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.003155, allocations: 489.5 kB / 483.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.003213, allocations: 0.625 kB / 483.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.003241, allocations: 6.797 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.003295, allocations: 16.14 kB / 483.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003516, allocations: 27.3 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003637, allocations: 58.11 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.003731, allocations: 14.56 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.003866, allocations: 40.34 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.003929, allocations: 22.19 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.003944, allocations: 3.406 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.003983, allocations: 5.844 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.003995, allocations: 9.078 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.004021, allocations: 14.06 kB / 483.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.004129, allocations: 43.36 kB / 483.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004132, allocations: 0 / 483.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.004133, allocations: 4.438 kB / 483.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.004137, allocations: 1.562 kB / 483.8 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.0003324/0.00447, allocations: 391.4 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.004514, allocations: 12 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.004685, allocations: 26.03 kB / 484.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.004824, allocations: 128.6 kB / 484.4 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.004835, allocations: 5.688 kB / 484.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.004845, allocations: 2.969 kB / 484.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.004966, allocations: 58.53 kB / 484.4 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.004972, allocations: 1.062 kB / 484.4 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.004983, allocations: 4 kB / 484.4 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.004992, allocations: 8.062 kB / 484.4 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.005027, allocations: 2.406 kB / 484.4 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.005296, allocations: 271.3 kB / 484.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.005368, allocations: 38.72 kB / 484.7 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.005394, allocations: 10.44 kB / 484.7 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.005407, allocations: 1.875 kB / 484.7 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.005423, allocations: 33.39 kB / 484.8 MB, free: 9.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.005424, allocations: 0.6562 kB / 484.8 MB, free: 9.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001752/0.005599, allocations: 59.53 kB / 484.8 MB, free: 9.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.005621, allocations: 51.41 kB / 484.9 MB, free: 9.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.005692, allocations: 183.4 kB / 485.1 MB, free: 9.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.005699, allocations: 28.45 kB / 485.1 MB, free: 9.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.005898, allocations: 134.4 kB / 485.2 MB, free: 25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.005916, allocations: 17.31 kB / 485.2 MB, free: 24.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.005949, allocations: 21.61 kB / 485.3 MB, free: 24.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.006072, allocations: 0.489 MB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.006093, allocations: 2.844 kB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.006109, allocations: 6.828 kB / 485.8 MB, free: 24.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.006153, allocations: 25.5 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006156, allocations: 0 / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.564e-05/0.006241, allocations: 48.73 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.006258, allocations: 6.625 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006263, allocations: 0.75 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.006278, allocations: 1.25 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.006361, allocations: 14.44 kB / 485.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.006367, allocations: 0 / 485.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.006396, allocations: 6.281 kB / 485.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.006403, allocations: 5.656 kB / 485.9 MB, free: 24.4 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.583e-05/0.006469, allocations: 156.5 kB / 486 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.006493, allocations: 3.812 kB / 486 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.006522, allocations: 12.77 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006523, allocations: 0 / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.006526, allocations: 0 / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.006531, allocations: 1.469 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.006637, allocations: 128.9 kB / 486.2 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006638, allocations: 0.5 kB / 486.2 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.006676, allocations: 14.48 kB / 486.2 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006679, allocations: 0.8125 kB / 486.2 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.006686, allocations: 4 kB / 486.2 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006688, allocations: 5.031 kB / 486.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.00669, allocations: 3.375 kB / 486.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.006816, allocations: 195 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.006824, allocations: 7.109 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.006837, allocations: 1.812 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.006893, allocations: 4.344 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.006933, allocations: 1.875 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.006938, allocations: 2.656 kB / 486.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.44e-05/0.007003, allocations: 139.1 kB / 486.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007003, allocations: 0 / 486.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.007222, allocations: 11.62 kB / 486.6 MB, free: 23.75 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.919e-05/0.007321, allocations: 93.44 kB / 486.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.447e-05/0.007415, allocations: 27.98 kB / 486.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007417, allocations: 0 / 486.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.007442, allocations: 15.66 kB / 486.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.007664, allocations: 9.797 kB / 486.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.008295, allocations: 185.3 kB / 486.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.008331, allocations: 58.39 kB / 486.9 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.008359, allocations: 5.484 kB / 486.9 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.008389, allocations: 12 kB / 487 MB, free: 23.38 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.00839, allocations: 0 / 487 MB, free: 23.38 MB / 426.7 MB Notification: Performance of Templates: time 0.002474/0.01086, allocations: 485.7 kB / 487.4 MB, free: 23.34 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.42912674206309]