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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 186 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.006/1.006, allocations: 149.6 MB / 456.6 MB, free: 1.191 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002136/0.002136, allocations: 70.11 kB / 0.6328 GB, free: 8.953 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2322, allocations: 87.88 MB / 0.7187 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003/0.2352, allocations: 1.515 MB / 0.7201 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.2361, allocations: 419 kB / 0.7205 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.2361, allocations: 0 / 0.7205 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.2361, allocations: 3.938 kB / 0.7205 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.2362, allocations: 19.84 kB / 0.7206 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.2364, allocations: 19.86 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.622e-05/0.2365, allocations: 51.84 kB / 0.7206 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2366, allocations: 8 kB / 0.7206 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2367, allocations: 27.84 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.2368, allocations: 27.86 kB / 0.7207 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2368, allocations: 4 kB / 0.7207 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.2368, allocations: 7.938 kB / 0.7207 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.2368, allocations: 7.984 kB / 0.7207 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.2369, allocations: 19.88 kB / 0.7207 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.237, allocations: 51.73 kB / 0.7208 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.237, allocations: 4 kB / 0.7208 GB, free: 14.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.237, allocations: 0 / 0.7208 GB, free: 14.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.237, allocations: 0 / 0.7208 GB, free: 14.81 MB / 0.545 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.0005421/0.2375, allocations: 282.2 kB / 0.7211 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2376, allocations: 8.625 kB / 0.7211 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.2376, allocations: 8.891 kB / 0.7211 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2378, allocations: 114.4 kB / 0.7212 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2378, allocations: 12.3 kB / 0.7212 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.2378, allocations: 3.938 kB / 0.7212 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.238, allocations: 57.67 kB / 0.7213 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.238, allocations: 0 / 0.7213 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.238, allocations: 4 kB / 0.7213 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.238, allocations: 0 / 0.7213 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.2382, allocations: 35.95 kB / 0.7213 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.2386, allocations: 236 kB / 0.7215 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2387, allocations: 54.48 kB / 0.7216 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.2388, allocations: 20.94 kB / 0.7216 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2388, allocations: 0 / 0.7216 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2388, allocations: 30.56 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2388, allocations: 4 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003355/0.2392, allocations: 89.61 kB / 0.7217 GB, free: 13.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.2392, allocations: 55.34 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2393, allocations: 121.8 kB / 0.7219 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.2394, allocations: 25.7 kB / 0.7219 GB, free: 13.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.2394, allocations: 88.14 kB / 0.722 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2394, allocations: 11.89 kB / 0.722 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.2395, allocations: 21.7 kB / 0.722 GB, free: 13.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2397, allocations: 318.8 kB / 0.7223 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.2398, allocations: 19.98 kB / 0.7223 GB, free: 13.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.2398, allocations: 19.92 kB / 0.7224 GB, free: 13.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.24, allocations: 40.83 kB / 0.7224 GB, free: 12.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.24, allocations: 4 kB / 0.7224 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001902/0.2402, allocations: 77.61 kB / 0.7225 GB, free: 12.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2402, allocations: 4 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2402, allocations: 3.984 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2402, allocations: 3.938 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2403, allocations: 8 kB / 0.7225 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2403, allocations: 0 / 0.7225 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.2404, allocations: 7.984 kB / 0.7225 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2404, allocations: 3.938 kB / 0.7225 GB, free: 12.87 MB / 0.545 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 8.997e-05/0.2405, allocations: 109.8 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.2405, allocations: 7.953 kB / 0.7226 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.2405, allocations: 12 kB / 0.7226 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2405, allocations: 3.984 kB / 0.7226 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2405, allocations: 0 / 0.7226 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2405, allocations: 0 / 0.7226 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.2407, allocations: 148.6 kB / 0.7228 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2407, allocations: 0 / 0.7228 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.2408, allocations: 7.984 kB / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2408, allocations: 0 / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2408, allocations: 4 kB / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2408, allocations: 4 kB / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2408, allocations: 3.984 kB / 0.7228 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.2411, allocations: 175.7 kB / 0.723 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-06/0.2411, allocations: 4 kB / 0.723 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2411, allocations: 0 / 0.723 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.2412, allocations: 4.047 kB / 0.723 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.2412, allocations: 11.97 kB / 0.723 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.2412, allocations: 4 kB / 0.723 GB, free: 12.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.554e-05/0.2413, allocations: 99.64 kB / 0.7231 GB, free: 12.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2413, allocations: 0 / 0.7231 GB, free: 12.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000223/0.2415, allocations: 11.95 kB / 0.7231 GB, free: 12.19 MB / 0.545 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.0001177/0.2416, allocations: 103.2 kB / 0.7232 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2418, allocations: 39.91 kB / 0.7232 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2418, allocations: 4 kB / 0.7232 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.2419, allocations: 19.97 kB / 0.7233 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.2421, allocations: 8.328 kB / 0.7233 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.2426, allocations: 165.3 kB / 0.7234 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.2429, allocations: 0.6845 MB / 0.7241 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.243, allocations: 8 kB / 0.7241 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.243, allocations: 7.438 kB / 0.7241 GB, free: 11.1 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.243, allocations: 0 / 0.7241 GB, free: 11.1 MB / 0.545 GB Notification: Performance of Templates: time 0.003142/0.2462, allocations: 486.4 kB / 0.7246 GB, free: 10.62 MB / 0.545 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: 6.03191046603024] Failed to read output from testmodel.py, exit status != 0: 0.2557276450097561 0.271635361 0.031346683 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd76fc857b0>