Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001151/0.001151, 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.001233/0.001233, 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 1.04/1.04, allocations: 177.1 MB / 204.7 MB, free: 5.434 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.921/1.921, allocations: 389.6 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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.461e-05, allocations: 5.125 kB / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004002/0.004017, allocations: 4.009 MB / 0.7792 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.006126, allocations: 1.39 MB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.006415, allocations: 31.81 kB / 0.7806 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.006681, allocations: 129.8 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.006927, allocations: 189.9 kB / 0.7809 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.007512, allocations: 419.3 kB / 0.7813 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.008192, allocations: 0.9746 MB / 0.7823 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.008544, allocations: 298.6 kB / 0.7826 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.008994, allocations: 0.4989 MB / 0.783 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.009216, allocations: 239.7 kB / 0.7833 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.448e-05/0.009291, allocations: 88 kB / 0.7834 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.00936, allocations: 84.78 kB / 0.7834 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.009608, allocations: 175.4 kB / 0.7836 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.009749, allocations: 248.6 kB / 0.7838 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.01019, allocations: 0.572 MB / 0.7844 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.0102, allocations: 0 / 0.7844 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.0102, allocations: 0.8125 kB / 0.7844 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.01021, allocations: 0 / 0.7844 GB, free: 11.99 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0009353/0.01114, allocations: 0.9728 MB / 0.7854 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.01118, allocations: 9.344 kB / 0.7854 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.01128, allocations: 102.5 kB / 0.7855 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.01172, allocations: 422.9 kB / 0.7859 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.01175, allocations: 45.69 kB / 0.7859 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.0118, allocations: 65.39 kB / 0.786 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.01223, allocations: 490.9 kB / 0.7864 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.01225, allocations: 192 / 0.7864 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.01228, allocations: 28.38 kB / 0.7865 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01229, allocations: 17.28 kB / 0.7865 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.0125, allocations: 158.3 kB / 0.7866 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01381, allocations: 1.295 MB / 0.7879 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.01406, allocations: 223.8 kB / 0.7881 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.01417, allocations: 94.31 kB / 0.7882 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.0142, allocations: 9.25 kB / 0.7882 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.01436, allocations: 159.3 kB / 0.7884 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 1.773e-06/0.01437, allocations: 0 / 0.7884 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.0003009/0.01467, allocations: 262.9 kB / 0.7886 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.0147, allocations: 59.91 kB / 0.7887 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.01491, allocations: 383.9 kB / 0.789 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.01494, allocations: 37.7 kB / 0.7891 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01505, allocations: 274.8 kB / 0.7893 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.01513, allocations: 170.5 kB / 0.7895 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.01522, allocations: 99.25 kB / 0.7896 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01532, allocations: 374.6 kB / 0.7899 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.0154, allocations: 76.11 kB / 0.79 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01551, allocations: 168.4 kB / 0.7902 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.01594, allocations: 249.9 kB / 0.7904 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01594, allocations: 5.469 kB / 0.7904 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002859/0.01622, allocations: 319.3 kB / 0.7907 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.01625, allocations: 37.64 kB / 0.7908 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01626, allocations: 5.812 kB / 0.7908 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.01627, allocations: 4 kB / 0.7908 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.01656, allocations: 144.3 kB / 0.7909 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01657, allocations: 7.938 kB / 0.7909 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.01668, allocations: 58.78 kB / 0.791 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.0167, allocations: 15.98 kB / 0.791 GB, free: 4.969 MB / 0.7448 GB 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.0001101/0.01681, allocations: 139.7 kB / 0.7911 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.01685, allocations: 43.95 kB / 0.7912 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.01692, allocations: 65.44 kB / 0.7912 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01692, allocations: 6.781 kB / 0.7912 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01693, allocations: 7.875 kB / 0.7912 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01693, allocations: 4 kB / 0.7912 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.0175, allocations: 0.5758 MB / 0.7918 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0175, allocations: 0 / 0.7918 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.01775, allocations: 110.4 kB / 0.7919 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01776, allocations: 5.281 kB / 0.7919 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.01778, allocations: 15.98 kB / 0.7919 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01778, allocations: 3.938 kB / 0.7919 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.01778, allocations: 9.547 kB / 0.7919 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.01812, allocations: 394.8 kB / 0.7923 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.0182, allocations: 67.47 kB / 0.7924 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.01823, allocations: 9.281 kB / 0.7924 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01833, allocations: 19.98 kB / 0.7924 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.01839, allocations: 36.92 kB / 0.7925 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.0184, allocations: 8 kB / 0.7925 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000105/0.01851, allocations: 165.4 kB / 0.7926 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01851, allocations: 0 / 0.7926 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000229/0.01874, allocations: 144.3 kB / 0.7928 GB, free: 3.121 MB / 0.7448 GB 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 8.475e-05/0.01882, allocations: 102.6 kB / 0.7929 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.01908, allocations: 289.5 kB / 0.7931 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01908, allocations: 4 kB / 0.7931 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01919, allocations: 132.6 kB / 0.7933 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01953, allocations: 147.7 kB / 0.7934 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.02082, allocations: 1.102 MB / 0.7945 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.0209, allocations: 134.8 kB / 0.7946 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.02104, allocations: 63.67 kB / 0.7947 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.02125, allocations: 162 kB / 0.7948 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/0.02125, allocations: 0 / 0.7948 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of Templates: time 0.008361/0.02961, allocations: 6.451 MB / 0.8011 GB, free: 10.74 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.10429469961673]