Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.144/2.144, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001343/0.001343, allocations: 177 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.459/2.459, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009689/0.0009689, allocations: 94.09 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 17.41 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2414, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.4755, allocations: 138.4 MB / 1.035 GB, free: 6.98 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.4759, allocations: 83.95 kB / 1.035 GB, free: 6.898 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.05317/0.5291, allocations: 12.64 MB / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.1e-06/0.5291, allocations: 0 / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.093e-05/0.5292, allocations: 23.94 kB / 1.047 GB, free: 10.2 MB / 0.698 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.002873/0.5321, allocations: 0.9545 MB / 1.048 GB, free: 9.188 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5322, allocations: 8.031 kB / 1.048 GB, free: 9.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.5325, allocations: 91.91 kB / 1.048 GB, free: 9.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.5338, allocations: 0.5304 MB / 1.049 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.5339, allocations: 45.69 kB / 1.049 GB, free: 8.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5341, allocations: 60.38 kB / 1.049 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.5361, allocations: 0.6605 MB / 1.049 GB, free: 7.727 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.5362, allocations: 3.938 kB / 1.049 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.5363, allocations: 28 kB / 1.049 GB, free: 7.695 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.5363, allocations: 12 kB / 1.049 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.5383, allocations: 0.5243 MB / 1.05 GB, free: 7.156 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005091/0.5434, allocations: 2.091 MB / 1.052 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.5454, allocations: 0.5237 MB / 1.052 GB, free: 4.461 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000894/0.5463, allocations: 270.1 kB / 1.053 GB, free: 4.195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-05/0.5464, allocations: 4.438 kB / 1.053 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.5474, allocations: 305.3 kB / 1.053 GB, free: 3.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 4.028e-06/0.5475, allocations: 0 / 1.053 GB, free: 3.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.002649/0.5501, allocations: 0.7093 MB / 1.054 GB, free: 3.168 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5503, allocations: 158.7 kB / 1.054 GB, free: 2.977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.5511, allocations: 454 kB / 1.054 GB, free: 2.523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-05/0.5512, allocations: 41.7 kB / 1.054 GB, free: 2.477 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.5516, allocations: 317.1 kB / 1.055 GB, free: 2.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.5519, allocations: 165.6 kB / 1.055 GB, free: 1.996 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.5519, allocations: 15.94 kB / 1.055 GB, free: 1.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5521, allocations: 362.8 kB / 1.055 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000822/0.553, allocations: 209 kB / 1.055 GB, free: 1.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/0.5539, allocations: 315.4 kB / 1.056 GB, free: 1.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008736/0.5548, allocations: 251.8 kB / 1.056 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5548, allocations: 0 / 1.056 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002089/0.5569, allocations: 0.6248 MB / 1.057 GB, free: 188 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.557, allocations: 45.62 kB / 1.057 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.557, allocations: 0 / 1.057 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5571, allocations: 7.938 kB / 1.057 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/0.5581, allocations: 124.1 kB / 1.057 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.5581, allocations: 4 kB / 1.057 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6636/1.222, allocations: 72.81 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/1.222, allocations: 18.72 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,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 (64): * Single equations (assignments): 63 * 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.0004877/1.222, allocations: 214.6 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/1.223, allocations: 58.66 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/1.223, allocations: 68.84 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/1.223, allocations: 5.281 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.223, allocations: 3.375 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.223, allocations: 4.031 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/1.226, allocations: 1.32 MB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.226, allocations: 0 / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000972/1.227, allocations: 110.4 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.227, allocations: 3.172 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/1.227, allocations: 9.812 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.227, allocations: 3 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.227, allocations: 0 / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/1.23, allocations: 0.8946 MB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/1.23, allocations: 181.5 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.23, allocations: 15.56 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/1.231, allocations: 52.94 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.231, allocations: 33.17 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/1.231, allocations: 18.81 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005674/1.232, allocations: 314 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.232, allocations: 0 / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009797/1.233, allocations: 155.8 kB / 1.06 GB, free: 145.5 MB / 0.698 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.conPID.trigger,$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 (50): * Single equations (assignments): 48 * 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.0001999/1.233, allocations: 117.4 kB / 1.06 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.235, allocations: 0.5509 MB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.235, allocations: 0 / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008106/1.236, allocations: 258.8 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.237, allocations: 149.5 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/1.242, allocations: 1.829 MB / 1.063 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/1.243, allocations: 0.8881 MB / 1.064 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005929/1.244, allocations: 71.67 kB / 1.064 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/1.244, allocations: 38.83 kB / 1.064 GB, free: 143.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.304e-06/1.244, allocations: 0 / 1.064 GB, free: 143.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02364/1.267, allocations: 6.249 MB / 1.07 GB, free: 143.5 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)