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.001345/0.001345, allocations: 73.39 kB / 20.5 MB, free: 1.281 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.001475/0.001475, allocations: 161.4 kB / 23.76 MB, free: 4.473 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.449/1.449, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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 0.9479/0.9479, allocations: 113.9 MB / 374.5 MB, free: 12.88 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.00217/0.00217, allocations: 65.48 kB / 0.5551 GB, free: 2.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1668, allocations: 89.15 MB / 0.6421 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004723/0.1716, allocations: 2.778 MB / 0.6449 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002889/0.1744, allocations: 1.743 MB / 0.6466 GB, free: 4.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.1748, allocations: 23.88 kB / 0.6466 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.1752, allocations: 162.2 kB / 0.6467 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1755, allocations: 130.7 kB / 0.6469 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.1763, allocations: 355.5 kB / 0.6472 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1776, allocations: 1.077 MB / 0.6483 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.1784, allocations: 426.8 kB / 0.6487 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004715/0.1789, allocations: 410.4 kB / 0.6491 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.1794, allocations: 397.5 kB / 0.6494 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.1795, allocations: 120 kB / 0.6495 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1797, allocations: 120 kB / 0.6497 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1799, allocations: 247.1 kB / 0.6499 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.1802, allocations: 389.9 kB / 0.6503 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.1815, allocations: 1.326 MB / 0.6516 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1815, allocations: 4 kB / 0.6516 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1815, allocations: 0 / 0.6516 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.1815, allocations: 3.938 kB / 0.6516 GB, free: 15.77 MB / 0.5606 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.002969/0.1845, allocations: 1.903 MB / 0.6534 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1846, allocations: 12.03 kB / 0.6534 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1847, allocations: 120.2 kB / 0.6536 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.1856, allocations: 0.4959 MB / 0.654 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.037e-05/0.1857, allocations: 78.31 kB / 0.6541 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.1858, allocations: 96.33 kB / 0.6542 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.1874, allocations: 0.9793 MB / 0.6552 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.1875, allocations: 4.188 kB / 0.6552 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.1875, allocations: 47.92 kB / 0.6552 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.1876, allocations: 20 kB / 0.6552 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1889, allocations: 0.6207 MB / 0.6558 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.193, allocations: 2.347 MB / 0.6581 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1944, allocations: 0.6591 MB / 0.6588 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.1951, allocations: 370.6 kB / 0.6591 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1952, allocations: 12.66 kB / 0.6591 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006943/0.1959, allocations: 360.3 kB / 0.6595 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.595e-06/0.1959, allocations: 0 / 0.6595 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.001773/0.1976, allocations: 0.8137 MB / 0.6603 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.1977, allocations: 162.9 kB / 0.6604 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.1984, allocations: 494.1 kB / 0.6609 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.1984, allocations: 45.7 kB / 0.6609 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.1988, allocations: 412.9 kB / 0.6613 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.199, allocations: 261.7 kB / 0.6616 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1992, allocations: 130.7 kB / 0.6617 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.1994, allocations: 382.7 kB / 0.6621 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.2, allocations: 244.7 kB / 0.6623 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.2008, allocations: 0.5573 MB / 0.6629 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.2019, allocations: 0.537 MB / 0.6634 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2019, allocations: 0 / 0.6634 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001484/0.2034, allocations: 0.7079 MB / 0.6641 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2034, allocations: 4 kB / 0.6641 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2035, allocations: 4.109 kB / 0.6641 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2035, allocations: 7.938 kB / 0.6641 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.2041, allocations: 155.9 kB / 0.6642 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2041, allocations: 8 kB / 0.6642 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.2046, allocations: 91.52 kB / 0.6643 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.2046, allocations: 27.92 kB / 0.6644 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006111/0.2052, allocations: 346.1 kB / 0.6647 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005861/0.2058, allocations: 0.5107 MB / 0.6652 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007395/0.2065, allocations: 462 kB / 0.6656 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.101e-06/0.2065, allocations: 7.984 kB / 0.6656 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001046/0.2076, allocations: 0.6026 MB / 0.6662 GB, free: 248 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2076, allocations: 8 kB / 0.6662 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2076, allocations: 0 / 0.6662 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.2076, allocations: 4 kB / 0.6662 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.2081, allocations: 139.8 kB / 0.6664 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2081, allocations: 4.094 kB / 0.6664 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.2085, allocations: 79.59 kB / 0.6664 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.2085, allocations: 23.98 kB / 0.6665 GB, free: 15.99 MB / 0.5762 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.0002096/0.2087, allocations: 224 kB / 0.6667 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/0.2088, allocations: 67.58 kB / 0.6667 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.2101, allocations: 0.641 MB / 0.6674 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.2102, allocations: 8 kB / 0.6674 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2102, allocations: 0 / 0.6674 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2102, allocations: 3.984 kB / 0.6674 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.2128, allocations: 1.442 MB / 0.6688 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/0.2128, allocations: 7.984 kB / 0.6688 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.2134, allocations: 136 kB / 0.6689 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.2134, allocations: 8 kB / 0.6689 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.2134, allocations: 12 kB / 0.669 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.2134, allocations: 8 kB / 0.669 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2134, allocations: 4 kB / 0.669 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.2153, allocations: 1.067 MB / 0.67 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2154, allocations: 75.38 kB / 0.6701 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.2155, allocations: 20 kB / 0.6701 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.2158, allocations: 43.89 kB / 0.6701 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.2159, allocations: 52.61 kB / 0.6702 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.216, allocations: 31.92 kB / 0.6702 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004689/0.2164, allocations: 338.9 kB / 0.6705 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2164, allocations: 0 / 0.6705 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008019/0.2172, allocations: 338.6 kB / 0.6709 GB, free: 11.39 MB / 0.5762 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.0001829/0.2174, allocations: 119.1 kB / 0.671 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.2192, allocations: 0.8215 MB / 0.6718 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2192, allocations: 3.938 kB / 0.6718 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.2198, allocations: 300.3 kB / 0.6721 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.2206, allocations: 142.1 kB / 0.6722 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.2233, allocations: 1.543 MB / 0.6737 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.2238, allocations: 391.4 kB / 0.6741 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00031/0.2241, allocations: 80.91 kB / 0.6742 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2243, allocations: 56.48 kB / 0.6742 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.2243, allocations: 0 / 0.6742 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of Templates: time 0.01589/0.2402, allocations: 7.382 MB / 0.6814 GB, free: 0.6172 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.691537203965709] Failed to read output from testmodel.py, exit status != 0: 0.24999438505619764 0.264944775 0.080294241 Calling exit ...