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.0009832/0.0009832, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001699/0.001699, allocations: 161 kB / 24.17 MB, free: 332 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.019/1.019, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.054/2.054, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] 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.223e-06/1.223e-06, allocations: 0 / 0.7752 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.646e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004669/0.004686, allocations: 3.994 MB / 0.7791 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.007538, allocations: 1.397 MB / 0.7804 GB, free: 56 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.007928, allocations: 31.81 kB / 0.7805 GB, free: 24 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.008214, allocations: 122.7 kB / 0.7806 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.008516, allocations: 196.7 kB / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.009192, allocations: 411.4 kB / 0.7812 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008496/0.01004, allocations: 0.9785 MB / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.01041, allocations: 298.6 kB / 0.7824 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.01092, allocations: 0.5028 MB / 0.7829 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.01117, allocations: 231.2 kB / 0.7831 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.467e-05/0.01126, allocations: 91.5 kB / 0.7832 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.01133, allocations: 88 kB / 0.7833 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.01143, allocations: 179.3 kB / 0.7835 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.01161, allocations: 247.4 kB / 0.7837 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.01211, allocations: 0.572 MB / 0.7842 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01211, allocations: 0 / 0.7842 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01211, allocations: 0 / 0.7842 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.01212, allocations: 0 / 0.7842 GB, free: 12.12 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.001029/0.01315, allocations: 0.9681 MB / 0.7852 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.01318, allocations: 10.19 kB / 0.7852 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.01329, allocations: 108.8 kB / 0.7853 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.01378, allocations: 419.8 kB / 0.7857 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.01381, allocations: 42.81 kB / 0.7857 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.01387, allocations: 64.33 kB / 0.7858 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.01432, allocations: 495 kB / 0.7863 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.01434, allocations: 192 / 0.7863 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.01437, allocations: 28.38 kB / 0.7863 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.01438, allocations: 16.44 kB / 0.7863 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.0146, allocations: 163.9 kB / 0.7865 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.01601, allocations: 1.283 MB / 0.7877 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.01628, allocations: 233.5 kB / 0.788 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.01638, allocations: 98.3 kB / 0.788 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.01641, allocations: 12.48 kB / 0.7881 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.01659, allocations: 162.2 kB / 0.7882 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 1.813e-06/0.01659, allocations: 0 / 0.7882 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.0003168/0.01691, allocations: 260.7 kB / 0.7885 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.01694, allocations: 59.91 kB / 0.7885 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.01717, allocations: 383.2 kB / 0.7889 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.01719, allocations: 33.7 kB / 0.7889 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01731, allocations: 282 kB / 0.7892 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/0.0174, allocations: 170.5 kB / 0.7893 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.0175, allocations: 98.23 kB / 0.7894 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01761, allocations: 371.1 kB / 0.7898 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.01769, allocations: 84.3 kB / 0.7899 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.01781, allocations: 160.3 kB / 0.79 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.01802, allocations: 257.7 kB / 0.7903 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01802, allocations: 0.7188 kB / 0.7903 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002837/0.0183, allocations: 324.3 kB / 0.7906 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.01833, allocations: 29.7 kB / 0.7906 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01834, allocations: 7.984 kB / 0.7906 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01835, allocations: 9.438 kB / 0.7906 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.01866, allocations: 138.4 kB / 0.7908 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01867, allocations: 5.5 kB / 0.7908 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.0188, allocations: 51.66 kB / 0.7908 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.01882, allocations: 16 kB / 0.7908 GB, free: 5.102 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.0001207/0.01894, allocations: 141.2 kB / 0.791 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.01898, allocations: 43.95 kB / 0.791 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.714e-05/0.01905, allocations: 65.44 kB / 0.7911 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.01905, allocations: 9.656 kB / 0.7911 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01906, allocations: 3.938 kB / 0.7911 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.01906, allocations: 3.984 kB / 0.7911 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.01965, allocations: 0.5764 MB / 0.7916 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01965, allocations: 4 kB / 0.7917 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.01991, allocations: 107 kB / 0.7918 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01992, allocations: 3.938 kB / 0.7918 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.01994, allocations: 11.98 kB / 0.7918 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01994, allocations: 7.984 kB / 0.7918 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01994, allocations: 0 / 0.7918 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.0203, allocations: 402.8 kB / 0.7922 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.02039, allocations: 66.59 kB / 0.7922 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.02043, allocations: 15.98 kB / 0.7922 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.02054, allocations: 15.98 kB / 0.7923 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.0206, allocations: 40.38 kB / 0.7923 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.02061, allocations: 8 kB / 0.7923 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001188/0.02073, allocations: 168.6 kB / 0.7925 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02073, allocations: 0 / 0.7925 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002552/0.02099, allocations: 141.4 kB / 0.7926 GB, free: 3.25 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 9.286e-05/0.02108, allocations: 96.34 kB / 0.7927 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.02136, allocations: 299 kB / 0.793 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.02137, allocations: 5.281 kB / 0.793 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.02149, allocations: 124.7 kB / 0.7931 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.02187, allocations: 152.9 kB / 0.7932 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.0233, allocations: 1.103 MB / 0.7943 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.02339, allocations: 136.3 kB / 0.7945 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.02356, allocations: 66.09 kB / 0.7945 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.02379, allocations: 162.2 kB / 0.7947 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.02379, allocations: 0 / 0.7947 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of Templates: time 0.009126/0.03292, allocations: 6.441 MB / 0.801 GB, free: 10.88 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.082618915010244]