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.001276/0.001276, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001431/0.001431, allocations: 206.5 kB / 23.74 MB, free: 4.543 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.781 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 0.9659/0.9659, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.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.002083/0.002083, allocations: 68.59 kB / 0.6423 GB, free: 9.574 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1709, allocations: 89.17 MB / 0.7294 GB, free: 488 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004485/0.1754, allocations: 2.791 MB / 0.7322 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.1781, allocations: 1.75 MB / 0.7339 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.1784, allocations: 19.88 kB / 0.7339 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.1789, allocations: 170.2 kB / 0.734 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1792, allocations: 126.8 kB / 0.7342 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.1798, allocations: 355.5 kB / 0.7345 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.1808, allocations: 1.073 MB / 0.7355 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006798/0.1815, allocations: 426.8 kB / 0.736 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.1819, allocations: 418.2 kB / 0.7364 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.1823, allocations: 389.7 kB / 0.7367 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1824, allocations: 120 kB / 0.7368 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1826, allocations: 120 kB / 0.737 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1828, allocations: 255.1 kB / 0.7372 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.1831, allocations: 385.9 kB / 0.7376 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1843, allocations: 1.326 MB / 0.7389 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1843, allocations: 0 / 0.7389 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1843, allocations: 3.938 kB / 0.7389 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.1843, allocations: 0 / 0.7389 GB, free: 6.746 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.002677/0.187, allocations: 1.899 MB / 0.7407 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.187, allocations: 12.03 kB / 0.7407 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1872, allocations: 120.2 kB / 0.7408 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.188, allocations: 0.5037 MB / 0.7413 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.1881, allocations: 74.38 kB / 0.7414 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.1882, allocations: 100.3 kB / 0.7415 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.1897, allocations: 0.9676 MB / 0.7425 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1897, allocations: 4.125 kB / 0.7425 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.1898, allocations: 51.88 kB / 0.7425 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.1898, allocations: 24 kB / 0.7425 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.191, allocations: 0.6129 MB / 0.7431 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.1949, allocations: 2.354 MB / 0.7454 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.1962, allocations: 0.6591 MB / 0.7461 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/0.1969, allocations: 362.6 kB / 0.7464 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.1969, allocations: 12.64 kB / 0.7464 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006462/0.1976, allocations: 352.4 kB / 0.7468 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.1976, allocations: 0 / 0.7468 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.001619/0.1992, allocations: 0.8176 MB / 0.7476 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1993, allocations: 162.9 kB / 0.7477 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.1999, allocations: 490.1 kB / 0.7482 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.1999, allocations: 45.64 kB / 0.7482 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.2003, allocations: 417 kB / 0.7486 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.2005, allocations: 269.6 kB / 0.7489 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.2007, allocations: 134.7 kB / 0.749 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.2009, allocations: 378.7 kB / 0.7494 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.2014, allocations: 244.7 kB / 0.7496 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.2021, allocations: 0.5573 MB / 0.7501 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2032, allocations: 0.5448 MB / 0.7507 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2032, allocations: 0 / 0.7507 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001343/0.2045, allocations: 0.7001 MB / 0.7514 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2046, allocations: 4 kB / 0.7514 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2046, allocations: 0 / 0.7514 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2046, allocations: 4 kB / 0.7514 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.2052, allocations: 159.8 kB / 0.7515 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2052, allocations: 4 kB / 0.7515 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.2055, allocations: 91.66 kB / 0.7516 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.2056, allocations: 23.94 kB / 0.7516 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005767/0.2062, allocations: 350.1 kB / 0.752 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005507/0.2067, allocations: 0.5105 MB / 0.7525 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007182/0.2074, allocations: 465.9 kB / 0.7529 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.2074, allocations: 160 / 0.7529 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0009655/0.2084, allocations: 0.6065 MB / 0.7535 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2084, allocations: 8 kB / 0.7535 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2084, allocations: 0 / 0.7535 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.2084, allocations: 7.984 kB / 0.7535 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.2089, allocations: 131.8 kB / 0.7536 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.2089, allocations: 4 kB / 0.7537 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.2092, allocations: 87.67 kB / 0.7537 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.2093, allocations: 20 kB / 0.7538 GB, free: 6.98 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.2095, allocations: 228 kB / 0.754 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.2096, allocations: 71.56 kB / 0.754 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.2108, allocations: 0.6371 MB / 0.7547 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.2108, allocations: 11.94 kB / 0.7547 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2108, allocations: 0 / 0.7547 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2108, allocations: 3.984 kB / 0.7547 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.2133, allocations: 1.442 MB / 0.7561 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2133, allocations: 3.984 kB / 0.7561 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.2138, allocations: 135.8 kB / 0.7562 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2138, allocations: 4 kB / 0.7562 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.2139, allocations: 20 kB / 0.7562 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2139, allocations: 8.188 kB / 0.7563 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2139, allocations: 3.984 kB / 0.7563 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.2156, allocations: 1.067 MB / 0.7573 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2158, allocations: 75.38 kB / 0.7574 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.2158, allocations: 20 kB / 0.7574 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.2162, allocations: 39.95 kB / 0.7574 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.2163, allocations: 56.59 kB / 0.7575 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.2163, allocations: 23.94 kB / 0.7575 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004016/0.2167, allocations: 342.9 kB / 0.7578 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2167, allocations: 0 / 0.7578 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007601/0.2175, allocations: 330.7 kB / 0.7581 GB, free: 2.379 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.0001723/0.2176, allocations: 131.1 kB / 0.7583 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.2193, allocations: 0.8255 MB / 0.7591 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2193, allocations: 0 / 0.7591 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.2198, allocations: 291.6 kB / 0.7594 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.2205, allocations: 141.9 kB / 0.7595 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3248/0.5453, allocations: 1.576 MB / 0.761 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.5457, allocations: 384.7 kB / 0.7614 GB, free: 34.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.546, allocations: 58.03 kB / 0.7615 GB, free: 34.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.546, allocations: 0 / 0.7615 GB, free: 34.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.01796/0.564, allocations: 9.19 MB / 0.7704 GB, free: 33.31 MB / 0.5762 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: 9.02546471497044] Failed to read output from testmodel.py, exit status != 0: 0.572995341848582 0.587702162 0.40031692 Calling exit ...