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.001392/0.001392, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001555/0.001555, allocations: 169 kB / 24.05 MB, free: 448 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.007/1.007, allocations: 177.1 MB / 204.5 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.6308/0.6308, allocations: 115 MB / 376 MB, free: 7.461 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.605e-06/2.605e-06, allocations: 0 / 482 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.356e-05, allocations: 5.266 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.002838/0.002862, allocations: 2.868 MB / 484.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.005187, allocations: 1.775 MB / 486.7 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005354/0.005722, allocations: 23.09 kB / 486.7 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.00604, allocations: 169.1 kB / 486.9 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.006454, allocations: 157.7 kB / 487 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.006874, allocations: 353.9 kB / 487.4 MB, free: 8.016 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.007684, allocations: 1.096 MB / 488.5 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.00821, allocations: 425.9 kB / 488.9 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.00877, allocations: 0.6089 MB / 489.5 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.009045, allocations: 323.5 kB / 489.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.009185, allocations: 118.4 kB / 489.9 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.009315, allocations: 120 kB / 490 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.009468, allocations: 254.6 kB / 490.3 MB, free: 6.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.009664, allocations: 315.5 kB / 490.6 MB, free: 6.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.01028, allocations: 0.7192 MB / 491.3 MB, free: 5.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01029, allocations: 1.156 kB / 491.3 MB, free: 5.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01029, allocations: 1.75 kB / 491.3 MB, free: 5.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.01032, allocations: 0 / 491.3 MB, free: 5.867 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.002093/0.01242, allocations: 2.052 MB / 493.4 MB, free: 4.586 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01245, allocations: 10.03 kB / 493.4 MB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.01267, allocations: 187.6 kB / 493.6 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.01316, allocations: 0.501 MB / 494.1 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.01322, allocations: 72.77 kB / 494.1 MB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.01332, allocations: 106.2 kB / 494.2 MB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.01404, allocations: 0.7276 MB / 495 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01406, allocations: 4.125 kB / 495 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.0141, allocations: 36.97 kB / 495 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.01412, allocations: 24.06 kB / 495 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.01446, allocations: 258 kB / 495.3 MB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.01688, allocations: 2.379 MB / 497.7 MB, free: 18.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.01738, allocations: 456.9 kB / 498.1 MB, free: 17.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.01756, allocations: 196 kB / 498.3 MB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.0176, allocations: 14.66 kB / 498.3 MB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.01785, allocations: 215.3 kB / 498.5 MB, free: 17.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.506e-06/0.01785, allocations: 3.938 kB / 498.5 MB, free: 17.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.0007186/0.01857, allocations: 475.9 kB / 499 MB, free: 17.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.01862, allocations: 168.7 kB / 499.2 MB, free: 17.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.01905, allocations: 485.2 kB / 499.6 MB, free: 17.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.0191, allocations: 42.05 kB / 499.7 MB, free: 17.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.01935, allocations: 471 kB / 0.4884 GB, free: 16.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.01949, allocations: 266.8 kB / 0.4887 GB, free: 16.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.01964, allocations: 136.5 kB / 0.4888 GB, free: 16.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01981, allocations: 0.55 MB / 0.4893 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.02, allocations: 96.89 kB / 0.4894 GB, free: 15.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.02022, allocations: 451.7 kB / 0.4899 GB, free: 15.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.02053, allocations: 274.8 kB / 0.4901 GB, free: 15.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02053, allocations: 3.938 kB / 0.4901 GB, free: 15.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006446/0.02117, allocations: 450.2 kB / 0.4906 GB, free: 15.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.0212, allocations: 8.219 kB / 0.4906 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.02121, allocations: 2.781 kB / 0.4906 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.02122, allocations: 3.312 kB / 0.4906 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.02158, allocations: 149.7 kB / 0.4907 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.02159, allocations: 7.719 kB / 0.4907 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.02179, allocations: 69.36 kB / 0.4908 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.02181, allocations: 24.34 kB / 0.4908 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002277/0.02204, allocations: 219.1 kB / 0.491 GB, free: 15.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002429/0.02228, allocations: 437.9 kB / 0.4914 GB, free: 14.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003239/0.02261, allocations: 271.9 kB / 0.4917 GB, free: 14.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.02261, allocations: 1.062 kB / 0.4917 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0005221/0.02313, allocations: 440.9 kB / 0.4921 GB, free: 14.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.02314, allocations: 4.594 kB / 0.4921 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.02315, allocations: 4.609 kB / 0.4921 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.02316, allocations: 4.469 kB / 0.4921 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.02344, allocations: 135.2 kB / 0.4923 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.02345, allocations: 4.125 kB / 0.4923 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.02361, allocations: 72.58 kB / 0.4923 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.02363, allocations: 18.56 kB / 0.4924 GB, free: 14.28 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.0001735/0.0238, allocations: 313.8 kB / 0.4927 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.0239, allocations: 92.12 kB / 0.4927 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.02442, allocations: 409.5 kB / 0.4931 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.02443, allocations: 7.594 kB / 0.4931 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.02443, allocations: 1.766 kB / 0.4931 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.02444, allocations: 3.469 kB / 0.4931 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.02615, allocations: 1.135 MB / 0.4943 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.02616, allocations: 2.828 kB / 0.4943 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.02647, allocations: 129.2 kB / 0.4944 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.02648, allocations: 7.594 kB / 0.4944 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.02651, allocations: 25.53 kB / 0.4944 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.02651, allocations: 4 kB / 0.4944 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.02652, allocations: 4.5 kB / 0.4944 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.02716, allocations: 0.7182 MB / 0.4951 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.02723, allocations: 81.94 kB / 0.4952 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.02728, allocations: 24.64 kB / 0.4952 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.02742, allocations: 30.38 kB / 0.4952 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.02749, allocations: 47.16 kB / 0.4953 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.02751, allocations: 18.97 kB / 0.4953 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.02774, allocations: 312 kB / 0.4956 GB, free: 11.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02774, allocations: 4 kB / 0.4956 GB, free: 11.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005975/0.02834, allocations: 339.5 kB / 0.4959 GB, free: 11.56 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.0001764/0.02851, allocations: 124.9 kB / 0.4961 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006308/0.02914, allocations: 0.5237 MB / 0.4966 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.02915, allocations: 0 / 0.4966 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.02933, allocations: 189.1 kB / 0.4967 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.02981, allocations: 153.2 kB / 0.4969 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.03144, allocations: 1.402 MB / 0.4983 GB, free: 9.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.03156, allocations: 165.8 kB / 0.4984 GB, free: 9.188 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.03179, allocations: 86.47 kB / 0.4985 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.03208, allocations: 223.6 kB / 0.4987 GB, free: 8.934 MB / 426.7 MB Notification: Performance of SimCode: time 2.033e-06/0.03209, allocations: 0.9688 kB / 0.4987 GB, free: 8.934 MB / 426.7 MB Notification: Performance of Templates: time 0.01316/0.04525, allocations: 8.156 MB / 0.5067 GB, free: 2.398 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.7774600200355053]