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.001466/0.001466, allocations: 111.9 kB / 19.64 MB, free: 2.152 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.001233/0.001233, allocations: 202.3 kB / 22.92 MB, free: 5.07 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.347/1.347, allocations: 225.6 MB / 251.7 MB, free: 13.27 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 0.8053/0.8053, allocations: 129.2 MB / 436 MB, free: 5.715 MB / 334.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.001827/0.001827, allocations: 61.53 kB / 0.6041 GB, free: 20.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1492, allocations: 83.45 MB / 0.6856 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002677/0.1518, allocations: 1.513 MB / 0.687 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.1525, allocations: 434.8 kB / 0.6875 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.1526, allocations: 0 / 0.6875 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.1526, allocations: 3.938 kB / 0.6875 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.1527, allocations: 11.92 kB / 0.6875 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1528, allocations: 23.84 kB / 0.6875 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.1529, allocations: 55.78 kB / 0.6875 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.153, allocations: 8 kB / 0.6876 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1531, allocations: 19.92 kB / 0.6876 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.1532, allocations: 19.92 kB / 0.6876 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1532, allocations: 7.984 kB / 0.6876 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.1533, allocations: 7.938 kB / 0.6876 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1533, allocations: 7.984 kB / 0.6876 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.1533, allocations: 19.88 kB / 0.6876 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1534, allocations: 47.75 kB / 0.6877 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1534, allocations: 4 kB / 0.6877 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1534, allocations: 0 / 0.6877 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.1534, allocations: 4 kB / 0.6877 GB, free: 15.12 MB / 0.5137 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.0005302/0.154, allocations: 359.2 kB / 0.688 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.154, allocations: 8.625 kB / 0.688 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.154, allocations: 8.891 kB / 0.688 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1542, allocations: 184.2 kB / 0.6882 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1542, allocations: 4.375 kB / 0.6882 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1542, allocations: 7.938 kB / 0.6882 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1544, allocations: 57.61 kB / 0.6883 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1544, allocations: 0 / 0.6883 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1544, allocations: 0 / 0.6883 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1544, allocations: 0 / 0.6883 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1545, allocations: 35.97 kB / 0.6883 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1549, allocations: 276.8 kB / 0.6886 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.155, allocations: 38.56 kB / 0.6886 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.1551, allocations: 20.94 kB / 0.6886 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1551, allocations: 4 kB / 0.6886 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1552, allocations: 34.56 kB / 0.6887 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1552, allocations: 0 / 0.6887 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003165/0.1555, allocations: 101.5 kB / 0.6888 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1555, allocations: 51.41 kB / 0.6888 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.1556, allocations: 113.8 kB / 0.6889 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1556, allocations: 25.7 kB / 0.689 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.1557, allocations: 92.08 kB / 0.689 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1557, allocations: 15.89 kB / 0.6891 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.1557, allocations: 13.72 kB / 0.6891 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1559, allocations: 326.8 kB / 0.6894 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.1559, allocations: 11.98 kB / 0.6894 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.156, allocations: 19.92 kB / 0.6894 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1561, allocations: 44.83 kB / 0.6895 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1561, allocations: 0 / 0.6895 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001729/0.1563, allocations: 77.59 kB / 0.6895 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1563, allocations: 6.5 kB / 0.6895 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1563, allocations: 0 / 0.6895 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1563, allocations: 4 kB / 0.6895 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.1564, allocations: 7.984 kB / 0.6895 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1564, allocations: 0 / 0.6895 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.1565, allocations: 7.953 kB / 0.6896 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1565, allocations: 3.938 kB / 0.6896 GB, free: 12.98 MB / 0.5137 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 7.717e-05/0.1566, allocations: 117.1 kB / 0.6897 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1566, allocations: 11.98 kB / 0.6897 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.1566, allocations: 7.906 kB / 0.6897 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1566, allocations: 336 / 0.6897 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1566, allocations: 0 / 0.6897 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1566, allocations: 0 / 0.6897 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1568, allocations: 173.6 kB / 0.6899 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1568, allocations: 3.984 kB / 0.6899 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.1569, allocations: 11.98 kB / 0.6899 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1569, allocations: 0 / 0.6899 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1569, allocations: 0 / 0.6899 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1569, allocations: 7.938 kB / 0.6899 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.1569, allocations: 3.938 kB / 0.6899 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1571, allocations: 171.4 kB / 0.69 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1572, allocations: 81.06 kB / 0.6901 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1572, allocations: 0 / 0.6901 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.1573, allocations: 7.984 kB / 0.6901 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1573, allocations: 8 kB / 0.6901 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1573, allocations: 4 kB / 0.6901 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.1573, allocations: 95.64 kB / 0.6902 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1573, allocations: 0 / 0.6902 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002105/0.1576, allocations: 8 kB / 0.6902 GB, free: 12.18 MB / 0.5137 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.0001066/0.1577, allocations: 103.2 kB / 0.6903 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1579, allocations: 43.91 kB / 0.6904 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1579, allocations: 4 kB / 0.6904 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.1579, allocations: 19.98 kB / 0.6904 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.1581, allocations: 1.125 kB / 0.6904 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.1585, allocations: 180.6 kB / 0.6906 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1588, allocations: 0.6807 MB / 0.6912 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.1588, allocations: 8 kB / 0.6913 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1589, allocations: 11.42 kB / 0.6913 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1589, allocations: 0 / 0.6913 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.002649/0.1615, allocations: 479.3 kB / 0.6917 GB, free: 10.61 MB / 0.5137 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.023599750827998] Failed to read output from testmodel.py, exit status != 0: 0.16875009704381227 0.182523829 0.026344437000000002 Calling exit ...