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.00167/0.00167, allocations: 105 kB / 20.45 MB, free: 1.5 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.001679/0.001679, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.9575/0.9575, allocations: 150 MB / 463.9 MB, free: 10.5 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.002077/0.002077, allocations: 70.42 kB / 0.6426 GB, free: 9.852 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1768, allocations: 89.16 MB / 0.7296 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004727/0.1815, allocations: 3.319 MB / 0.7329 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1841, allocations: 1.758 MB / 0.7346 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1844, allocations: 19.94 kB / 0.7346 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.1848, allocations: 170.2 kB / 0.7348 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.1851, allocations: 126.7 kB / 0.7349 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.1857, allocations: 395 kB / 0.7353 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1868, allocations: 1.065 MB / 0.7363 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.1875, allocations: 462.8 kB / 0.7367 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.1879, allocations: 418.3 kB / 0.7371 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.1883, allocations: 453.6 kB / 0.7376 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.1885, allocations: 120 kB / 0.7377 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1886, allocations: 120 kB / 0.7378 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.1888, allocations: 247.2 kB / 0.738 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.1892, allocations: 485.2 kB / 0.7385 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.1904, allocations: 1.318 MB / 0.7398 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1904, allocations: 0 / 0.7398 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1904, allocations: 4 kB / 0.7398 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.1904, allocations: 0 / 0.7398 GB, free: 6.27 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.002807/0.1932, allocations: 1.903 MB / 0.7417 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1933, allocations: 12.02 kB / 0.7417 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.1934, allocations: 120.2 kB / 0.7418 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.1942, allocations: 0.4998 MB / 0.7423 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.1943, allocations: 74.38 kB / 0.7423 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.1944, allocations: 96.33 kB / 0.7424 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.1959, allocations: 0.8788 MB / 0.7433 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1959, allocations: 192 / 0.7433 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.196, allocations: 43.94 kB / 0.7433 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.196, allocations: 24 kB / 0.7434 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1972, allocations: 0.6207 MB / 0.744 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.2015, allocations: 2.724 MB / 0.7466 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.2028, allocations: 0.6662 MB / 0.7473 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.2035, allocations: 374.5 kB / 0.7476 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/0.2035, allocations: 12.66 kB / 0.7476 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/0.2042, allocations: 352.4 kB / 0.748 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 1.923e-06/0.2042, allocations: 0 / 0.748 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.001619/0.2058, allocations: 0.8137 MB / 0.7488 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.2059, allocations: 166.9 kB / 0.7489 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.2066, allocations: 0.5655 MB / 0.7495 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.2067, allocations: 41.7 kB / 0.7495 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.207, allocations: 401 kB / 0.7499 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.2072, allocations: 269.7 kB / 0.7502 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.2074, allocations: 126.7 kB / 0.7503 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2076, allocations: 378.9 kB / 0.7506 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.2081, allocations: 244.7 kB / 0.7509 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.2087, allocations: 373.1 kB / 0.7512 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2097, allocations: 0.5409 MB / 0.7518 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2097, allocations: 4 kB / 0.7518 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001361/0.2111, allocations: 0.7079 MB / 0.7525 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2111, allocations: 4 kB / 0.7525 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2111, allocations: 4 kB / 0.7525 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.2112, allocations: 8.094 kB / 0.7525 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.2118, allocations: 147.8 kB / 0.7526 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.2118, allocations: 7.938 kB / 0.7526 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.2122, allocations: 99.45 kB / 0.7527 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.2122, allocations: 24 kB / 0.7527 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005799/0.2128, allocations: 354.1 kB / 0.7531 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004528/0.2132, allocations: 305.2 kB / 0.7534 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007061/0.2139, allocations: 466 kB / 0.7538 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.2139, allocations: 0 / 0.7538 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001022/0.215, allocations: 0.6181 MB / 0.7544 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.215, allocations: 4 kB / 0.7544 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.215, allocations: 7.984 kB / 0.7544 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.215, allocations: 4 kB / 0.7544 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.2155, allocations: 131.9 kB / 0.7546 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2155, allocations: 4 kB / 0.7546 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.2158, allocations: 91.52 kB / 0.7546 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.2158, allocations: 20 kB / 0.7547 GB, free: 6.633 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.0002/0.216, allocations: 216.1 kB / 0.7549 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.2161, allocations: 79.5 kB / 0.7549 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.2174, allocations: 0.6495 MB / 0.7556 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2174, allocations: 8 kB / 0.7556 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.2174, allocations: 3.938 kB / 0.7556 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2175, allocations: 3.984 kB / 0.7556 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.2201, allocations: 1.667 MB / 0.7572 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2201, allocations: 4 kB / 0.7572 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.2207, allocations: 135.8 kB / 0.7574 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.2207, allocations: 4 kB / 0.7574 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.2207, allocations: 19.98 kB / 0.7574 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.2207, allocations: 4 kB / 0.7574 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2207, allocations: 8.188 kB / 0.7574 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.2225, allocations: 1.067 MB / 0.7584 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2226, allocations: 87.38 kB / 0.7585 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.2227, allocations: 12 kB / 0.7585 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.223, allocations: 51.95 kB / 0.7586 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.2231, allocations: 44.7 kB / 0.7586 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.2232, allocations: 27.98 kB / 0.7586 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004736/0.2236, allocations: 398.8 kB / 0.759 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2236, allocations: 0 / 0.759 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007306/0.2244, allocations: 310.9 kB / 0.7593 GB, free: 1.738 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.0001901/0.2246, allocations: 135.1 kB / 0.7595 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.2262, allocations: 0.8216 MB / 0.7603 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2262, allocations: 4 kB / 0.7603 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.2267, allocations: 295.5 kB / 0.7605 GB, free: 500 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.2275, allocations: 149.9 kB / 0.7607 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3557/0.5832, allocations: 1.575 MB / 0.7622 GB, free: 33.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.5837, allocations: 0.977 MB / 0.7632 GB, free: 33.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.584, allocations: 61.28 kB / 0.7632 GB, free: 33.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.663e-06/0.584, allocations: 0 / 0.7632 GB, free: 33.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.0181/0.6021, allocations: 9.173 MB / 0.7722 GB, free: 32.4 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.038863086141646] Failed to read output from testmodel.py, exit status != 0: 0.6107576261274517 0.624483298 0.431434256 Calling exit ...