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.001871/0.001871, allocations: 112.1 kB / 17.07 MB, free: 6.047 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.002183/0.002183, allocations: 186.9 kB / 20.01 MB, free: 3.141 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.49/1.49, allocations: 222.9 MB / 245.7 MB, free: 4.324 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.16/1.16, allocations: 147.6 MB / 445.5 MB, free: 8.336 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.002016/0.002016, allocations: 71.58 kB / 0.6114 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1744, allocations: 83.17 MB / 0.6926 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004859/0.1793, allocations: 3.295 MB / 0.6958 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1826, allocations: 1.722 MB / 0.6975 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.1831, allocations: 19.06 kB / 0.6975 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.1836, allocations: 155.9 kB / 0.6977 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.184, allocations: 131 kB / 0.6978 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.1847, allocations: 359.2 kB / 0.6982 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1858, allocations: 1.072 MB / 0.6992 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009689/0.1868, allocations: 0.6233 MB / 0.6998 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.1872, allocations: 402.3 kB / 0.7002 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.1877, allocations: 453.6 kB / 0.7006 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.1879, allocations: 120 kB / 0.7007 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.188, allocations: 116 kB / 0.7009 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1882, allocations: 259.1 kB / 0.7011 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.1887, allocations: 485.2 kB / 0.7016 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.1901, allocations: 1.311 MB / 0.7028 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1901, allocations: 0 / 0.7028 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1901, allocations: 4 kB / 0.7028 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.1902, allocations: 0 / 0.7028 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.002276/0.1924, allocations: 1.328 MB / 0.7041 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1925, allocations: 8.031 kB / 0.7042 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.1927, allocations: 120.2 kB / 0.7043 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009109/0.1936, allocations: 0.5524 MB / 0.7048 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1937, allocations: 70.38 kB / 0.7049 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.1939, allocations: 108.2 kB / 0.705 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.1954, allocations: 0.875 MB / 0.7058 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.1954, allocations: 192 / 0.7058 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.1955, allocations: 43.94 kB / 0.7059 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.1955, allocations: 20 kB / 0.7059 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.1969, allocations: 0.6207 MB / 0.7065 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.2011, allocations: 2.803 MB / 0.7092 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.203, allocations: 1.298 MB / 0.7105 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/0.2036, allocations: 403.7 kB / 0.7109 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.2037, allocations: 12.59 kB / 0.7109 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/0.2044, allocations: 348.4 kB / 0.7112 GB, free: 11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=74): time 2.084e-06/0.2045, allocations: 0 / 0.7112 GB, free: 11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=74): time 0.001661/0.2061, allocations: 0.8215 MB / 0.712 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.2062, allocations: 162.9 kB / 0.7122 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/0.2071, allocations: 0.5655 MB / 0.7127 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.2071, allocations: 41.7 kB / 0.7128 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.2075, allocations: 404.9 kB / 0.7132 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.2077, allocations: 273.6 kB / 0.7134 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2079, allocations: 126.7 kB / 0.7135 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2081, allocations: 378.8 kB / 0.7139 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.2086, allocations: 252.7 kB / 0.7142 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.2093, allocations: 365.1 kB / 0.7145 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.2103, allocations: 0.5331 MB / 0.715 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2103, allocations: 0 / 0.715 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001363/0.2117, allocations: 0.7157 MB / 0.7157 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2117, allocations: 8 kB / 0.7157 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2117, allocations: 0 / 0.7157 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2118, allocations: 4 kB / 0.7157 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.2123, allocations: 151.8 kB / 0.7159 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2124, allocations: 7.938 kB / 0.7159 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.2129, allocations: 99.5 kB / 0.716 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.2129, allocations: 27.98 kB / 0.716 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005791/0.2135, allocations: 351.6 kB / 0.7163 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004589/0.214, allocations: 313.1 kB / 0.7166 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000713/0.2147, allocations: 462 kB / 0.7171 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.713e-06/0.2147, allocations: 0 / 0.7171 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001015/0.2158, allocations: 0.6103 MB / 0.7177 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2158, allocations: 8 kB / 0.7177 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2158, allocations: 4.094 kB / 0.7177 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.2158, allocations: 7.938 kB / 0.7177 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.2163, allocations: 131.8 kB / 0.7178 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2163, allocations: 4 kB / 0.7178 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.2166, allocations: 83.53 kB / 0.7179 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.2167, allocations: 27.98 kB / 0.7179 GB, free: 3.949 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.0002048/0.2169, allocations: 212.1 kB / 0.7181 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.217, allocations: 83.52 kB / 0.7182 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2183, allocations: 0.6456 MB / 0.7188 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2183, allocations: 8 kB / 0.7188 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2183, allocations: 3.938 kB / 0.7189 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.2183, allocations: 7.984 kB / 0.7189 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.221, allocations: 1.686 MB / 0.7205 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.221, allocations: 3.984 kB / 0.7205 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.2216, allocations: 139.8 kB / 0.7206 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.2216, allocations: 4 kB / 0.7206 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.2217, allocations: 20.19 kB / 0.7207 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.2217, allocations: 4 kB / 0.7207 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2217, allocations: 0 / 0.7207 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.2235, allocations: 1.082 MB / 0.7217 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.2237, allocations: 168.5 kB / 0.7219 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.2238, allocations: 16 kB / 0.7219 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.2242, allocations: 43.95 kB / 0.7219 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.2242, allocations: 52.47 kB / 0.722 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.2243, allocations: 27.98 kB / 0.722 GB, free: 15.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004687/0.2248, allocations: 390.8 kB / 0.7224 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2248, allocations: 4 kB / 0.7224 GB, free: 15.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007372/0.2255, allocations: 310.9 kB / 0.7227 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.00021/0.2257, allocations: 127.8 kB / 0.7228 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.2275, allocations: 0.8912 MB / 0.7237 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2275, allocations: 0 / 0.7237 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.2281, allocations: 311.6 kB / 0.724 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.2289, allocations: 150.6 kB / 0.7241 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.2313, allocations: 1.541 MB / 0.7256 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/0.232, allocations: 0.9778 MB / 0.7266 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003165/0.2323, allocations: 93.11 kB / 0.7267 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.2325, allocations: 63.42 kB / 0.7267 GB, free: 10.7 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.2325, allocations: 0 / 0.7267 GB, free: 10.7 MB / 0.545 GB Notification: Performance of Templates: time 0.01601/0.2485, allocations: 7.624 MB / 0.7342 GB, free: 3.145 MB / 0.545 GB " [Timeout remaining time 659] 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: 6.218550982885063] Failed to read output from testmodel.py, exit status != 0: 0.5687061566859484 0.270055239 0.07725003300000001 Calling exit ...