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.0011/0.0011, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0017/0.0017, allocations: 169 kB / 24.25 MB, free: 308 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.028/1.028, allocations: 177.2 MB / 204.6 MB, free: 5.625 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.6331/0.6331, allocations: 115 MB / 376 MB, free: 7.652 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.855e-06/2.855e-06, allocations: 0 / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/3.042e-05, allocations: 6.25 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003336/0.003366, allocations: 2.949 MB / 484.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.006097, allocations: 1.784 MB / 486.3 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006808/0.006778, allocations: 19.72 kB / 486.3 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.007176, allocations: 163.4 kB / 486.5 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.007769, allocations: 150.2 kB / 486.7 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.008268, allocations: 353.1 kB / 487 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.009287, allocations: 1.1 MB / 488.1 MB, free: 7.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/0.01005, allocations: 431.2 kB / 488.5 MB, free: 7.395 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.01078, allocations: 0.6045 MB / 489.1 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.01111, allocations: 319.8 kB / 489.4 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.01129, allocations: 120.2 kB / 489.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.01142, allocations: 120.4 kB / 489.7 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.01154, allocations: 262.3 kB / 489.9 MB, free: 6.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.01176, allocations: 312 kB / 490.2 MB, free: 6.543 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.01242, allocations: 0.7211 MB / 491 MB, free: 6.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.01243, allocations: 1.312 kB / 491 MB, free: 6.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01243, allocations: 3.938 kB / 491 MB, free: 6.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.01246, allocations: 1.219 kB / 491 MB, free: 6.078 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.002023/0.01449, allocations: 1.981 MB / 492.9 MB, free: 4.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.01453, allocations: 10.09 kB / 492.9 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.0148, allocations: 192.2 kB / 493.1 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.01543, allocations: 0.5052 MB / 493.6 MB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.01549, allocations: 73.53 kB / 493.7 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.0156, allocations: 106.6 kB / 493.8 MB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000965/0.01656, allocations: 0.7798 MB / 494.6 MB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.01658, allocations: 4.125 kB / 494.6 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.01663, allocations: 43.31 kB / 494.6 MB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.01666, allocations: 21.69 kB / 494.7 MB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.01722, allocations: 329.1 kB / 495 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.02005, allocations: 2.49 MB / 497.5 MB, free: 18.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.02077, allocations: 482.4 kB / 497.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.02106, allocations: 224.3 kB / 498.2 MB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.0211, allocations: 17.09 kB / 498.2 MB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.02143, allocations: 240.2 kB / 498.4 MB, free: 17.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.086e-06/0.02143, allocations: 0 / 498.4 MB, free: 17.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.0008165/0.02225, allocations: 0.5269 MB / 498.9 MB, free: 17.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.0223, allocations: 166.5 kB / 499.1 MB, free: 17.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.02276, allocations: 0.4907 MB / 499.6 MB, free: 17.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.02281, allocations: 41.27 kB / 499.6 MB, free: 17.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.02302, allocations: 462.8 kB / 0.4884 GB, free: 16.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.02315, allocations: 264.4 kB / 0.4886 GB, free: 16.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.0233, allocations: 137.6 kB / 0.4888 GB, free: 16.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.0235, allocations: 0.5475 MB / 0.4893 GB, free: 16.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.02378, allocations: 120.4 kB / 0.4894 GB, free: 16.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.0241, allocations: 473.6 kB / 0.4899 GB, free: 15.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.02454, allocations: 323.2 kB / 0.4902 GB, free: 15.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02454, allocations: 0 / 0.4902 GB, free: 15.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006957/0.02524, allocations: 0.493 MB / 0.4906 GB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.02526, allocations: 7.406 kB / 0.4906 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.02527, allocations: 0 / 0.4906 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.02529, allocations: 4.562 kB / 0.4907 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.02574, allocations: 148.8 kB / 0.4908 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.02576, allocations: 4.375 kB / 0.4908 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.02599, allocations: 73.48 kB / 0.4909 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.02602, allocations: 21.52 kB / 0.4909 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003128/0.02633, allocations: 248.7 kB / 0.4911 GB, free: 15.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003057/0.02664, allocations: 461 kB / 0.4916 GB, free: 14.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000411/0.02705, allocations: 309.3 kB / 0.4919 GB, free: 14.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.02705, allocations: 6.688 kB / 0.4919 GB, free: 14.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0006442/0.0277, allocations: 489 kB / 0.4923 GB, free: 14.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.02771, allocations: 8.172 kB / 0.4923 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.02771, allocations: 1.219 kB / 0.4923 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.02772, allocations: 8.812 kB / 0.4924 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.02803, allocations: 135.8 kB / 0.4925 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.02804, allocations: 3.406 kB / 0.4925 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.02823, allocations: 70.06 kB / 0.4926 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.02826, allocations: 18.81 kB / 0.4926 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.0001989/0.02845, allocations: 318.2 kB / 0.4929 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.02856, allocations: 88.83 kB / 0.493 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.02922, allocations: 454 kB / 0.4934 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.02923, allocations: 8.141 kB / 0.4934 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.02924, allocations: 3.938 kB / 0.4934 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.02925, allocations: 4.578 kB / 0.4934 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.03099, allocations: 1.264 MB / 0.4946 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.031, allocations: 4.5 kB / 0.4946 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.03132, allocations: 134.3 kB / 0.4948 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.03133, allocations: 4 kB / 0.4948 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.03136, allocations: 18.16 kB / 0.4948 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.03136, allocations: 4.562 kB / 0.4948 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.03137, allocations: 7.938 kB / 0.4948 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.0322, allocations: 0.7786 MB / 0.4956 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.03229, allocations: 92.92 kB / 0.4957 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.03235, allocations: 12.8 kB / 0.4957 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.03251, allocations: 35.47 kB / 0.4957 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.0326, allocations: 43.33 kB / 0.4957 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.03262, allocations: 26.72 kB / 0.4958 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.03291, allocations: 330.9 kB / 0.4961 GB, free: 11.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.03291, allocations: 0.5 kB / 0.4961 GB, free: 11.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006572/0.03356, allocations: 349.3 kB / 0.4964 GB, free: 11.27 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.0001631/0.03373, allocations: 123 kB / 0.4965 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.03461, allocations: 0.5916 MB / 0.4971 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.03461, allocations: 1.031 kB / 0.4971 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.03485, allocations: 210.4 kB / 0.4973 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.03542, allocations: 159.9 kB / 0.4975 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.03729, allocations: 1.415 MB / 0.4988 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.03746, allocations: 169 kB / 0.499 GB, free: 8.781 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.03773, allocations: 80.81 kB / 0.4991 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.03785, allocations: 56.81 kB / 0.4991 GB, free: 8.676 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/0.03786, allocations: 3.094 kB / 0.4991 GB, free: 8.676 MB / 426.7 MB Notification: Performance of Templates: time 0.01291/0.05076, allocations: 7.538 MB / 0.5065 GB, free: 2.676 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.9823662422131747]