Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.528/1.528, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 180 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007073/0.0007073, allocations: 93.05 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 8.781 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1815, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004003/0.1856, allocations: 3.54 MB / 0.9043 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1882, allocations: 1.294 MB / 0.9055 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.1887, allocations: 23.88 kB / 0.9056 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1891, allocations: 87.2 kB / 0.9056 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1894, allocations: 142.8 kB / 0.9058 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.1902, allocations: 284.2 kB / 0.906 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006056/0.1908, allocations: 0.8422 MB / 0.9069 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/0.1912, allocations: 295.5 kB / 0.9072 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.1914, allocations: 222.9 kB / 0.9074 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1916, allocations: 250.6 kB / 0.9076 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.1917, allocations: 24 kB / 0.9076 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.1918, allocations: 20 kB / 0.9076 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.1918, allocations: 95.53 kB / 0.9077 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.192, allocations: 157.3 kB / 0.9079 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.1925, allocations: 0.8066 MB / 0.9087 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1925, allocations: 0 / 0.9087 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.1925, allocations: 0 / 0.9087 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.1925, allocations: 0 / 0.9087 GB, free: 56.18 MB / 0.6042 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.0014/0.1939, allocations: 0.953 MB / 0.9096 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.194, allocations: 12.03 kB / 0.9096 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1941, allocations: 86.97 kB / 0.9097 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.1947, allocations: 0.5368 MB / 0.9102 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.1948, allocations: 45.31 kB / 0.9103 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.1949, allocations: 64 kB / 0.9103 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.1958, allocations: 0.6036 MB / 0.9109 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.1958, allocations: 11.91 kB / 0.9109 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.1959, allocations: 20 kB / 0.9109 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1959, allocations: 16 kB / 0.911 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.1969, allocations: 465 kB / 0.9114 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.1993, allocations: 2.024 MB / 0.9134 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.2001, allocations: 453 kB / 0.9138 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.2005, allocations: 242.1 kB / 0.914 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.2006, allocations: 8.375 kB / 0.9141 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005291/0.2011, allocations: 273.3 kB / 0.9143 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.855e-06/0.2011, allocations: 0 / 0.9143 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.001138/0.2023, allocations: 0.5999 MB / 0.9149 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.2023, allocations: 55.84 kB / 0.915 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.2027, allocations: 442 kB / 0.9154 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.2027, allocations: 29.7 kB / 0.9154 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2029, allocations: 325 kB / 0.9157 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.203, allocations: 165.7 kB / 0.9159 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.203, allocations: 12 kB / 0.9159 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.2031, allocations: 366.8 kB / 0.9162 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.2034, allocations: 169 kB / 0.9164 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.2038, allocations: 249.8 kB / 0.9166 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.2042, allocations: 231.8 kB / 0.9169 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2042, allocations: 0 / 0.9169 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008782/0.2051, allocations: 0.5663 MB / 0.9174 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.2051, allocations: 37.66 kB / 0.9174 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2052, allocations: 0 / 0.9174 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.2052, allocations: 8 kB / 0.9174 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.2056, allocations: 120.1 kB / 0.9176 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2057, allocations: 4 kB / 0.9176 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.206, allocations: 67.5 kB / 0.9176 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.206, allocations: 23.92 kB / 0.9177 GB, free: 46.66 MB / 0.6042 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 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.2063, allocations: 209.7 kB / 0.9179 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.2063, allocations: 55.34 kB / 0.9179 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.2065, allocations: 69.53 kB / 0.918 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2065, allocations: 4 kB / 0.918 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2065, allocations: 4 kB / 0.918 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2065, allocations: 0 / 0.918 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.2079, allocations: 1.185 MB / 0.9191 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2079, allocations: 0 / 0.9191 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.2084, allocations: 103.8 kB / 0.9192 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2084, allocations: 8 kB / 0.9192 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.2084, allocations: 8 kB / 0.9193 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2084, allocations: 7.984 kB / 0.9193 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2085, allocations: 0 / 0.9193 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.2096, allocations: 0.768 MB / 0.92 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.2097, allocations: 168.3 kB / 0.9202 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.2098, allocations: 20.02 kB / 0.9202 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.2101, allocations: 43.88 kB / 0.9202 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.2102, allocations: 32.39 kB / 0.9203 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.2102, allocations: 19.98 kB / 0.9203 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002591/0.2105, allocations: 302.9 kB / 0.9206 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2105, allocations: 0 / 0.9206 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003868/0.2109, allocations: 135.5 kB / 0.9207 GB, free: 43.45 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.211, allocations: 119.2 kB / 0.9208 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008053/0.2118, allocations: 489.5 kB / 0.9213 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2118, allocations: 4 kB / 0.9213 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.2122, allocations: 214.4 kB / 0.9215 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.2129, allocations: 152.3 kB / 0.9216 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.2152, allocations: 1.66 MB / 0.9233 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.2155, allocations: 0.8863 MB / 0.9241 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.2157, allocations: 43.42 kB / 0.9242 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2157, allocations: 0 / 0.9242 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.008314/0.224, allocations: 7.495 MB / 0.9315 GB, free: 32.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)