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.0009789/0.0009789, allocations: 72.95 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001104/0.001104, allocations: 173 kB / 24.15 MB, free: 348 kB / 18.57 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 0.9715/0.9715, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.641/0.641, allocations: 115 MB / 376 MB, free: 7.484 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 428.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.464e-05, allocations: 6.25 kB / 428.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.00302/0.003035, allocations: 2.872 MB / 431.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.005625, allocations: 1.835 MB / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004651/0.00609, allocations: 27.81 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.006381, allocations: 162.2 kB / 433.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.006764, allocations: 154.6 kB / 433.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.007233, allocations: 355.5 kB / 434.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007316/0.007965, allocations: 1.092 MB / 435.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.008434, allocations: 446.7 kB / 435.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.008847, allocations: 0.608 MB / 436.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.009072, allocations: 326.8 kB / 436.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.209e-05/0.009164, allocations: 120 kB / 436.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.009237, allocations: 120 kB / 436.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.009582, allocations: 251.1 kB / 437.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.009741, allocations: 323 kB / 437.4 MB, free: 10 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.01021, allocations: 0.7079 MB / 438.1 MB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01021, allocations: 0 / 438.1 MB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01021, allocations: 3.938 kB / 438.1 MB, free: 9.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.01022, allocations: 0 / 438.1 MB, free: 9.289 MB / 410.7 MB 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.001034/0.01125, allocations: 1.185 MB / 439.3 MB, free: 8.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.569e-05/0.01128, allocations: 8.031 kB / 439.3 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.0114, allocations: 152.8 kB / 439.5 MB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.01177, allocations: 389.9 kB / 439.9 MB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.01181, allocations: 74.38 kB / 439.9 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.01188, allocations: 100.4 kB / 440 MB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.01243, allocations: 0.7369 MB / 440.8 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.01245, allocations: 192 / 440.8 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.01248, allocations: 40.38 kB / 440.8 MB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.0125, allocations: 24.31 kB / 440.8 MB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.01273, allocations: 213.8 kB / 441 MB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.01454, allocations: 1.806 MB / 442.9 MB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.01493, allocations: 416.7 kB / 443.3 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.01508, allocations: 178.6 kB / 443.4 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.01511, allocations: 12.66 kB / 443.4 MB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.01528, allocations: 212.3 kB / 443.7 MB, free: 3.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 1.823e-06/0.01529, allocations: 0 / 443.7 MB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.0004709/0.01576, allocations: 369.8 kB / 444 MB, free: 3.223 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.01581, allocations: 162.9 kB / 444.2 MB, free: 3.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.01606, allocations: 427.2 kB / 444.6 MB, free: 2.598 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.01609, allocations: 49.7 kB / 444.6 MB, free: 2.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01622, allocations: 346.1 kB / 445 MB, free: 2.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.01633, allocations: 269.6 kB / 445.2 MB, free: 1.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.01643, allocations: 130.6 kB / 445.4 MB, free: 1.801 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.01653, allocations: 382.6 kB / 445.7 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01664, allocations: 84.81 kB / 445.8 MB, free: 1.332 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.01683, allocations: 398.8 kB / 446.2 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.01706, allocations: 265.8 kB / 446.5 MB, free: 0.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01706, allocations: 0 / 446.5 MB, free: 0.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0002946/0.01736, allocations: 339.3 kB / 446.8 MB, free: 252 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01737, allocations: 8 kB / 446.8 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01737, allocations: 0 / 446.8 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.01738, allocations: 4 kB / 446.8 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.01765, allocations: 143.8 kB / 447 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01766, allocations: 4 kB / 447 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.0178, allocations: 71.7 kB / 447 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01781, allocations: 19.98 kB / 447.1 MB, free: 0 / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1911/0.2089, allocations: 159 kB / 447.2 MB, free: 29.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002052/0.2091, allocations: 396.8 kB / 447.6 MB, free: 29.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002903/0.2094, allocations: 252 kB / 447.8 MB, free: 29.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.2094, allocations: 0 / 447.8 MB, free: 29.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0003801/0.2098, allocations: 329.2 kB / 448.2 MB, free: 29.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2098, allocations: 6.25 kB / 448.2 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2098, allocations: 1.469 kB / 448.2 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2098, allocations: 5.984 kB / 448.2 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.2101, allocations: 132.6 kB / 448.3 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2101, allocations: 5.234 kB / 448.3 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.2103, allocations: 63.95 kB / 448.4 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.2103, allocations: 17.62 kB / 448.4 MB, free: 29.44 MB / 410.7 MB 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.0001433/0.2105, allocations: 227.8 kB / 448.6 MB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.2105, allocations: 64.83 kB / 448.7 MB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.211, allocations: 336.9 kB / 449 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.211, allocations: 6.859 kB / 449 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.211, allocations: 0 / 449 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.211, allocations: 9.641 kB / 449 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.2122, allocations: 0.8623 MB / 449.9 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2122, allocations: 3.688 kB / 449.9 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.2125, allocations: 127.6 kB / 450 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.2125, allocations: 3.469 kB / 450 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.2125, allocations: 18.34 kB / 450 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.2125, allocations: 3.906 kB / 450 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2125, allocations: 7.656 kB / 450 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.2131, allocations: 0.5699 MB / 450.6 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.2132, allocations: 64.91 kB / 450.7 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.2132, allocations: 16.75 kB / 450.7 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.2134, allocations: 32.55 kB / 450.7 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.2135, allocations: 49.88 kB / 450.8 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.2135, allocations: 16.36 kB / 450.8 MB, free: 28.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.2137, allocations: 198.1 kB / 451 MB, free: 28.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2137, allocations: 0.9375 kB / 451 MB, free: 28.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006052/0.2143, allocations: 342.1 kB / 451.3 MB, free: 28.75 MB / 410.7 MB 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.0001767/0.2145, allocations: 107.2 kB / 451.4 MB, free: 28.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.2151, allocations: 489.8 kB / 451.9 MB, free: 28.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.2151, allocations: 6.766 kB / 451.9 MB, free: 28.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.2153, allocations: 178.5 kB / 452.1 MB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.2157, allocations: 151.3 kB / 452.2 MB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.2174, allocations: 1.374 MB / 453.6 MB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2175, allocations: 167.5 kB / 453.8 MB, free: 27.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.2178, allocations: 80.39 kB / 453.8 MB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.2181, allocations: 193.8 kB / 454 MB, free: 27.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2181, allocations: 0.5 kB / 454 MB, free: 27.75 MB / 410.7 MB Notification: Performance of Templates: time 0.0126/0.2307, allocations: 8.159 MB / 462.2 MB, free: 24.07 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.707981813699007]