Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.0009912/0.0009912, 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: 169.3 kB / 24.15 MB, free: 352 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.6965/0.6965, allocations: 115 MB / 376 MB, free: 7.488 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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 428.8 MB, free: 2.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.556e-05, allocations: 2.312 kB / 428.8 MB, free: 2.688 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.003789/0.003824, allocations: 1.979 MB / 430.8 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.006523, allocations: 1.769 MB / 432.6 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.006825, allocations: 15.94 kB / 432.6 MB, free: 14.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.007082, allocations: 87 kB / 432.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.007436, allocations: 111 kB / 432.8 MB, free: 14.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.008195, allocations: 415.1 kB / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006647/0.00886, allocations: 0.7894 MB / 434 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.009215, allocations: 258.1 kB / 434.2 MB, free: 13.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.009606, allocations: 451.1 kB / 434.7 MB, free: 12.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.009849, allocations: 243.1 kB / 434.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.009931, allocations: 91.94 kB / 435 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.01007, allocations: 95.98 kB / 435.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.192e-05/0.01016, allocations: 159.4 kB / 435.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.01031, allocations: 231.3 kB / 435.5 MB, free: 12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.01088, allocations: 0.5449 MB / 436 MB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01089, allocations: 0 / 436 MB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01089, allocations: 0 / 436 MB, free: 11.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.0109, allocations: 0 / 436 MB, free: 11.45 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001105/0.012, allocations: 0.8745 MB / 436.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.01204, allocations: 8.031 kB / 436.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.01216, allocations: 96.8 kB / 437 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.01251, allocations: 280.5 kB / 437.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.01254, allocations: 53.62 kB / 437.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.0126, allocations: 64.36 kB / 437.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.01301, allocations: 443.5 kB / 437.8 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01302, allocations: 4.188 kB / 437.8 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.01304, allocations: 20.38 kB / 437.8 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.01306, allocations: 16.38 kB / 437.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.01323, allocations: 133 kB / 438 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.01446, allocations: 1.007 MB / 439 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.01477, allocations: 260.5 kB / 439.3 MB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.01488, allocations: 107 kB / 439.4 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.01491, allocations: 8.5 kB / 439.4 MB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.01513, allocations: 190.1 kB / 439.6 MB, free: 7.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.296e-06/0.01514, allocations: 4 kB / 439.6 MB, free: 7.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.0004029/0.01554, allocations: 282 kB / 439.8 MB, free: 7.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.0156, allocations: 111.3 kB / 439.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.0158, allocations: 311.3 kB / 440.2 MB, free: 7.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.01585, allocations: 41.7 kB / 440.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.01598, allocations: 230.2 kB / 440.5 MB, free: 6.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.01611, allocations: 182.4 kB / 440.7 MB, free: 6.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.01623, allocations: 114.1 kB / 440.8 MB, free: 6.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01637, allocations: 362.7 kB / 441.2 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.01655, allocations: 142.4 kB / 441.3 MB, free: 5.938 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.01676, allocations: 349.9 kB / 441.6 MB, free: 5.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.01708, allocations: 298.6 kB / 441.9 MB, free: 5.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01709, allocations: 0 / 441.9 MB, free: 5.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003902/0.01748, allocations: 445 kB / 442.4 MB, free: 4.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.01753, allocations: 75.55 kB / 442.4 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01753, allocations: 0 / 442.4 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01755, allocations: 4 kB / 442.4 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.01778, allocations: 103.8 kB / 442.5 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01778, allocations: 7.938 kB / 442.5 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.01799, allocations: 79.69 kB / 442.6 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.01803, allocations: 19.98 kB / 442.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001912/0.01822, allocations: 232.7 kB / 442.9 MB, free: 4.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001917/0.01841, allocations: 338 kB / 443.2 MB, free: 3.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000233/0.01864, allocations: 298.6 kB / 443.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.01865, allocations: 3.984 kB / 443.5 MB, free: 3.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0005218/0.01917, allocations: 437.3 kB / 443.9 MB, free: 3.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.01921, allocations: 78.77 kB / 444 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.01921, allocations: 0 / 444 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.01922, allocations: 4 kB / 444 MB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.0194, allocations: 91.84 kB / 444.1 MB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01941, allocations: 7.984 kB / 444.1 MB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.01958, allocations: 75.73 kB / 444.2 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.01961, allocations: 19.98 kB / 444.2 MB, free: 2.727 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0001229/0.01973, allocations: 216.2 kB / 444.4 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.01977, allocations: 47.89 kB / 444.5 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.02005, allocations: 243.8 kB / 444.7 MB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02006, allocations: 4 kB / 444.7 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.02006, allocations: 4 kB / 444.7 MB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.02006, allocations: 3.984 kB / 444.7 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/0.02081, allocations: 0.6498 MB / 445.4 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.02082, allocations: 0 / 445.4 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.02102, allocations: 87.89 kB / 445.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.02102, allocations: 4 kB / 445.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.02105, allocations: 12 kB / 445.5 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.02105, allocations: 7.984 kB / 445.5 MB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.02106, allocations: 3.938 kB / 445.5 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.02145, allocations: 463 kB / 445.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.02149, allocations: 43.66 kB / 446 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.02153, allocations: 19.92 kB / 446 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.02163, allocations: 15.98 kB / 446 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.02168, allocations: 48.31 kB / 446 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.0217, allocations: 12 kB / 446.1 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.02179, allocations: 120.7 kB / 446.2 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02179, allocations: 0 / 446.2 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.02221, allocations: 247.3 kB / 446.4 MB, free: 428 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001751/0.02238, allocations: 108.3 kB / 446.5 MB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1793/0.2017, allocations: 0.7733 MB / 447.3 MB, free: 29.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/0.2017, allocations: 4.656 kB / 447.3 MB, free: 29.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.2019, allocations: 130 kB / 447.4 MB, free: 29.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.2023, allocations: 103.4 kB / 447.5 MB, free: 29.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2035, allocations: 0.8826 MB / 448.4 MB, free: 29.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.457e-05/0.2036, allocations: 125.9 kB / 448.5 MB, free: 29.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00017/0.2037, allocations: 58.69 kB / 448.6 MB, free: 29.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.204, allocations: 163 kB / 448.7 MB, free: 29.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.084e-06/0.204, allocations: 0.5312 kB / 448.7 MB, free: 29.18 MB / 410.7 MB Notification: Performance of Templates: time 0.0132/0.2172, allocations: 8.417 MB / 457.2 MB, free: 27.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8456936720758677]