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.00138/0.00138, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001098/0.001098, allocations: 164.2 kB / 25.04 MB, free: 9.152 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.9263/0.9263, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.913/1.913, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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 3.126e-06/3.126e-06, allocations: 0 / 0.7762 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.219e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003424/0.003456, allocations: 2.937 MB / 0.7791 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.006276, allocations: 1.834 MB / 0.7809 GB, free: 472 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.006675, allocations: 19.94 kB / 0.7809 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.007021, allocations: 166.1 kB / 0.7811 GB, free: 284 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.007428, allocations: 152.4 kB / 0.7812 GB, free: 132 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.007898, allocations: 352.1 kB / 0.7815 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008415/0.00874, allocations: 1.096 MB / 0.7826 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000562/0.009302, allocations: 450.7 kB / 0.783 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.009929, allocations: 0.6095 MB / 0.7836 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.01029, allocations: 323.7 kB / 0.7839 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.0104, allocations: 120 kB / 0.7841 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.01048, allocations: 120 kB / 0.7842 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.01061, allocations: 255.7 kB / 0.7844 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.01079, allocations: 315 kB / 0.7847 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.01141, allocations: 0.7161 MB / 0.7854 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01141, allocations: 0.6562 kB / 0.7854 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.203e-06/0.01141, allocations: 4 kB / 0.7854 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.01142, allocations: 0.5625 kB / 0.7854 GB, free: 11.77 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.001235/0.01265, allocations: 1.179 MB / 0.7866 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.01269, allocations: 13.34 kB / 0.7866 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.01282, allocations: 150.4 kB / 0.7867 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.01328, allocations: 390.8 kB / 0.7871 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.01333, allocations: 70.38 kB / 0.7872 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.01342, allocations: 112.8 kB / 0.7873 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/0.01404, allocations: 0.7376 MB / 0.788 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.01406, allocations: 1.875 kB / 0.788 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.01409, allocations: 40.36 kB / 0.788 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.01411, allocations: 24.38 kB / 0.7881 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.01436, allocations: 218.6 kB / 0.7883 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.01633, allocations: 1.799 MB / 0.79 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.01676, allocations: 399.7 kB / 0.7904 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.01691, allocations: 183.1 kB / 0.7906 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.01695, allocations: 16.66 kB / 0.7906 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.01715, allocations: 217 kB / 0.7908 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 2.194e-06/0.01715, allocations: 0.9375 kB / 0.7908 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.000413/0.01756, allocations: 361.8 kB / 0.7911 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.01762, allocations: 166.9 kB / 0.7913 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.01788, allocations: 427.8 kB / 0.7917 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.01791, allocations: 43.39 kB / 0.7918 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.01805, allocations: 350 kB / 0.7921 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.01822, allocations: 269.6 kB / 0.7923 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01833, allocations: 134.6 kB / 0.7925 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01844, allocations: 382.6 kB / 0.7928 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.01855, allocations: 81.44 kB / 0.7929 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.01875, allocations: 405.5 kB / 0.7933 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.01899, allocations: 261.8 kB / 0.7936 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01899, allocations: 0 / 0.7936 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0003133/0.01931, allocations: 334.4 kB / 0.7939 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01932, allocations: 11.98 kB / 0.7939 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01933, allocations: 80 / 0.7939 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01934, allocations: 4 kB / 0.7939 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.01962, allocations: 151.8 kB / 0.794 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01963, allocations: 11.92 kB / 0.794 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.01979, allocations: 73.09 kB / 0.7941 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.01982, allocations: 20 kB / 0.7941 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001688/0.01998, allocations: 158.1 kB / 0.7943 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001931/0.02018, allocations: 396 kB / 0.7947 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002012/0.02038, allocations: 254.7 kB / 0.7949 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.02038, allocations: 0 / 0.7949 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.000278/0.02066, allocations: 328.6 kB / 0.7952 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.02067, allocations: 4 kB / 0.7952 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.02067, allocations: 1.031 kB / 0.7952 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.02068, allocations: 4 kB / 0.7952 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.02093, allocations: 153.1 kB / 0.7954 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.02094, allocations: 4 kB / 0.7954 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.02107, allocations: 63.61 kB / 0.7954 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.02108, allocations: 17.12 kB / 0.7954 GB, free: 1.062 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.0001142/0.0212, allocations: 224.1 kB / 0.7957 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.02125, allocations: 69.34 kB / 0.7957 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.02158, allocations: 328.5 kB / 0.796 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.02159, allocations: 11.94 kB / 0.7961 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02159, allocations: 1.469 kB / 0.7961 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.0216, allocations: 3.984 kB / 0.7961 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.02259, allocations: 0.8658 MB / 0.7969 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.0226, allocations: 0.6562 kB / 0.7969 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.02288, allocations: 137.7 kB / 0.797 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.02288, allocations: 4 kB / 0.797 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.0229, allocations: 19.98 kB / 0.7971 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.02291, allocations: 11.88 kB / 0.7971 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.02291, allocations: 4 kB / 0.7971 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.02339, allocations: 0.5622 MB / 0.7976 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.02345, allocations: 63.45 kB / 0.7977 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.02349, allocations: 20 kB / 0.7977 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.02362, allocations: 35.91 kB / 0.7977 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.02367, allocations: 46.92 kB / 0.7978 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.02369, allocations: 15.98 kB / 0.7978 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000143/0.02383, allocations: 188.4 kB / 0.798 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02383, allocations: 0 / 0.798 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004121/0.02424, allocations: 346.7 kB / 0.7983 GB, free: 14.05 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 0.0001238/0.02436, allocations: 105.3 kB / 0.7984 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.02486, allocations: 493.6 kB / 0.7989 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.02487, allocations: 4 kB / 0.7989 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.02502, allocations: 178.7 kB / 0.7991 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.02545, allocations: 161.7 kB / 0.7992 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.02686, allocations: 1.371 MB / 0.8005 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.02696, allocations: 171.7 kB / 0.8007 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.02716, allocations: 76.61 kB / 0.8008 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.0274, allocations: 193.3 kB / 0.801 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of SimCode: time 8.72e-07/0.0274, allocations: 4.844 kB / 0.801 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.0115/0.0389, allocations: 8.171 MB / 0.809 GB, free: 3.359 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.163321994245052]