Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008711/0.0008711, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.54/1.54, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004805, allocations: 15.56 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1842, allocations: 116.3 MB / 0.7871 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00355/0.1877, allocations: 3.42 MB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1895, allocations: 1.283 MB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.1897, allocations: 23.88 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.195e-05/0.1898, allocations: 59.36 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004812/0.1903, allocations: 223.2 kB / 0.792 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.1909, allocations: 305.5 kB / 0.7923 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.1916, allocations: 0.586 MB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.1919, allocations: 299.5 kB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1922, allocations: 238.9 kB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1924, allocations: 242.6 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.1925, allocations: 24 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.1925, allocations: 20 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.1926, allocations: 91.55 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1927, allocations: 161.3 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.1934, allocations: 0.7988 MB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1934, allocations: 3.938 kB / 0.7947 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1934, allocations: 0 / 0.7947 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.1934, allocations: 0 / 0.7947 GB, free: 4.234 MB / 0.6075 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.001376/0.1948, allocations: 0.9627 MB / 0.7956 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1948, allocations: 12.03 kB / 0.7956 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.1949, allocations: 83.06 kB / 0.7957 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007605/0.1957, allocations: 0.5329 MB / 0.7962 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.1957, allocations: 49.31 kB / 0.7963 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.1958, allocations: 63.98 kB / 0.7963 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009252/0.1968, allocations: 0.5881 MB / 0.7969 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.1968, allocations: 11.94 kB / 0.7969 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.1969, allocations: 24 kB / 0.7969 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1969, allocations: 15.94 kB / 0.7969 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/0.1978, allocations: 461 kB / 0.7974 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.2003, allocations: 2.028 MB / 0.7994 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.2012, allocations: 452.8 kB / 0.7998 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.2012, allocations: 4.438 kB / 0.7998 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/0.2017, allocations: 265.3 kB / 0.8001 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 1.714e-06/0.2017, allocations: 0 / 0.8001 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001131/0.2029, allocations: 0.5967 MB / 0.8006 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2029, allocations: 59.83 kB / 0.8007 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.2033, allocations: 445.9 kB / 0.8011 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.2034, allocations: 33.7 kB / 0.8011 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.2036, allocations: 332.2 kB / 0.8015 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.2037, allocations: 165.6 kB / 0.8016 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.2037, allocations: 12 kB / 0.8016 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2039, allocations: 366.8 kB / 0.802 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.2042, allocations: 165 kB / 0.8021 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.2046, allocations: 257.8 kB / 0.8024 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.205, allocations: 223.9 kB / 0.8026 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.205, allocations: 0 / 0.8026 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009234/0.206, allocations: 0.574 MB / 0.8032 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.206, allocations: 29.7 kB / 0.8032 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.206, allocations: 4.25 kB / 0.8032 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.206, allocations: 15.94 kB / 0.8032 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.2065, allocations: 115.8 kB / 0.8033 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2065, allocations: 4 kB / 0.8033 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.2069, allocations: 67.5 kB / 0.8034 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.2069, allocations: 24 kB / 0.8034 GB, free: 10.95 MB / 0.6231 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.0002219/0.2071, allocations: 212.1 kB / 0.8036 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.2072, allocations: 55.34 kB / 0.8037 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.2073, allocations: 61.59 kB / 0.8037 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2073, allocations: 7.984 kB / 0.8037 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2073, allocations: 3.953 kB / 0.8037 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2074, allocations: 0 / 0.8037 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.209, allocations: 1.189 MB / 0.8049 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.209, allocations: 0 / 0.8049 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.2094, allocations: 99.88 kB / 0.805 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2095, allocations: 3.938 kB / 0.805 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.2095, allocations: 15.95 kB / 0.805 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.2095, allocations: 0 / 0.805 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2095, allocations: 0 / 0.805 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.2108, allocations: 0.7757 MB / 0.8058 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.2109, allocations: 172.4 kB / 0.8059 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.211, allocations: 8 kB / 0.8059 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.2113, allocations: 43.86 kB / 0.806 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.2114, allocations: 36.39 kB / 0.806 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.2114, allocations: 8 kB / 0.806 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002853/0.2117, allocations: 306.9 kB / 0.8063 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2117, allocations: 0 / 0.8063 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003877/0.2121, allocations: 147.4 kB / 0.8065 GB, free: 7.738 MB / 0.6231 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.0001179/0.2122, allocations: 115.9 kB / 0.8066 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008704/0.2131, allocations: 493.5 kB / 0.807 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2131, allocations: 0 / 0.807 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.2135, allocations: 218.4 kB / 0.8072 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.2141, allocations: 137.9 kB / 0.8074 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.2165, allocations: 1.614 MB / 0.809 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.2169, allocations: 0.9058 MB / 0.8098 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.2171, allocations: 60.58 kB / 0.8099 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.2172, allocations: 43.42 kB / 0.8099 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of SimCode: time 1.553e-06/0.2172, allocations: 0 / 0.8099 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of Templates: time 0.009114/0.2263, allocations: 5.359 MB / 0.8152 GB, free: 14.81 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: