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.0009234/0.0009234, 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.001026/0.001026, 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.008/1.008, 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 1.856/1.856, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.693e-06/1.693e-06, allocations: 0 / 0.7751 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.98e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003867/0.003887, allocations: 3.96 MB / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.006145, allocations: 1.397 MB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.006535, allocations: 31.81 kB / 0.7804 GB, free: 104 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.006838, allocations: 126.7 kB / 0.7805 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.007153, allocations: 194.8 kB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.007798, allocations: 411.4 kB / 0.7811 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.008788, allocations: 0.9746 MB / 0.782 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.00913, allocations: 302.3 kB / 0.7823 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.009536, allocations: 0.4989 MB / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.009753, allocations: 235.2 kB / 0.783 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.238e-05/0.009825, allocations: 88 kB / 0.7831 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.009896, allocations: 88 kB / 0.7832 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.00999, allocations: 175.4 kB / 0.7834 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.01015, allocations: 251.4 kB / 0.7836 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.01061, allocations: 0.572 MB / 0.7842 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01062, allocations: 4 kB / 0.7842 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01062, allocations: 0 / 0.7842 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.01062, allocations: 4.75 kB / 0.7842 GB, free: 12.19 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.0009989/0.01162, allocations: 0.9653 MB / 0.7851 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01166, allocations: 9.344 kB / 0.7851 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.01176, allocations: 104.8 kB / 0.7852 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.01225, allocations: 424.5 kB / 0.7856 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.01227, allocations: 45.69 kB / 0.7857 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.01233, allocations: 60.33 kB / 0.7857 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.01277, allocations: 491.5 kB / 0.7862 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01279, allocations: 8.109 kB / 0.7862 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.01282, allocations: 24.38 kB / 0.7862 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.01283, allocations: 16.69 kB / 0.7862 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.01305, allocations: 159.3 kB / 0.7864 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.01441, allocations: 1.291 MB / 0.7877 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.01468, allocations: 223.6 kB / 0.7879 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.01478, allocations: 94.31 kB / 0.788 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.01481, allocations: 9 kB / 0.788 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.01499, allocations: 170.7 kB / 0.7881 GB, free: 8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.01499, allocations: 0.5625 kB / 0.7881 GB, free: 8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.000319/0.01531, allocations: 255.3 kB / 0.7884 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003032/0.01561, allocations: 59.91 kB / 0.7884 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.01583, allocations: 383.1 kB / 0.7888 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.01586, allocations: 38.45 kB / 0.7888 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01598, allocations: 274.1 kB / 0.7891 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.01606, allocations: 171.6 kB / 0.7893 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.01615, allocations: 98.25 kB / 0.7894 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.01625, allocations: 378.6 kB / 0.7897 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.01633, allocations: 75.91 kB / 0.7898 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01645, allocations: 165.1 kB / 0.7899 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.01666, allocations: 253.9 kB / 0.7902 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01666, allocations: 1.406 kB / 0.7902 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000274/0.01693, allocations: 323.1 kB / 0.7905 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.01696, allocations: 29.7 kB / 0.7905 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01696, allocations: 5.469 kB / 0.7905 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.01698, allocations: 4 kB / 0.7905 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.01723, allocations: 115.8 kB / 0.7906 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01724, allocations: 5.562 kB / 0.7906 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.01737, allocations: 55.59 kB / 0.7907 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.01739, allocations: 12 kB / 0.7907 GB, free: 5.215 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.0001192/0.01751, allocations: 142.9 kB / 0.7908 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.01755, allocations: 52.42 kB / 0.7909 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.01762, allocations: 63.25 kB / 0.791 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01763, allocations: 4 kB / 0.791 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01763, allocations: 4 kB / 0.791 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01764, allocations: 3.984 kB / 0.791 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.01823, allocations: 0.5906 MB / 0.7915 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01823, allocations: 0 / 0.7915 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.01846, allocations: 91.89 kB / 0.7916 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01847, allocations: 0 / 0.7916 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01849, allocations: 11.98 kB / 0.7916 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01849, allocations: 4 kB / 0.7916 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01849, allocations: 0 / 0.7916 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.01885, allocations: 409.4 kB / 0.792 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.01894, allocations: 59.53 kB / 0.7921 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.01897, allocations: 12 kB / 0.7921 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01909, allocations: 15.98 kB / 0.7921 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.01915, allocations: 48.34 kB / 0.7922 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01916, allocations: 8 kB / 0.7922 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000115/0.01928, allocations: 166 kB / 0.7923 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01928, allocations: 0 / 0.7923 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002555/0.01953, allocations: 139.6 kB / 0.7925 GB, free: 3.371 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 0.0001091/0.01964, allocations: 93.64 kB / 0.7926 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.01993, allocations: 301.7 kB / 0.7928 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.01993, allocations: 4 kB / 0.7928 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.02006, allocations: 124.7 kB / 0.793 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.02044, allocations: 155.2 kB / 0.7931 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.0219, allocations: 1.102 MB / 0.7942 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.077e-05/0.02198, allocations: 133.9 kB / 0.7943 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.02214, allocations: 59.25 kB / 0.7944 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.02236, allocations: 162.2 kB / 0.7945 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of SimCode: time 9.01e-07/0.02236, allocations: 3.938 kB / 0.7945 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.009081/0.03144, allocations: 6.272 MB / 0.8007 GB, free: 11.16 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: 4.8738058428280056]