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.001002/0.001002, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001195/0.001195, allocations: 173.3 kB / 24.84 MB, free: 8.863 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.077/1.077, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6361/0.6361, allocations: 115 MB / 376.8 MB, free: 7.5 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.503e-06/1.503e-06, allocations: 0 / 482.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.471e-05, allocations: 2.312 kB / 482.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.002804/0.002819, allocations: 2.875 MB / 485.7 MB, free: 9.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.00456, allocations: 1.774 MB / 487.5 MB, free: 8.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.004798, allocations: 22.97 kB / 487.5 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.005058, allocations: 168.4 kB / 487.7 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.005374, allocations: 143.6 kB / 487.8 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.005681, allocations: 360 kB / 488.2 MB, free: 7.973 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.006309, allocations: 1.095 MB / 489.2 MB, free: 7.398 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.006763, allocations: 430 kB / 489.7 MB, free: 7.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.007138, allocations: 0.6109 MB / 490.3 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.007352, allocations: 326.4 kB / 490.6 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.00747, allocations: 118.4 kB / 490.7 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.007589, allocations: 118.6 kB / 490.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.007698, allocations: 258.7 kB / 491.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.00786, allocations: 314 kB / 491.4 MB, free: 6.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.008294, allocations: 0.7147 MB / 492.1 MB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.008296, allocations: 0.625 kB / 492.1 MB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.008296, allocations: 0.5625 kB / 492.1 MB, free: 5.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.008306, allocations: 0 / 492.1 MB, free: 5.82 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.001536/0.009841, allocations: 2.057 MB / 494.2 MB, free: 4.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.009874, allocations: 10.19 kB / 494.2 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.01003, allocations: 188 kB / 494.4 MB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.01045, allocations: 0.4946 MB / 494.9 MB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.01051, allocations: 72 kB / 494.9 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.0106, allocations: 107.9 kB / 495 MB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.01121, allocations: 0.7238 MB / 495.7 MB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.01122, allocations: 7.234 kB / 495.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.01126, allocations: 36.25 kB / 495.8 MB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.01128, allocations: 22.66 kB / 495.8 MB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.01159, allocations: 257 kB / 496.1 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.01365, allocations: 2.384 MB / 498.4 MB, free: 18.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.01412, allocations: 453.7 kB / 498.9 MB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.0143, allocations: 198.2 kB / 499.1 MB, free: 17.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.01434, allocations: 17.31 kB / 499.1 MB, free: 17.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.01455, allocations: 214.6 kB / 499.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 1.844e-06/0.01455, allocations: 3.031 kB / 499.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.0005434/0.0151, allocations: 485.1 kB / 499.8 MB, free: 17.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.01513, allocations: 163 kB / 499.9 MB, free: 17.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.01542, allocations: 484.8 kB / 0.4887 GB, free: 17.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.01546, allocations: 44.89 kB / 0.4887 GB, free: 17.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.01564, allocations: 469 kB / 0.4892 GB, free: 16.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.01573, allocations: 263 kB / 0.4894 GB, free: 16.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.01585, allocations: 142.4 kB / 0.4896 GB, free: 16.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.01599, allocations: 0.5508 MB / 0.4901 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.01614, allocations: 93.42 kB / 0.4902 GB, free: 15.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.01634, allocations: 440.4 kB / 0.4906 GB, free: 15.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.01663, allocations: 287 kB / 0.4909 GB, free: 15.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01663, allocations: 3.938 kB / 0.4909 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0004435/0.01707, allocations: 453.2 kB / 0.4913 GB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01709, allocations: 11.78 kB / 0.4913 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01709, allocations: 1.469 kB / 0.4913 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.0171, allocations: 3.438 kB / 0.4913 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.01743, allocations: 144 kB / 0.4915 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01744, allocations: 5.297 kB / 0.4915 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.0176, allocations: 71.98 kB / 0.4916 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.01762, allocations: 20.58 kB / 0.4916 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001943/0.01782, allocations: 218.4 kB / 0.4918 GB, free: 15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002027/0.01802, allocations: 446.7 kB / 0.4922 GB, free: 14.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002565/0.01828, allocations: 267.3 kB / 0.4925 GB, free: 14.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.01828, allocations: 0.7188 kB / 0.4925 GB, free: 14.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0004536/0.01873, allocations: 437.3 kB / 0.4929 GB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01874, allocations: 7.031 kB / 0.4929 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.01875, allocations: 5 kB / 0.4929 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.01875, allocations: 4.438 kB / 0.4929 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.01904, allocations: 136.8 kB / 0.493 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01904, allocations: 4.922 kB / 0.493 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.0192, allocations: 71.94 kB / 0.4931 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.01922, allocations: 15.62 kB / 0.4931 GB, free: 14.23 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.0001395/0.01936, allocations: 317.6 kB / 0.4934 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.01944, allocations: 88.48 kB / 0.4935 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.0199, allocations: 408.7 kB / 0.4939 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.0199, allocations: 8.969 kB / 0.4939 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.0199, allocations: 1.344 kB / 0.4939 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.01991, allocations: 3.562 kB / 0.4939 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.02115, allocations: 1.127 MB / 0.495 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.02115, allocations: 3.125 kB / 0.495 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.02148, allocations: 131.5 kB / 0.4951 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.02148, allocations: 8 kB / 0.4951 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.02151, allocations: 18.14 kB / 0.4952 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.02152, allocations: 5.812 kB / 0.4952 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.02152, allocations: 4.656 kB / 0.4952 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.02233, allocations: 0.7263 MB / 0.4959 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.02241, allocations: 81.45 kB / 0.496 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.02247, allocations: 24.69 kB / 0.496 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.02268, allocations: 30.33 kB / 0.496 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.02276, allocations: 51.98 kB / 0.4961 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.02279, allocations: 18.44 kB / 0.4961 GB, free: 12.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002366/0.02302, allocations: 312.4 kB / 0.4964 GB, free: 11.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02302, allocations: 0 / 0.4964 GB, free: 11.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00363/0.02665, allocations: 339.3 kB / 0.4967 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.0001372/0.02679, allocations: 124 kB / 0.4968 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.02751, allocations: 0.5264 MB / 0.4973 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02751, allocations: 0 / 0.4973 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.02774, allocations: 187.8 kB / 0.4975 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.0006173/0.02836, allocations: 158.3 kB / 0.4977 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.03312, allocations: 1.401 MB / 0.499 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.03326, allocations: 169.9 kB / 0.4992 GB, free: 9.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.03353, allocations: 79.94 kB / 0.4993 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.03387, allocations: 228.7 kB / 0.4995 GB, free: 8.93 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03387, allocations: 0 / 0.4995 GB, free: 8.93 MB / 426.7 MB Notification: Performance of Templates: time 0.02876/0.06263, allocations: 8.366 MB / 0.5077 GB, free: 2.16 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.8099284297786653]