Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.663/2.663, allocations: 287.5 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 182.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009725/0.000972, allocations: 94.33 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004672, allocations: 10.66 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2301, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9412/1.171, allocations: 144.7 MB / 1.121 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/1.172, allocations: 83.81 kB / 1.121 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04708/1.219, allocations: 12.57 MB / 1.133 GB, free: 29.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.219, allocations: 7.938 kB / 1.133 GB, free: 29.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.609e-05/1.219, allocations: 23.17 kB / 1.133 GB, free: 29.55 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.002361/1.221, allocations: 0.9449 MB / 1.134 GB, free: 28.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.221, allocations: 7.625 kB / 1.134 GB, free: 28.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/1.222, allocations: 82.56 kB / 1.134 GB, free: 28.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/1.223, allocations: 0.5475 MB / 1.135 GB, free: 28.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/1.223, allocations: 48.89 kB / 1.135 GB, free: 28.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/1.223, allocations: 61.09 kB / 1.135 GB, free: 28.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.225, allocations: 0.6586 MB / 1.135 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/1.225, allocations: 11.92 kB / 1.135 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/1.225, allocations: 23.75 kB / 1.135 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/1.225, allocations: 11.47 kB / 1.135 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/1.226, allocations: 0.514 MB / 1.136 GB, free: 28.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/1.231, allocations: 2.107 MB / 1.138 GB, free: 27.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/1.233, allocations: 0.525 MB / 1.138 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/1.233, allocations: 270.2 kB / 1.139 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.838e-05/1.233, allocations: 4.281 kB / 1.139 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000919/1.234, allocations: 301.2 kB / 1.139 GB, free: 26.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 4.318e-06/1.234, allocations: 3.938 kB / 1.139 GB, free: 26.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.00236/1.237, allocations: 0.7057 MB / 1.14 GB, free: 26.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.237, allocations: 166.3 kB / 1.14 GB, free: 26.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/1.238, allocations: 451.8 kB / 1.14 GB, free: 26.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/1.238, allocations: 42.16 kB / 1.14 GB, free: 26.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/1.238, allocations: 319 kB / 1.141 GB, free: 26.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/1.238, allocations: 161.7 kB / 1.141 GB, free: 25.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/1.238, allocations: 7.75 kB / 1.141 GB, free: 25.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.239, allocations: 371.1 kB / 1.141 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/1.239, allocations: 201.3 kB / 1.141 GB, free: 25.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/1.24, allocations: 307.2 kB / 1.142 GB, free: 25.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/1.241, allocations: 0.5071 MB / 1.142 GB, free: 25.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.241, allocations: 0 / 1.142 GB, free: 25.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001823/1.243, allocations: 0.624 MB / 1.143 GB, free: 25.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/1.243, allocations: 38.95 kB / 1.143 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.243, allocations: 0 / 1.143 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.243, allocations: 7.844 kB / 1.143 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/1.244, allocations: 124.1 kB / 1.143 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.244, allocations: 3.906 kB / 1.143 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/1.245, allocations: 86.23 kB / 1.143 GB, free: 25.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/1.245, allocations: 19.12 kB / 1.143 GB, free: 25.06 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.0005251/1.246, allocations: 213.8 kB / 1.143 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/1.246, allocations: 58.47 kB / 1.143 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/1.246, allocations: 70.14 kB / 1.143 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.246, allocations: 3.906 kB / 1.143 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.246, allocations: 0 / 1.143 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.246, allocations: 8.016 kB / 1.143 GB, free: 24.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/1.249, allocations: 1.324 MB / 1.145 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.249, allocations: 3.938 kB / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009798/1.25, allocations: 108.3 kB / 1.145 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.25, allocations: 0 / 1.145 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/1.25, allocations: 14.58 kB / 1.145 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/1.25, allocations: 7.75 kB / 1.145 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.25, allocations: 0 / 1.145 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/1.252, allocations: 0.8963 MB / 1.146 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/1.253, allocations: 179.2 kB / 1.146 GB, free: 23.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.253, allocations: 13.48 kB / 1.146 GB, free: 23.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/1.254, allocations: 50.97 kB / 1.146 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.254, allocations: 42.28 kB / 1.146 GB, free: 23.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/1.254, allocations: 11.12 kB / 1.146 GB, free: 23.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005539/1.254, allocations: 316.3 kB / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.254, allocations: 0 / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007234/1.255, allocations: 148.2 kB / 1.146 GB, free: 23.71 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.0002389/1.255, allocations: 124.7 kB / 1.146 GB, free: 23.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001608/1.257, allocations: 0.5481 MB / 1.147 GB, free: 23.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.257, allocations: 0 / 1.147 GB, free: 23.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.258, allocations: 254.3 kB / 1.147 GB, free: 23.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.26, allocations: 146.2 kB / 1.147 GB, free: 23.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/1.268, allocations: 1.829 MB / 1.149 GB, free: 22.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/1.269, allocations: 0.893 MB / 1.15 GB, free: 21.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008387/1.27, allocations: 67.22 kB / 1.15 GB, free: 21.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/1.27, allocations: 42.11 kB / 1.15 GB, free: 21.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/1.27, allocations: 0 / 1.15 GB, free: 21.48 MB / 0.698 GB Notification: Performance of Templates: time 0.01912/1.289, allocations: 6.253 MB / 1.156 GB, free: 18.45 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)