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.002036/0.002036, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.002038/0.002038, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.683/1.683, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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 3.242/3.242, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] 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 2.414e-06/2.414e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.677e-05, allocations: 6.281 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005264/0.005301, allocations: 2.811 MB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004815/0.01012, allocations: 1.746 MB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.01081, allocations: 23.88 kB / 1.006 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.01132, allocations: 166.2 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005817/0.0119, allocations: 146.7 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.01262, allocations: 363.4 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.01394, allocations: 1.096 MB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.01501, allocations: 426.8 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009311/0.01595, allocations: 0.6041 MB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.01638, allocations: 318.8 kB / 1.009 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.01657, allocations: 120 kB / 1.009 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.01672, allocations: 120 kB / 1.009 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.01698, allocations: 263 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.01733, allocations: 319 kB / 1.009 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.01906, allocations: 1.355 MB / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.01907, allocations: 0 / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.136e-06/0.01907, allocations: 0 / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.01909, allocations: 0 / 1.011 GB, free: 3.02 MB / 0.9636 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.003623/0.02272, allocations: 1.895 MB / 1.013 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.02278, allocations: 13.34 kB / 1.013 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.02302, allocations: 120.2 kB / 1.013 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.02394, allocations: 0.4991 MB / 1.013 GB, free: 416 kB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.02403, allocations: 74.38 kB / 1.013 GB, free: 344 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.02417, allocations: 92.38 kB / 1.013 GB, free: 252 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.02602, allocations: 0.9832 MB / 1.014 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.02605, allocations: 192 / 1.014 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/0.02613, allocations: 36.38 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.02616, allocations: 24.38 kB / 1.014 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.02779, allocations: 0.6245 MB / 1.015 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.03249, allocations: 2.358 MB / 1.017 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.03399, allocations: 0.6673 MB / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/0.03471, allocations: 366.6 kB / 1.018 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.03477, allocations: 8.656 kB / 1.018 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000751/0.03552, allocations: 356.3 kB / 1.019 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=74): time 3.016e-06/0.03553, allocations: 0 / 1.019 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74): time 0.001938/0.03746, allocations: 0.806 MB / 1.019 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.03761, allocations: 170.8 kB / 1.02 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/0.03836, allocations: 494.1 kB / 1.02 GB, free: 9.195 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.03844, allocations: 45.7 kB / 1.02 GB, free: 9.145 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.03887, allocations: 408.9 kB / 1.021 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.03922, allocations: 273.7 kB / 1.021 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.03945, allocations: 122.7 kB / 1.021 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.03971, allocations: 382.7 kB / 1.021 GB, free: 7.961 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.04042, allocations: 248.7 kB / 1.022 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.04128, allocations: 0.5574 MB / 1.022 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.04248, allocations: 0.537 MB / 1.023 GB, free: 6.527 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.04248, allocations: 0 / 1.023 GB, free: 6.527 MB / 0.9792 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001544/0.04402, allocations: 0.704 MB / 1.023 GB, free: 5.816 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.04404, allocations: 7.938 kB / 1.023 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.04405, allocations: 4 kB / 1.023 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.04408, allocations: 8.031 kB / 1.023 GB, free: 5.797 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.04472, allocations: 155.8 kB / 1.023 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.04474, allocations: 4 kB / 1.023 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.0452, allocations: 83.62 kB / 1.024 GB, free: 5.559 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.04525, allocations: 27.98 kB / 1.024 GB, free: 5.531 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006753/0.04593, allocations: 346.1 kB / 1.024 GB, free: 5.188 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006822/0.04661, allocations: 0.5106 MB / 1.024 GB, free: 4.594 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008307/0.04744, allocations: 458 kB / 1.025 GB, free: 4.141 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.04745, allocations: 7.938 kB / 1.025 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00118/0.04863, allocations: 0.6064 MB / 1.025 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.04864, allocations: 8 kB / 1.025 GB, free: 3.508 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.04865, allocations: 3.984 kB / 1.025 GB, free: 3.504 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.04866, allocations: 8.094 kB / 1.025 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.0492, allocations: 135.8 kB / 1.026 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.04921, allocations: 4 kB / 1.026 GB, free: 3.359 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.0496, allocations: 79.58 kB / 1.026 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.04964, allocations: 24 kB / 1.026 GB, free: 3.258 MB / 0.9792 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.0002958/0.04994, allocations: 222.7 kB / 1.026 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.05004, allocations: 63.58 kB / 1.026 GB, free: 2.973 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.05148, allocations: 0.6449 MB / 1.027 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.05149, allocations: 8 kB / 1.027 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.0515, allocations: 0 / 1.027 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.05151, allocations: 3.984 kB / 1.027 GB, free: 2.309 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.05438, allocations: 1.442 MB / 1.028 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.05438, allocations: 8.188 kB / 1.028 GB, free: 0.8008 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.05499, allocations: 143.7 kB / 1.028 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.055, allocations: 4 kB / 1.028 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.05505, allocations: 15.94 kB / 1.028 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.05505, allocations: 7.938 kB / 1.028 GB, free: 0.6328 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.05506, allocations: 8 kB / 1.028 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.05725, allocations: 1.067 MB / 1.029 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.05739, allocations: 75.38 kB / 1.029 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.05746, allocations: 16 kB / 1.029 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.05785, allocations: 47.95 kB / 1.029 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.05796, allocations: 48.56 kB / 1.029 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.05801, allocations: 20 kB / 1.029 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000475/0.05848, allocations: 342.9 kB / 1.03 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.05848, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009025/0.05938, allocations: 338.9 kB / 1.03 GB, free: 14.66 MB / 0.9948 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.0002461/0.05963, allocations: 127.2 kB / 1.03 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.06151, allocations: 0.8331 MB / 1.031 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.06152, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.06215, allocations: 300.2 kB / 1.031 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.063, allocations: 145.9 kB / 1.031 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.06598, allocations: 1.481 MB / 1.033 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.06646, allocations: 395.3 kB / 1.033 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003561/0.06682, allocations: 80.91 kB / 1.033 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.06699, allocations: 56.48 kB / 1.033 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of SimCode: time 8.02e-07/0.06699, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of Templates: time 0.018/0.085, allocations: 7.492 MB / 1.041 GB, free: 3.824 MB / 0.9948 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: 9.543243756517768]