Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.761/2.761, allocations: 284.8 MB / 297.3 MB, free: 6.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002781/0.002781, allocations: 180.8 kB / 365.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.7 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.125e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9531/0.9531, allocations: 115.2 MB / 0.97 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.248/1.201, allocations: 144.6 MB / 1.111 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/1.202, allocations: 77.11 kB / 1.111 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05291/1.254, allocations: 12.53 MB / 1.123 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.305e-06/1.255, allocations: 4 kB / 1.123 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.66e-05/1.255, allocations: 12.19 kB / 1.124 GB, free: 11.29 MB / 0.7292 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.002444/1.257, allocations: 0.8722 MB / 1.124 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.257, allocations: 8.031 kB / 1.124 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/1.258, allocations: 90.95 kB / 1.124 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.259, allocations: 0.5253 MB / 1.125 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/1.259, allocations: 46.53 kB / 1.125 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/1.259, allocations: 67.88 kB / 1.125 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/1.261, allocations: 0.5977 MB / 1.126 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/1.261, allocations: 7.938 kB / 1.126 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/1.261, allocations: 24 kB / 1.126 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/1.261, allocations: 18.95 kB / 1.126 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/1.262, allocations: 429.2 kB / 1.126 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/1.267, allocations: 2.091 MB / 1.128 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.269, allocations: 441.9 kB / 1.129 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/1.269, allocations: 218.5 kB / 1.129 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-05/1.269, allocations: 8.375 kB / 1.129 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006905/1.27, allocations: 253 kB / 1.129 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 3.717e-06/1.27, allocations: 0 / 1.129 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.001276/1.271, allocations: 427.5 kB / 1.129 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.271, allocations: 166.6 kB / 1.13 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/1.272, allocations: 395.9 kB / 1.13 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/1.272, allocations: 37.7 kB / 1.13 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.273, allocations: 320.4 kB / 1.13 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/1.273, allocations: 173.5 kB / 1.13 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/1.273, allocations: 12 kB / 1.131 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.273, allocations: 366.8 kB / 1.131 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/1.274, allocations: 153.1 kB / 1.131 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/1.274, allocations: 255.6 kB / 1.131 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/1.275, allocations: 216.9 kB / 1.131 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.275, allocations: 0 / 1.131 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001426/1.276, allocations: 0.5273 MB / 1.132 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/1.276, allocations: 33.7 kB / 1.132 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.276, allocations: 3.938 kB / 1.132 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/1.276, allocations: 4 kB / 1.132 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.277, allocations: 132 kB / 1.132 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.278, allocations: 4 kB / 1.132 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/1.278, allocations: 87.48 kB / 1.132 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/1.278, allocations: 16 kB / 1.132 GB, free: 2.02 MB / 0.7292 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 () * 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.0002155/1.279, allocations: 132.9 kB / 1.132 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/1.279, allocations: 59.3 kB / 1.132 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/1.279, allocations: 69.36 kB / 1.132 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.279, allocations: 4 kB / 1.132 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.279, allocations: 0 / 1.132 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.279, allocations: 4.031 kB / 1.132 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/1.282, allocations: 1.228 MB / 1.134 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.282, allocations: 0 / 1.134 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.283, allocations: 111.8 kB / 1.134 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/1.283, allocations: 0 / 1.134 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/1.283, allocations: 8 kB / 1.134 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/1.283, allocations: 11.06 kB / 1.134 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.283, allocations: 3.984 kB / 1.134 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.285, allocations: 0.7485 MB / 1.135 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/1.285, allocations: 180.4 kB / 1.135 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.286, allocations: 13.78 kB / 1.135 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/1.286, allocations: 51.95 kB / 1.135 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.287, allocations: 40.38 kB / 1.135 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/1.287, allocations: 12 kB / 1.135 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005918/1.287, allocations: 313.5 kB / 1.135 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.71e-07/1.287, allocations: 0 / 1.135 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007069/1.288, allocations: 159.4 kB / 1.135 GB, free: 14.8 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.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * 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.0002338/1.288, allocations: 117.3 kB / 1.135 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001186/1.289, allocations: 465.2 kB / 1.136 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.289, allocations: 3.938 kB / 1.136 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/1.29, allocations: 210.4 kB / 1.136 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/1.291, allocations: 137.9 kB / 1.136 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/1.296, allocations: 1.265 MB / 1.137 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/1.296, allocations: 0.9021 MB / 1.138 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005448/1.297, allocations: 70.53 kB / 1.138 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/1.297, allocations: 35.44 kB / 1.138 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of SimCode: time 1.563e-06/1.297, allocations: 0 / 1.138 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.02065/1.318, allocations: 6.235 MB / 1.144 GB, free: 5.469 MB / 0.7448 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)