Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.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.0009047/0.0009047, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008995/0.0008995, allocations: 161 kB / 24.17 MB, free: 328 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.9861/0.9861, allocations: 177.1 MB / 204.6 MB, free: 5.051 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.821/1.821, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.7751 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.332e-05, allocations: 7 kB / 0.7751 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003201/0.003214, allocations: 3.456 MB / 0.7785 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.005241, allocations: 1.391 MB / 0.7798 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.005525, allocations: 35.69 kB / 0.7799 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.005762, allocations: 126.6 kB / 0.78 GB, free: 496 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.006137, allocations: 194.3 kB / 0.7802 GB, free: 304 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.006881, allocations: 0.5645 MB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.007605, allocations: 0.9796 MB / 0.7817 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.007914, allocations: 236.2 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.008387, allocations: 0.5181 MB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.008617, allocations: 257.8 kB / 0.7827 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.008695, allocations: 76 kB / 0.7827 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.301e-05/0.008758, allocations: 80 kB / 0.7828 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.00886, allocations: 179.3 kB / 0.783 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.009003, allocations: 235.2 kB / 0.7832 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.009439, allocations: 0.5796 MB / 0.7838 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.009441, allocations: 0 / 0.7838 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.009442, allocations: 2.812 kB / 0.7838 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.009447, allocations: 0 / 0.7838 GB, free: 12.59 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001038/0.01048, allocations: 1.062 MB / 0.7848 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.01051, allocations: 9.344 kB / 0.7848 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.01062, allocations: 102.2 kB / 0.7849 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.01116, allocations: 0.5034 MB / 0.7854 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.01123, allocations: 144.9 kB / 0.7856 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.01129, allocations: 56.38 kB / 0.7856 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.01175, allocations: 0.6052 MB / 0.7862 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.01176, allocations: 4.125 kB / 0.7862 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.01179, allocations: 25 kB / 0.7862 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.01181, allocations: 16 kB / 0.7862 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.01198, allocations: 137.8 kB / 0.7864 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.01325, allocations: 1.462 MB / 0.7878 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.01354, allocations: 215.3 kB / 0.788 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.01363, allocations: 86.39 kB / 0.7881 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.01365, allocations: 8 kB / 0.7881 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.01384, allocations: 217.6 kB / 0.7883 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.623e-06/0.01385, allocations: 0 / 0.7883 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0003209/0.01417, allocations: 258.6 kB / 0.7885 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.01422, allocations: 114.8 kB / 0.7887 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.01451, allocations: 0.5086 MB / 0.7892 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.01455, allocations: 37.7 kB / 0.7892 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.01466, allocations: 280.1 kB / 0.7895 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.01474, allocations: 162.6 kB / 0.7896 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.01483, allocations: 98.25 kB / 0.7897 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.01494, allocations: 386.6 kB / 0.7901 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.01503, allocations: 86.19 kB / 0.7902 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.01517, allocations: 239.2 kB / 0.7904 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.0154, allocations: 258.8 kB / 0.7906 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01541, allocations: 5.469 kB / 0.7906 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002978/0.01571, allocations: 335.3 kB / 0.791 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.01573, allocations: 29.7 kB / 0.791 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01573, allocations: 5.031 kB / 0.791 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01575, allocations: 7.938 kB / 0.791 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.01598, allocations: 108.8 kB / 0.7911 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01599, allocations: 4 kB / 0.7911 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.01615, allocations: 56.34 kB / 0.7912 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01617, allocations: 22.75 kB / 0.7912 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001447/0.01631, allocations: 167.1 kB / 0.7913 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001343/0.01645, allocations: 239.2 kB / 0.7916 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002004/0.01665, allocations: 261.6 kB / 0.7918 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-06/0.01665, allocations: 0 / 0.7918 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0002855/0.01693, allocations: 336.9 kB / 0.7921 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01695, allocations: 29.7 kB / 0.7922 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.01695, allocations: 4 kB / 0.7922 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.01695, allocations: 4.938 kB / 0.7922 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.01716, allocations: 107.8 kB / 0.7923 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01716, allocations: 7.938 kB / 0.7923 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01731, allocations: 56.97 kB / 0.7923 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01733, allocations: 12 kB / 0.7924 GB, free: 3.277 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001029/0.01743, allocations: 219.3 kB / 0.7926 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.01749, allocations: 57.84 kB / 0.7926 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.24e-05/0.01756, allocations: 78.75 kB / 0.7927 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01756, allocations: 7.938 kB / 0.7927 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.01757, allocations: 3.984 kB / 0.7927 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01757, allocations: 2.438 kB / 0.7927 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.01784, allocations: 321.3 kB / 0.793 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01784, allocations: 0 / 0.793 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.01803, allocations: 71.91 kB / 0.7931 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01804, allocations: 4 kB / 0.7931 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.01805, allocations: 11.98 kB / 0.7931 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01806, allocations: 6.344 kB / 0.7931 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01806, allocations: 0 / 0.7931 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.0184, allocations: 319.8 kB / 0.7934 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.01851, allocations: 75.44 kB / 0.7935 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.01855, allocations: 12 kB / 0.7935 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.01869, allocations: 30.56 kB / 0.7935 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.01874, allocations: 31.94 kB / 0.7935 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01876, allocations: 11.92 kB / 0.7936 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001667/0.01892, allocations: 244.6 kB / 0.7938 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01892, allocations: 0 / 0.7938 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003151/0.01924, allocations: 231.4 kB / 0.794 GB, free: 1.539 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.135e-05/0.01933, allocations: 91.39 kB / 0.7941 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.01976, allocations: 0.5143 MB / 0.7946 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.01976, allocations: 4 kB / 0.7946 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.01987, allocations: 108.7 kB / 0.7947 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.02027, allocations: 204.7 kB / 0.7949 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.02134, allocations: 1.076 MB / 0.796 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.02142, allocations: 142.5 kB / 0.7961 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.02163, allocations: 91.55 kB / 0.7962 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.02196, allocations: 210.2 kB / 0.7964 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of SimCode: time 6.52e-07/0.02196, allocations: 3.938 kB / 0.7964 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of Templates: time 0.01029/0.03226, allocations: 8.671 MB / 0.8049 GB, free: 6.641 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.881415752694011]