Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.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.0006172/0.0006172, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008622/0.001479, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006819/0.0006819, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008754/0.001557, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8371/0.8371, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06856/0.9056, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001238/0.001238, allocations: 240.6 kB / 244.4 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009949/0.002233, allocations: 471.6 kB / 244.8 MB, free: 14.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6537/0.6537, allocations: 138.7 MB / 384.3 MB, free: 344 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05758/0.7112, allocations: 42.4 MB / 426.7 MB, free: 5.797 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 428 MB, free: 4.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.576e-06/9.799e-06, allocations: 2.312 kB / 428 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.00487/0.004879, allocations: 4.021 MB / 432 MB, free: 456 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1671/0.172, allocations: 1.393 MB / 433.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.1723, allocations: 30.34 kB / 433.5 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.1725, allocations: 128.1 kB / 433.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1728, allocations: 194.9 kB / 433.8 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.1733, allocations: 420.6 kB / 434.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.1739, allocations: 0.9602 MB / 435.2 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.1742, allocations: 303.2 kB / 435.5 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.1747, allocations: 0.5632 MB / 436 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.1749, allocations: 235.8 kB / 436.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.437e-05/0.1749, allocations: 86.59 kB / 436.3 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.175, allocations: 89.88 kB / 436.4 MB, free: 456 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.1751, allocations: 135.3 kB / 436.6 MB, free: 428 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1752, allocations: 208.8 kB / 436.8 MB, free: 396 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.176, allocations: 0.5239 MB / 437.3 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-05/0.176, allocations: 1.094 kB / 437.3 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.176, allocations: 0 / 437.3 MB, free: 180 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.176, allocations: 0.6562 kB / 437.3 MB, free: 180 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001535/0.1776, allocations: 1.115 MB / 438.4 MB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1776, allocations: 11.67 kB / 438.4 MB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1778, allocations: 100.3 kB / 438.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.1783, allocations: 426.8 kB / 438.9 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.1784, allocations: 42.06 kB / 439 MB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.1784, allocations: 60.5 kB / 439 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.179, allocations: 492.5 kB / 439.5 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.179, allocations: 8.734 kB / 439.5 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.1791, allocations: 28.27 kB / 439.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.1791, allocations: 19.34 kB / 439.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.1794, allocations: 158.9 kB / 439.7 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.181, allocations: 1.289 MB / 441 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1813, allocations: 225 kB / 441.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1814, allocations: 95.2 kB / 441.3 MB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1814, allocations: 9.969 kB / 441.3 MB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1816, allocations: 160.3 kB / 441.5 MB, free: 14.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.1816, allocations: 0.7188 kB / 441.5 MB, free: 14.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003624/0.182, allocations: 264.2 kB / 441.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.182, allocations: 62.2 kB / 441.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1823, allocations: 380.6 kB / 442.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.1823, allocations: 36.67 kB / 442.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1825, allocations: 275.9 kB / 442.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/0.1826, allocations: 177.6 kB / 442.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.1827, allocations: 93.59 kB / 442.7 MB, free: 13.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1828, allocations: 375.1 kB / 443.1 MB, free: 13.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.1829, allocations: 76.69 kB / 443.2 MB, free: 13.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.183, allocations: 167 kB / 443.3 MB, free: 13.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1832, allocations: 260.8 kB / 443.6 MB, free: 12.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1832, allocations: 1.156 kB / 443.6 MB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003001/0.1835, allocations: 323.9 kB / 443.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.1835, allocations: 38.7 kB / 444 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1835, allocations: 2.688 kB / 444 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1836, allocations: 6.406 kB / 444 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.1839, allocations: 143.7 kB / 444.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1839, allocations: 5.719 kB / 444.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.184, allocations: 56.3 kB / 444.2 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.184, allocations: 14.38 kB / 444.2 MB, free: 12.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001197/0.1842, allocations: 142.8 kB / 444.3 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.1842, allocations: 44.59 kB / 444.4 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.1843, allocations: 66.62 kB / 444.4 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1843, allocations: 6.375 kB / 444.4 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1843, allocations: 4.562 kB / 444.4 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1843, allocations: 2.266 kB / 444.4 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.185, allocations: 0.5777 MB / 445 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.185, allocations: 4.203 kB / 445 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.1853, allocations: 120 kB / 445.1 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.1853, allocations: 67.55 kB / 445.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1854, allocations: 0 / 445.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1854, allocations: 9.266 kB / 445.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1854, allocations: 6.188 kB / 445.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1854, allocations: 0 / 445.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1857, allocations: 408.8 kB / 445.6 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.1858, allocations: 19.17 kB / 445.6 MB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1859, allocations: 14.86 kB / 445.7 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.1859, allocations: 38.88 kB / 445.7 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1859, allocations: 5.531 kB / 445.7 MB, free: 12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.186, allocations: 162.1 kB / 445.9 MB, free: 11.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.186, allocations: 3.938 kB / 445.9 MB, free: 11.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.1863, allocations: 144.4 kB / 446 MB, free: 11.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.839e-05/0.1864, allocations: 98.45 kB / 446.1 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.1867, allocations: 307.3 kB / 446.4 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/0.1867, allocations: 6.844 kB / 446.4 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.1869, allocations: 147.6 kB / 446.5 MB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.1876, allocations: 1.167 MB / 447.7 MB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.1916, allocations: 1.142 MB / 448.9 MB, free: 9.863 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.1917, allocations: 139.2 kB / 449 MB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.1919, allocations: 62.53 kB / 449.1 MB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.1921, allocations: 164.8 kB / 449.2 MB, free: 9.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1921, allocations: 2.062 kB / 449.2 MB, free: 9.73 MB / 426.7 MB Notification: Performance of Templates: time 0.009914/0.2021, allocations: 6.542 MB / 455.8 MB, free: 4.246 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.193119775503874]