Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.001584/0.001584, allocations: 115 kB / 17.76 MB, free: 5.344 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.001627/0.001627, allocations: 186.9 kB / 20.7 MB, free: 2.414 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.538/1.538, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.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.073/1.073, allocations: 147.6 MB / 446.2 MB, free: 8.371 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.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 69.41 kB / 0.6121 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.137, allocations: 83.16 MB / 0.6933 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.00495/0.142, allocations: 3.289 MB / 0.6965 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.1455, allocations: 1.723 MB / 0.6982 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007703/0.1463, allocations: 20.34 kB / 0.6982 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.1468, allocations: 163 kB / 0.6984 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.1473, allocations: 123.2 kB / 0.6985 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008211/0.1482, allocations: 361.9 kB / 0.6988 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1495, allocations: 1.073 MB / 0.6999 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.1506, allocations: 0.6311 MB / 0.7005 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.1512, allocations: 398.3 kB / 0.7009 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.1517, allocations: 449.6 kB / 0.7013 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.1518, allocations: 120 kB / 0.7014 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.152, allocations: 116 kB / 0.7015 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.1522, allocations: 255.1 kB / 0.7018 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.1527, allocations: 489.2 kB / 0.7022 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1542, allocations: 1.315 MB / 0.7035 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1542, allocations: 4 kB / 0.7035 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.915e-06/0.1542, allocations: 0 / 0.7035 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.691e-05/0.1542, allocations: 0 / 0.7035 GB, free: 3.953 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002563/0.1568, allocations: 1.316 MB / 0.7048 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1569, allocations: 16.03 kB / 0.7048 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.1571, allocations: 120.2 kB / 0.705 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.158, allocations: 0.5679 MB / 0.7055 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.1581, allocations: 70.38 kB / 0.7056 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.1583, allocations: 100.3 kB / 0.7057 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.1599, allocations: 0.8749 MB / 0.7065 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.16, allocations: 192 / 0.7065 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.1601, allocations: 51.92 kB / 0.7066 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.1601, allocations: 23.94 kB / 0.7066 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.1614, allocations: 0.6207 MB / 0.7072 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.1659, allocations: 2.787 MB / 0.7099 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.1676, allocations: 1.298 MB / 0.7112 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.1683, allocations: 403.6 kB / 0.7116 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.1684, allocations: 12.66 kB / 0.7116 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007197/0.1691, allocations: 356.3 kB / 0.7119 GB, free: 11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=74): time 2.585e-06/0.1691, allocations: 0 / 0.7119 GB, free: 11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=74): time 0.001735/0.1709, allocations: 0.8176 MB / 0.7127 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.171, allocations: 166.9 kB / 0.7129 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.1718, allocations: 0.5655 MB / 0.7134 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.1718, allocations: 37.7 kB / 0.7135 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.1722, allocations: 401 kB / 0.7139 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.1724, allocations: 269.7 kB / 0.7141 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.1726, allocations: 126.7 kB / 0.7142 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.1729, allocations: 378.8 kB / 0.7146 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/0.1735, allocations: 256.7 kB / 0.7148 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.1741, allocations: 357.2 kB / 0.7152 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1752, allocations: 0.5409 MB / 0.7157 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1753, allocations: 0 / 0.7157 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001481/0.1767, allocations: 0.7118 MB / 0.7164 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1768, allocations: 4 kB / 0.7164 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1768, allocations: 4 kB / 0.7164 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1768, allocations: 4 kB / 0.7164 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.1774, allocations: 147.8 kB / 0.7166 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.1775, allocations: 15.94 kB / 0.7166 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.1779, allocations: 99.56 kB / 0.7167 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.178, allocations: 23.98 kB / 0.7167 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005933/0.1786, allocations: 350.1 kB / 0.717 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004809/0.1791, allocations: 313.2 kB / 0.7173 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007424/0.1798, allocations: 462 kB / 0.7178 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.1798, allocations: 0 / 0.7178 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001055/0.1809, allocations: 0.6143 MB / 0.7184 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1809, allocations: 9.656 kB / 0.7184 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1809, allocations: 7.938 kB / 0.7184 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.1809, allocations: 4 kB / 0.7184 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.1815, allocations: 131.8 kB / 0.7185 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1815, allocations: 4 kB / 0.7185 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.1818, allocations: 87.52 kB / 0.7186 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.1819, allocations: 20 kB / 0.7186 GB, free: 3.953 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002295/0.1821, allocations: 224.1 kB / 0.7188 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1822, allocations: 75.53 kB / 0.7189 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.1836, allocations: 0.6455 MB / 0.7195 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.1836, allocations: 8 kB / 0.7195 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1836, allocations: 11.94 kB / 0.7196 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1836, allocations: 3.984 kB / 0.7196 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.1864, allocations: 1.686 MB / 0.7212 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1864, allocations: 0 / 0.7212 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.187, allocations: 135.8 kB / 0.7213 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.187, allocations: 8.188 kB / 0.7213 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.1871, allocations: 23.98 kB / 0.7214 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.1871, allocations: 4 kB / 0.7214 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1871, allocations: 3.938 kB / 0.7214 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.189, allocations: 1.074 MB / 0.7224 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.1892, allocations: 164.4 kB / 0.7226 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.1893, allocations: 20 kB / 0.7226 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.1896, allocations: 43.95 kB / 0.7226 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.1897, allocations: 44.44 kB / 0.7227 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.1898, allocations: 27.98 kB / 0.7227 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000503/0.1903, allocations: 398.8 kB / 0.7231 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1903, allocations: 0 / 0.7231 GB, free: 15.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007387/0.191, allocations: 310.9 kB / 0.7234 GB, free: 14.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001997/0.1912, allocations: 131.1 kB / 0.7235 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.193, allocations: 0.8871 MB / 0.7244 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.193, allocations: 4 kB / 0.7244 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.1936, allocations: 315.8 kB / 0.7247 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.1943, allocations: 151.1 kB / 0.7248 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.1969, allocations: 1.57 MB / 0.7264 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.1975, allocations: 0.9778 MB / 0.7273 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.1977, allocations: 67.42 kB / 0.7274 GB, free: 10.74 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.1978, allocations: 0 / 0.7274 GB, free: 10.74 MB / 0.545 GB Notification: Performance of Templates: time 0.0145/0.2123, allocations: 9.165 MB / 0.7363 GB, free: 1.57 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.788464735960588] Failed to read output from testmodel.py, exit status != 0: 0.45928704692050815 0.23314846899999994 0.07617327299999994 Calling exit ...