Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009857/0.0009857, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.001092/0.001092, allocations: 165.8 kB / 24.96 MB, free: 8.719 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 0.9466/0.9466, allocations: 177.1 MB / 205.4 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.976/1.976, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.9844 kB / 0.776 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.684e-05, allocations: 5.5 kB / 0.776 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003186/0.003203, allocations: 2.943 MB / 0.7789 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.006002, allocations: 1.828 MB / 0.7807 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.006439, allocations: 20.81 kB / 0.7807 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.006763, allocations: 166.1 kB / 0.7809 GB, free: 348 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.007162, allocations: 155.1 kB / 0.781 GB, free: 196 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.007613, allocations: 351.5 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008283/0.008441, allocations: 1.1 MB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.008965, allocations: 450.7 kB / 0.7829 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/0.009507, allocations: 0.605 MB / 0.7835 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.009809, allocations: 326.5 kB / 0.7838 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.009917, allocations: 120 kB / 0.7839 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.491e-05/0.01001, allocations: 120 kB / 0.784 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01014, allocations: 259.1 kB / 0.7842 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.01035, allocations: 311 kB / 0.7845 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.0109, allocations: 0.7157 MB / 0.7852 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.0109, allocations: 4 kB / 0.7852 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.0109, allocations: 0 / 0.7852 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.515e-06/0.01091, allocations: 0 / 0.7852 GB, free: 11.84 MB / 0.7448 GB 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.00119/0.0121, allocations: 1.182 MB / 0.7864 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.01213, allocations: 10.09 kB / 0.7864 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.01226, allocations: 148.8 kB / 0.7866 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.01266, allocations: 391.5 kB / 0.7869 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.01271, allocations: 75.06 kB / 0.787 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.01307, allocations: 112.3 kB / 0.7871 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.01367, allocations: 0.7309 MB / 0.7878 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01368, allocations: 192 / 0.7878 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.01372, allocations: 44.36 kB / 0.7879 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.01373, allocations: 25.16 kB / 0.7879 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.01397, allocations: 218.5 kB / 0.7881 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.01588, allocations: 1.808 MB / 0.7899 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.01628, allocations: 401.1 kB / 0.7902 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.01642, allocations: 174.6 kB / 0.7904 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.01646, allocations: 17.5 kB / 0.7904 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.0169, allocations: 212.3 kB / 0.7906 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 1.783e-06/0.01691, allocations: 1.719 kB / 0.7906 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0003748/0.01728, allocations: 369.8 kB / 0.791 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.01733, allocations: 162.9 kB / 0.7911 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.01757, allocations: 427.2 kB / 0.7915 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.0176, allocations: 44.45 kB / 0.7916 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.01775, allocations: 350.1 kB / 0.7919 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.01786, allocations: 269.6 kB / 0.7922 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.01797, allocations: 130.6 kB / 0.7923 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.01808, allocations: 382.6 kB / 0.7927 GB, free: 4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.01819, allocations: 80.83 kB / 0.7927 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.01838, allocations: 398.8 kB / 0.7931 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.01861, allocations: 267.7 kB / 0.7934 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01862, allocations: 3.938 kB / 0.7934 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0002968/0.01891, allocations: 332.3 kB / 0.7937 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01893, allocations: 8.719 kB / 0.7937 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01893, allocations: 0 / 0.7937 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01894, allocations: 5.906 kB / 0.7937 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.01923, allocations: 159.8 kB / 0.7939 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01923, allocations: 7.938 kB / 0.7939 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01937, allocations: 68.55 kB / 0.7939 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.01939, allocations: 19.98 kB / 0.794 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001527/0.01954, allocations: 159.1 kB / 0.7941 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001643/0.01971, allocations: 394.8 kB / 0.7945 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001873/0.0199, allocations: 259.5 kB / 0.7947 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.0199, allocations: 0 / 0.7947 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0002577/0.02015, allocations: 328.5 kB / 0.795 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.02016, allocations: 6.656 kB / 0.7951 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.02016, allocations: 1.562 kB / 0.7951 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.02017, allocations: 4 kB / 0.7951 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.0204, allocations: 147.8 kB / 0.7952 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.02041, allocations: 4 kB / 0.7952 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.02053, allocations: 64.58 kB / 0.7953 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.02055, allocations: 20 kB / 0.7953 GB, free: 1.125 MB / 0.7448 GB 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.000113/0.02066, allocations: 217 kB / 0.7955 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.02071, allocations: 64.64 kB / 0.7956 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.02102, allocations: 333.1 kB / 0.7959 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.02102, allocations: 11.94 kB / 0.7959 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.02103, allocations: 3 kB / 0.7959 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.02103, allocations: 3.984 kB / 0.7959 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.02188, allocations: 0.8627 MB / 0.7967 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02188, allocations: 0 / 0.7967 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.02214, allocations: 139.8 kB / 0.7969 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.02215, allocations: 8 kB / 0.7969 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.02217, allocations: 15.98 kB / 0.7969 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.02217, allocations: 11.88 kB / 0.7969 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02218, allocations: 9.375 kB / 0.7969 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.02289, allocations: 0.5598 MB / 0.7975 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.02295, allocations: 72.42 kB / 0.7975 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.02299, allocations: 20 kB / 0.7975 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.02311, allocations: 29.08 kB / 0.7976 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.02316, allocations: 48.56 kB / 0.7976 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.02318, allocations: 19.98 kB / 0.7976 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001286/0.02331, allocations: 189 kB / 0.7978 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.02331, allocations: 2.281 kB / 0.7978 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003968/0.02371, allocations: 338.7 kB / 0.7981 GB, free: 14.12 MB / 0.7605 GB 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 9.408e-05/0.0238, allocations: 108.3 kB / 0.7982 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.02426, allocations: 496.8 kB / 0.7987 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.02427, allocations: 4 kB / 0.7987 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.02441, allocations: 174.9 kB / 0.7989 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.02479, allocations: 160.3 kB / 0.799 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.02604, allocations: 1.367 MB / 0.8004 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.968e-05/0.02614, allocations: 171.7 kB / 0.8005 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001968/0.02634, allocations: 80.88 kB / 0.8006 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.02659, allocations: 189.3 kB / 0.8008 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.02659, allocations: 3.938 kB / 0.8008 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of Templates: time 0.0109/0.03749, allocations: 8.166 MB / 0.8088 GB, free: 3.434 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.173636798746884]