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.001392/0.001392, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001317/0.001317, allocations: 165 kB / 24.25 MB, free: 212 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 0.9841/0.9841, allocations: 177.1 MB / 204.7 MB, free: 5.066 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 2.001/2.001, allocations: 389.5 MB / 0.6355 GB, free: 12.28 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.452e-06/1.452e-06, allocations: 0 / 0.7754 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.428e-05, allocations: 2.906 kB / 0.7754 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.002883/0.002897, allocations: 2.946 MB / 0.7783 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.00471, allocations: 1.835 MB / 0.7801 GB, free: 468 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.004946, allocations: 19.88 kB / 0.7801 GB, free: 448 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.005232, allocations: 158.2 kB / 0.7803 GB, free: 288 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.005549, allocations: 157.3 kB / 0.7804 GB, free: 132 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.005895, allocations: 351.5 kB / 0.7808 GB, free: 15.79 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.006507, allocations: 1.092 MB / 0.7818 GB, free: 14.69 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.006946, allocations: 456.4 kB / 0.7823 GB, free: 14.21 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.007326, allocations: 0.608 MB / 0.7829 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.007545, allocations: 327.9 kB / 0.7832 GB, free: 13.29 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.007642, allocations: 120 kB / 0.7833 GB, free: 13.17 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.007721, allocations: 119.9 kB / 0.7834 GB, free: 13.05 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.007832, allocations: 255.1 kB / 0.7836 GB, free: 12.8 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.007984, allocations: 315.5 kB / 0.7839 GB, free: 12.49 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.008439, allocations: 0.7089 MB / 0.7846 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008441, allocations: 0 / 0.7846 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008442, allocations: 0 / 0.7846 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.008447, allocations: 0.875 kB / 0.7846 GB, free: 11.78 MB / 0.7449 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.0011/0.009547, allocations: 1.19 MB / 0.7858 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.009576, allocations: 13.28 kB / 0.7858 GB, free: 10.55 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.009688, allocations: 153.8 kB / 0.786 GB, free: 10.41 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.01006, allocations: 391.5 kB / 0.7863 GB, free: 9.996 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.01011, allocations: 66.38 kB / 0.7864 GB, free: 9.93 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.01018, allocations: 105.1 kB / 0.7865 GB, free: 9.828 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.01075, allocations: 0.7414 MB / 0.7872 GB, free: 9.043 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.01077, allocations: 192 / 0.7872 GB, free: 9.043 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.0108, allocations: 38.25 kB / 0.7873 GB, free: 9.008 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.01082, allocations: 20.38 kB / 0.7873 GB, free: 8.988 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.01105, allocations: 221.8 kB / 0.7875 GB, free: 8.77 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.01281, allocations: 1.804 MB / 0.7893 GB, free: 6.926 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.0132, allocations: 405.5 kB / 0.7896 GB, free: 6.523 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.01335, allocations: 178.6 kB / 0.7898 GB, free: 6.344 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.01338, allocations: 12.66 kB / 0.7898 GB, free: 6.332 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.01357, allocations: 220.3 kB / 0.79 GB, free: 6.105 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=74): time 1.843e-06/0.01357, allocations: 0.9062 kB / 0.79 GB, free: 6.105 MB / 0.7449 GB Notification: Performance of matching and sorting (n=74): time 0.0003764/0.01394, allocations: 361.8 kB / 0.7904 GB, free: 5.746 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.014, allocations: 167.9 kB / 0.7905 GB, free: 5.547 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.01423, allocations: 423.2 kB / 0.7909 GB, free: 5.121 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.01426, allocations: 45.69 kB / 0.791 GB, free: 5.07 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.0144, allocations: 347.8 kB / 0.7913 GB, free: 4.723 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.0145, allocations: 261.6 kB / 0.7916 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.01461, allocations: 142.5 kB / 0.7917 GB, free: 4.32 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.0147, allocations: 378.6 kB / 0.7921 GB, free: 3.941 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01482, allocations: 85.91 kB / 0.7921 GB, free: 3.855 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.01505, allocations: 402.8 kB / 0.7925 GB, free: 3.383 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.01528, allocations: 255.4 kB / 0.7928 GB, free: 3.121 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01528, allocations: 4 kB / 0.7928 GB, free: 3.117 MB / 0.7449 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0002946/0.01557, allocations: 336.3 kB / 0.7931 GB, free: 2.781 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01559, allocations: 8.875 kB / 0.7931 GB, free: 2.773 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01559, allocations: 0 / 0.7931 GB, free: 2.773 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.0156, allocations: 4.719 kB / 0.7931 GB, free: 2.77 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.01589, allocations: 159.7 kB / 0.7933 GB, free: 2.613 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01589, allocations: 4.938 kB / 0.7933 GB, free: 2.609 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01604, allocations: 72.56 kB / 0.7933 GB, free: 2.539 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.01605, allocations: 20 kB / 0.7934 GB, free: 2.52 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001395/0.01619, allocations: 155.3 kB / 0.7935 GB, free: 2.367 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001727/0.01637, allocations: 398.8 kB / 0.7939 GB, free: 1.891 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001939/0.01656, allocations: 255.5 kB / 0.7941 GB, free: 1.637 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.01656, allocations: 0 / 0.7941 GB, free: 1.637 MB / 0.7449 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0002598/0.01682, allocations: 334.1 kB / 0.7944 GB, free: 1.305 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.01683, allocations: 8 kB / 0.7945 GB, free: 1.297 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.01683, allocations: 0 / 0.7945 GB, free: 1.297 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/0.01683, allocations: 4 kB / 0.7945 GB, free: 1.293 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.01707, allocations: 143.8 kB / 0.7946 GB, free: 1.152 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.01708, allocations: 4 kB / 0.7946 GB, free: 1.148 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.0172, allocations: 69.52 kB / 0.7947 GB, free: 1.082 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.01722, allocations: 19.98 kB / 0.7947 GB, free: 1.062 MB / 0.7449 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.0001018/0.01732, allocations: 220.1 kB / 0.7949 GB, free: 0.8398 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.01737, allocations: 67.88 kB / 0.795 GB, free: 0.7734 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.01768, allocations: 329.5 kB / 0.7953 GB, free: 456 kB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01768, allocations: 8.719 kB / 0.7953 GB, free: 448 kB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01768, allocations: 0 / 0.7953 GB, free: 448 kB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.01769, allocations: 4.578 kB / 0.7953 GB, free: 444 kB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.01853, allocations: 0.8663 MB / 0.7961 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01853, allocations: 4 kB / 0.7961 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.0188, allocations: 128.8 kB / 0.7963 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.0188, allocations: 12.42 kB / 0.7963 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.01883, allocations: 20 kB / 0.7963 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.01883, allocations: 10.97 kB / 0.7963 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01883, allocations: 0 / 0.7963 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.01927, allocations: 0.5598 MB / 0.7968 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.01933, allocations: 71.39 kB / 0.7969 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.01936, allocations: 16 kB / 0.7969 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01949, allocations: 42.34 kB / 0.797 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.01953, allocations: 40.58 kB / 0.797 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.01955, allocations: 19.98 kB / 0.797 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001243/0.01968, allocations: 192.4 kB / 0.7972 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01968, allocations: 4 kB / 0.7972 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003548/0.02003, allocations: 342.7 kB / 0.7975 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.000107/0.02014, allocations: 101.7 kB / 0.7976 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.02059, allocations: 493.2 kB / 0.7981 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.02059, allocations: 4 kB / 0.7981 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.02073, allocations: 186.7 kB / 0.7983 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.0211, allocations: 162.8 kB / 0.7984 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.02233, allocations: 1.371 MB / 0.7998 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.02243, allocations: 163.7 kB / 0.7999 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.02261, allocations: 80.72 kB / 0.8 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.02285, allocations: 197.3 kB / 0.8002 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of SimCode: time 6.22e-07/0.02285, allocations: 1.906 kB / 0.8002 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.01015/0.033, allocations: 8.177 MB / 0.8082 GB, free: 3.352 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.148186440579593]