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.001357/0.001357, allocations: 105 kB / 20.45 MB, free: 1.5 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.001643/0.001643, allocations: 218 kB / 23.76 MB, free: 4.711 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.9675/0.9675, allocations: 150 MB / 463.9 MB, free: 10.56 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.002046/0.002046, allocations: 74.59 kB / 0.6425 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2067, allocations: 89.16 MB / 0.7296 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00364/0.2104, allocations: 1.546 MB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2115, allocations: 498.8 kB / 0.7316 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.975e-05/0.2116, allocations: 11.94 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.2116, allocations: 3.938 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.2117, allocations: 11.86 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.212, allocations: 31.95 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.2122, allocations: 59.67 kB / 0.7317 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2123, allocations: 7.984 kB / 0.7317 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2124, allocations: 35.91 kB / 0.7317 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.2125, allocations: 23.86 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2125, allocations: 8 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.2126, allocations: 8 kB / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.2126, allocations: 7.984 kB / 0.7318 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.2126, allocations: 19.88 kB / 0.7318 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2128, allocations: 59.67 kB / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2128, allocations: 0 / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2128, allocations: 0 / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2128, allocations: 0 / 0.7318 GB, free: 14.51 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.0005541/0.2134, allocations: 290.1 kB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2134, allocations: 12.03 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.2137, allocations: 32.8 kB / 0.7322 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.2139, allocations: 130.4 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2139, allocations: 384 / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.214, allocations: 7.938 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2141, allocations: 57.61 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2142, allocations: 3.938 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2142, allocations: 0 / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2142, allocations: 4 kB / 0.7324 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.2143, allocations: 31.97 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.2147, allocations: 247.9 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2149, allocations: 38.56 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.2149, allocations: 28.94 kB / 0.7327 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.215, allocations: 0 / 0.7327 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.215, allocations: 30.56 kB / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.215, allocations: 0 / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003428/0.2153, allocations: 97.67 kB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.2154, allocations: 51.41 kB / 0.7329 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2155, allocations: 125.3 kB / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2155, allocations: 25.7 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.2156, allocations: 92.12 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2156, allocations: 7.906 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.2157, allocations: 17.72 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2158, allocations: 326.8 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.2159, allocations: 11.98 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.2159, allocations: 24.02 kB / 0.7335 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.2161, allocations: 44.83 kB / 0.7335 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2161, allocations: 0 / 0.7335 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001761/0.2162, allocations: 69.61 kB / 0.7336 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2163, allocations: 4 kB / 0.7336 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2163, allocations: 8 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2163, allocations: 0 / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2164, allocations: 11.98 kB / 0.7336 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2164, allocations: 4 kB / 0.7336 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.2165, allocations: 11.88 kB / 0.7336 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2165, allocations: 7.938 kB / 0.7336 GB, free: 12.51 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.0001038/0.2166, allocations: 113.8 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.2166, allocations: 4 kB / 0.7337 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.2166, allocations: 8 kB / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2166, allocations: 4 kB / 0.7337 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2166, allocations: 0 / 0.7337 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2166, allocations: 4 kB / 0.7337 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.2168, allocations: 148.6 kB / 0.7339 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2168, allocations: 0 / 0.7339 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.2169, allocations: 11.98 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2169, allocations: 3.938 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2169, allocations: 0 / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2169, allocations: 3.938 kB / 0.7339 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2169, allocations: 4 kB / 0.7339 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.2172, allocations: 171.4 kB / 0.7341 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.2172, allocations: 7.953 kB / 0.7341 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.2172, allocations: 4 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.2173, allocations: 4 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.2173, allocations: 3.984 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.2173, allocations: 0 / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.587e-05/0.2174, allocations: 99.2 kB / 0.7342 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2174, allocations: 0 / 0.7342 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002232/0.2176, allocations: 12 kB / 0.7342 GB, free: 11.84 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.0001158/0.2177, allocations: 99.25 kB / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.218, allocations: 35.91 kB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.218, allocations: 0 / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.218, allocations: 23.97 kB / 0.7343 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2183, allocations: 9.719 kB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.2188, allocations: 210.9 kB / 0.7346 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.2192, allocations: 0.6807 MB / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2192, allocations: 15.42 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2192, allocations: 0 / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.002704/0.2219, allocations: 0.7525 MB / 0.736 GB, free: 9.961 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.272704961942509] Failed to read output from testmodel.py, exit status != 0: 0.23177090589888394 0.24808650199999996 0.031989742 Calling exit ...