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.001322/0.001322, allocations: 104.3 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001496/0.001496, allocations: 206.5 kB / 23.74 MB, free: 4.543 MB / 14.72 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 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 0.9681/0.9681, allocations: 149.9 MB / 463.8 MB, free: 10.35 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 62.89 kB / 0.6423 GB, free: 9.578 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2038, allocations: 89.17 MB / 0.7294 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003049/0.2069, allocations: 1.526 MB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.2078, allocations: 463 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.2079, allocations: 0 / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.2079, allocations: 3.938 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.208, allocations: 19.84 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.2082, allocations: 27.91 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.2084, allocations: 63.7 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2085, allocations: 16 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2086, allocations: 27.86 kB / 0.7315 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.2087, allocations: 23.91 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2087, allocations: 4 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.2087, allocations: 7.984 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.2088, allocations: 11.94 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.2088, allocations: 19.86 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.2089, allocations: 47.81 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2089, allocations: 0 / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2089, allocations: 0 / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2089, allocations: 0 / 0.7316 GB, free: 14.21 MB / 0.5606 GB 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.000544/0.2095, allocations: 306 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2095, allocations: 8.031 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.2097, allocations: 24.88 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.21, allocations: 130.4 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.21, allocations: 384 / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.21, allocations: 7.938 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2102, allocations: 57.59 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2102, allocations: 4 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2102, allocations: 4 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2102, allocations: 0 / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2104, allocations: 31.97 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.2107, allocations: 216.6 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2108, allocations: 38.5 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.2109, allocations: 24.94 kB / 0.7324 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.2109, allocations: 4 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.211, allocations: 34.55 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.211, allocations: 0 / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003251/0.2113, allocations: 89.61 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2113, allocations: 51.41 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2115, allocations: 128.8 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2115, allocations: 25.7 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.2115, allocations: 88.14 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2116, allocations: 11.91 kB / 0.7328 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.2116, allocations: 21.7 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2118, allocations: 322.7 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.2118, allocations: 15.98 kB / 0.7331 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.2119, allocations: 19.98 kB / 0.7332 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.212, allocations: 41.11 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.212, allocations: 0 / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000181/0.2122, allocations: 77.66 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2122, allocations: 6.188 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2122, allocations: 3.984 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2122, allocations: 0 / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.2123, allocations: 8 kB / 0.7333 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2123, allocations: 3.938 kB / 0.7333 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.2124, allocations: 19.81 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2124, allocations: 0 / 0.7333 GB, free: 12.26 MB / 0.5606 GB 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 0.0001011/0.2125, allocations: 117.8 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.2125, allocations: 4 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.2126, allocations: 12 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2126, allocations: 3.984 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2126, allocations: 0 / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2126, allocations: 0 / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2128, allocations: 125.2 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2128, allocations: 0 / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.2128, allocations: 11.92 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2128, allocations: 4 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2128, allocations: 0 / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2128, allocations: 0 / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2128, allocations: 4 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.2131, allocations: 175.3 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.2131, allocations: 7.953 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2131, allocations: 0 / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.2132, allocations: 8 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2132, allocations: 3.984 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2132, allocations: 0 / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.2133, allocations: 95.27 kB / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2133, allocations: 0 / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002145/0.2135, allocations: 8 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB 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.0001369/0.2136, allocations: 95.25 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.2138, allocations: 43.95 kB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2138, allocations: 0 / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.2139, allocations: 23.92 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.2141, allocations: 7.938 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.2146, allocations: 207 kB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.2147, allocations: 63.34 kB / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.2147, allocations: 15.42 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2147, allocations: 0 / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.002462/0.2172, allocations: 0.7724 MB / 0.7351 GB, free: 10.36 MB / 0.5606 GB " [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: 8.378826232161373] Failed to read output from testmodel.py, exit status != 0: 0.2261762130074203 0.24227994300000003 0.030035915000000003 Calling exit ...