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.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.00161/0.00161, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001483/0.001483, allocations: 204 kB / 20.09 MB, free: 2.977 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 1.117/1.117, allocations: 150 MB / 459.5 MB, free: 5.359 MB / 350.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.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: 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.001998/0.001998, allocations: 72.58 kB / 0.6366 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1864, allocations: 89.13 MB / 0.7237 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005181/0.1916, allocations: 3.311 MB / 0.7269 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1943, allocations: 1.754 MB / 0.7286 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.1946, allocations: 27.81 kB / 0.7287 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.195, allocations: 162.2 kB / 0.7288 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1953, allocations: 126.8 kB / 0.7289 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.1959, allocations: 363.4 kB / 0.7293 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.197, allocations: 1.069 MB / 0.7303 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000726/0.1978, allocations: 466.4 kB / 0.7308 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.1982, allocations: 410.3 kB / 0.7312 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.1986, allocations: 449.7 kB / 0.7316 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.1988, allocations: 120 kB / 0.7317 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1989, allocations: 123.9 kB / 0.7318 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1992, allocations: 251.1 kB / 0.7321 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.1996, allocations: 485.2 kB / 0.7325 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.2009, allocations: 1.318 MB / 0.7338 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.201, allocations: 0 / 0.7338 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.201, allocations: 0 / 0.7338 GB, free: 9.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.201, allocations: 4 kB / 0.7338 GB, free: 9.078 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00236/0.2033, allocations: 1.316 MB / 0.7351 GB, free: 7.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2034, allocations: 11.97 kB / 0.7351 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.2036, allocations: 124.2 kB / 0.7352 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008875/0.2044, allocations: 0.568 MB / 0.7358 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/0.2045, allocations: 70.38 kB / 0.7359 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.2046, allocations: 92.38 kB / 0.7359 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.2061, allocations: 0.8789 MB / 0.7368 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2061, allocations: 4.125 kB / 0.7368 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.2062, allocations: 39.94 kB / 0.7368 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.2063, allocations: 24 kB / 0.7369 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.2076, allocations: 0.6168 MB / 0.7375 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/0.2143, allocations: 2.799 MB / 0.7402 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.2168, allocations: 1.265 MB / 0.7414 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.2178, allocations: 369.8 kB / 0.7418 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.2179, allocations: 12.77 kB / 0.7418 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.2189, allocations: 356.3 kB / 0.7421 GB, free: 188 kB / 0.545 GB Notification: Performance of pre-optimization done (n=74): time 4.158e-06/0.2189, allocations: 3.938 kB / 0.7421 GB, free: 184 kB / 0.545 GB Notification: Performance of matching and sorting (n=74): time 0.002684/0.2216, allocations: 0.8137 MB / 0.7429 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.2217, allocations: 166.9 kB / 0.7431 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.2229, allocations: 0.5577 MB / 0.7436 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.454e-05/0.223, allocations: 45.69 kB / 0.7437 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.2235, allocations: 408.9 kB / 0.7441 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.2238, allocations: 261.8 kB / 0.7443 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.2241, allocations: 122.7 kB / 0.7444 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000266/0.2243, allocations: 382.8 kB / 0.7448 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/0.2252, allocations: 244.7 kB / 0.745 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.2262, allocations: 369 kB / 0.7454 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.2279, allocations: 0.537 MB / 0.7459 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2279, allocations: 4 kB / 0.7459 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002189/0.2301, allocations: 0.7079 MB / 0.7466 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.2301, allocations: 8 kB / 0.7466 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2301, allocations: 4.094 kB / 0.7466 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.2301, allocations: 4 kB / 0.7466 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.2311, allocations: 159.8 kB / 0.7468 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.2311, allocations: 7.938 kB / 0.7468 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/0.2318, allocations: 99.45 kB / 0.7469 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.2319, allocations: 20 kB / 0.7469 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009566/0.2328, allocations: 354.1 kB / 0.7472 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007189/0.2335, allocations: 313.1 kB / 0.7475 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001159/0.2347, allocations: 466 kB / 0.748 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.2347, allocations: 0 / 0.748 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001588/0.2363, allocations: 0.6104 MB / 0.7486 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2363, allocations: 8 kB / 0.7486 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2363, allocations: 0 / 0.7486 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2363, allocations: 4 kB / 0.7486 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.237, allocations: 143.8 kB / 0.7487 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.237, allocations: 4 kB / 0.7487 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.2376, allocations: 87.5 kB / 0.7488 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.2376, allocations: 23.94 kB / 0.7488 GB, free: 9.133 MB / 0.5606 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.0003376/0.238, allocations: 216.1 kB / 0.749 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.2381, allocations: 79.48 kB / 0.7491 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.2401, allocations: 0.6417 MB / 0.7497 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.2401, allocations: 11.98 kB / 0.7498 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2401, allocations: 3.938 kB / 0.7498 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.2401, allocations: 3.984 kB / 0.7498 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.2442, allocations: 1.697 MB / 0.7514 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2442, allocations: 0 / 0.7514 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.2451, allocations: 135.8 kB / 0.7516 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.2451, allocations: 4 kB / 0.7516 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.2452, allocations: 20 kB / 0.7516 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.2452, allocations: 4.188 kB / 0.7516 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2452, allocations: 4 kB / 0.7516 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.248, allocations: 1.074 MB / 0.7526 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.2482, allocations: 160.4 kB / 0.7528 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.2483, allocations: 20 kB / 0.7528 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/0.2489, allocations: 43.95 kB / 0.7528 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.249, allocations: 56.66 kB / 0.7529 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.2491, allocations: 23.98 kB / 0.7529 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007935/0.2499, allocations: 398.8 kB / 0.7533 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2499, allocations: 0 / 0.7533 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001279/0.2511, allocations: 310.9 kB / 0.7536 GB, free: 4.109 MB / 0.5606 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.0002908/0.2514, allocations: 131.1 kB / 0.7537 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.254, allocations: 0.8248 MB / 0.7545 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.254, allocations: 4 kB / 0.7545 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.2549, allocations: 291 kB / 0.7548 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.2561, allocations: 147.8 kB / 0.755 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.2598, allocations: 1.556 MB / 0.7565 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/0.2606, allocations: 0.9778 MB / 0.7574 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.2611, allocations: 93.17 kB / 0.7575 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.2613, allocations: 55.42 kB / 0.7576 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.2613, allocations: 0 / 0.7576 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.0225/0.2838, allocations: 7.691 MB / 0.7651 GB, free: 8.336 MB / 0.5762 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: 6.511168051045388] Failed to read output from testmodel.py, exit status != 0: 0.29240726004354656 0.30896307399999995 0.10463461700000001 Calling exit ...