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.0009376/0.0009376, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001117/0.001117, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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.066/1.066, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6204/0.6204, allocations: 115 MB / 375.7 MB, free: 7.656 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 2.254e-06/2.254e-06, allocations: 0 / 481.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.093e-05, allocations: 4.938 kB / 481.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003366/0.003396, allocations: 3.004 MB / 484.6 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.005513, allocations: 1.775 MB / 486.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.005863, allocations: 23.28 kB / 486.4 MB, free: 8.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.006192, allocations: 169.2 kB / 486.6 MB, free: 8.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.006613, allocations: 151.7 kB / 486.7 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.007042, allocations: 356 kB / 487.1 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000878/0.00792, allocations: 1.097 MB / 488.2 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.008461, allocations: 429.7 kB / 488.6 MB, free: 7.227 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.008947, allocations: 0.6038 MB / 489.2 MB, free: 6.891 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.00918, allocations: 322.9 kB / 489.5 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.009311, allocations: 119.8 kB / 489.6 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.009416, allocations: 117.5 kB / 489.7 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.009521, allocations: 265.8 kB / 490 MB, free: 6.555 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.009685, allocations: 312.2 kB / 490.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005147/0.0102, allocations: 0.7156 MB / 491 MB, free: 5.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.0102, allocations: 8.438 kB / 491 MB, free: 5.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.0102, allocations: 0 / 491 MB, free: 5.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.01021, allocations: 1.031 kB / 491 MB, free: 5.91 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.00171/0.01192, allocations: 1.977 MB / 493 MB, free: 4.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.01196, allocations: 10.66 kB / 493 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.01216, allocations: 191.2 kB / 493.2 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.01266, allocations: 0.5064 MB / 493.7 MB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.01271, allocations: 77.78 kB / 493.8 MB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.01281, allocations: 106.5 kB / 493.9 MB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.01364, allocations: 0.7819 MB / 494.7 MB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.01366, allocations: 2.625 kB / 494.7 MB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.0137, allocations: 36.88 kB / 494.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.01373, allocations: 23.25 kB / 494.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.01421, allocations: 327.7 kB / 495 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.01657, allocations: 2.484 MB / 497.5 MB, free: 18.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.0172, allocations: 484.6 kB / 498 MB, free: 17.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.01746, allocations: 221.8 kB / 498.2 MB, free: 17.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.0175, allocations: 17.89 kB / 498.2 MB, free: 17.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.01778, allocations: 241.5 kB / 498.5 MB, free: 17.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.314e-06/0.01778, allocations: 0 / 498.5 MB, free: 17.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.0007086/0.01849, allocations: 0.5303 MB / 499 MB, free: 17.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.01853, allocations: 171.5 kB / 499.2 MB, free: 17.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.0189, allocations: 0.4902 MB / 499.7 MB, free: 17.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.01893, allocations: 41.16 kB / 499.7 MB, free: 17.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.01911, allocations: 459.7 kB / 0.4884 GB, free: 16.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.01921, allocations: 258.8 kB / 0.4887 GB, free: 16.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.01934, allocations: 138.9 kB / 0.4888 GB, free: 16.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01949, allocations: 0.5453 MB / 0.4893 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.01972, allocations: 121.3 kB / 0.4894 GB, free: 15.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.02, allocations: 472.4 kB / 0.4899 GB, free: 15.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.0204, allocations: 323.2 kB / 0.4902 GB, free: 15.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.0204, allocations: 1 kB / 0.4902 GB, free: 15.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0005841/0.02098, allocations: 0.4914 MB / 0.4907 GB, free: 15.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.021, allocations: 7.562 kB / 0.4907 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.02101, allocations: 1.312 kB / 0.4907 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.02102, allocations: 5.281 kB / 0.4907 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.02135, allocations: 148.8 kB / 0.4908 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.02136, allocations: 8.188 kB / 0.4908 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.02153, allocations: 68.94 kB / 0.4909 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.02156, allocations: 25.34 kB / 0.4909 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002462/0.02181, allocations: 247.2 kB / 0.4912 GB, free: 14.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003094/0.02212, allocations: 459.7 kB / 0.4916 GB, free: 14.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003887/0.0225, allocations: 314.5 kB / 0.4919 GB, free: 14.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.02251, allocations: 4.094 kB / 0.4919 GB, free: 14.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0005875/0.02309, allocations: 486.9 kB / 0.4924 GB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.0231, allocations: 5.031 kB / 0.4924 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.0231, allocations: 2.25 kB / 0.4924 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-06/0.02311, allocations: 8.484 kB / 0.4924 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.0234, allocations: 135.2 kB / 0.4925 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.0234, allocations: 6.047 kB / 0.4925 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.02357, allocations: 73.23 kB / 0.4926 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.02359, allocations: 22.88 kB / 0.4926 GB, free: 14.11 MB / 426.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.0001454/0.02373, allocations: 313.3 kB / 0.4929 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.02382, allocations: 89.14 kB / 0.493 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.0244, allocations: 459.8 kB / 0.4934 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.0244, allocations: 7.219 kB / 0.4935 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.02441, allocations: 0.6562 kB / 0.4935 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.02442, allocations: 4.734 kB / 0.4935 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.02592, allocations: 1.259 MB / 0.4947 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.02593, allocations: 4.844 kB / 0.4947 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.02624, allocations: 132.5 kB / 0.4948 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.02624, allocations: 4 kB / 0.4948 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.02627, allocations: 14.06 kB / 0.4948 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.02628, allocations: 8.547 kB / 0.4948 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.02629, allocations: 5.891 kB / 0.4948 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008208/0.02711, allocations: 0.7862 MB / 0.4956 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.02718, allocations: 87.41 kB / 0.4957 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.02723, allocations: 17.27 kB / 0.4957 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.02738, allocations: 36.5 kB / 0.4958 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.02747, allocations: 42.88 kB / 0.4958 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.02749, allocations: 22.86 kB / 0.4958 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002681/0.02776, allocations: 334.9 kB / 0.4961 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02776, allocations: 0 / 0.4961 GB, free: 11.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.02827, allocations: 340 kB / 0.4965 GB, free: 10.84 MB / 426.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.0001682/0.02844, allocations: 127.9 kB / 0.4966 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007662/0.02921, allocations: 0.5891 MB / 0.4972 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.02921, allocations: 5.188 kB / 0.4972 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.02944, allocations: 205.2 kB / 0.4974 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.02993, allocations: 162.7 kB / 0.4975 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.03141, allocations: 1.413 MB / 0.4989 GB, free: 8.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.03154, allocations: 165.4 kB / 0.499 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.03175, allocations: 85.88 kB / 0.4991 GB, free: 8.305 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.03187, allocations: 68.78 kB / 0.4992 GB, free: 8.242 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03188, allocations: 0 / 0.4992 GB, free: 8.242 MB / 426.7 MB Notification: Performance of Templates: time 0.01133/0.04321, allocations: 7.838 MB / 0.5068 GB, free: 1.969 MB / 426.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.5512657398357987]