Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00159/0.00159, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001901/0.001901, allocations: 193.8 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7639/0.7639, allocations: 115.3 MB / 407.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.48 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 76.19 MB / 0.6327 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005589/0.1718, allocations: 4.089 MB / 0.6367 GB, free: 364 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.1745, allocations: 1.329 MB / 0.638 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.175, allocations: 23.88 kB / 0.638 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1754, allocations: 126.7 kB / 0.6381 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.1758, allocations: 182.4 kB / 0.6383 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.1768, allocations: 416.6 kB / 0.6387 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009516/0.1777, allocations: 0.9593 MB / 0.6396 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006811/0.1784, allocations: 462.1 kB / 0.6401 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.1788, allocations: 330.8 kB / 0.6404 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.1792, allocations: 338.3 kB / 0.6407 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.1793, allocations: 95.98 kB / 0.6408 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1794, allocations: 88 kB / 0.6409 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.1796, allocations: 179.4 kB / 0.6411 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003329/0.1799, allocations: 394 kB / 0.6414 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009297/0.1808, allocations: 1.063 MB / 0.6425 GB, free: 10.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1808, allocations: 0 / 0.6425 GB, free: 10.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1809, allocations: 4 kB / 0.6425 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1809, allocations: 0 / 0.6425 GB, free: 10.38 MB / 494.1 MB 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.001838/0.1827, allocations: 1.077 MB / 0.6435 GB, free: 9.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1828, allocations: 12.03 kB / 0.6435 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.1829, allocations: 80 kB / 0.6436 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009571/0.1839, allocations: 0.5728 MB / 0.6442 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.1839, allocations: 41.69 kB / 0.6442 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.184, allocations: 60.38 kB / 0.6443 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1851, allocations: 0.6117 MB / 0.6449 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.1852, allocations: 0 / 0.6449 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/0.1852, allocations: 23.98 kB / 0.6449 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.1853, allocations: 19.94 kB / 0.6449 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.1862, allocations: 461 kB / 0.6454 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.1891, allocations: 1.989 MB / 0.6473 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/0.19, allocations: 441.8 kB / 0.6477 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.1905, allocations: 246.1 kB / 0.648 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.1906, allocations: 4.438 kB / 0.648 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005494/0.1911, allocations: 265.2 kB / 0.6482 GB, free: 4.297 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 2.274e-06/0.1911, allocations: 0 / 0.6482 GB, free: 4.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001306/0.1924, allocations: 0.5844 MB / 0.6488 GB, free: 3.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1925, allocations: 55.84 kB / 0.6488 GB, free: 3.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.193, allocations: 450 kB / 0.6493 GB, free: 3.191 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.193, allocations: 33.7 kB / 0.6493 GB, free: 3.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.1933, allocations: 320.3 kB / 0.6496 GB, free: 2.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1935, allocations: 169.5 kB / 0.6498 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1936, allocations: 90.25 kB / 0.6499 GB, free: 2.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1938, allocations: 362.8 kB / 0.6502 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.1942, allocations: 165 kB / 0.6504 GB, free: 2.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.1946, allocations: 253.8 kB / 0.6506 GB, free: 1.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007955/0.1954, allocations: 456 kB / 0.651 GB, free: 1.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1954, allocations: 0 / 0.651 GB, free: 1.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001041/0.1965, allocations: 0.5545 MB / 0.6516 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.1965, allocations: 49.56 kB / 0.6516 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1965, allocations: 8.25 kB / 0.6516 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1966, allocations: 4 kB / 0.6516 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.1971, allocations: 107.9 kB / 0.6517 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.1971, allocations: 11.88 kB / 0.6517 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.1974, allocations: 55.52 kB / 0.6518 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.1975, allocations: 19.98 kB / 0.6518 GB, free: 476 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.1978, allocations: 205.8 kB / 0.652 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.1978, allocations: 59.28 kB / 0.6521 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.198, allocations: 69.56 kB / 0.6521 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.198, allocations: 8 kB / 0.6521 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.198, allocations: 3.938 kB / 0.6521 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.198, allocations: 3.938 kB / 0.6522 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.1998, allocations: 1.174 MB / 0.6533 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1998, allocations: 4 kB / 0.6533 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.2003, allocations: 95.88 kB / 0.6534 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2003, allocations: 4 kB / 0.6534 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.2004, allocations: 8 kB / 0.6534 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.2004, allocations: 4 kB / 0.6534 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2004, allocations: 3.938 kB / 0.6534 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2017, allocations: 0.7574 MB / 0.6542 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.202, allocations: 176.2 kB / 0.6543 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.202, allocations: 12 kB / 0.6543 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.2023, allocations: 23.98 kB / 0.6544 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2024, allocations: 36.38 kB / 0.6544 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2025, allocations: 16 kB / 0.6544 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003359/0.2028, allocations: 306.9 kB / 0.6547 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2028, allocations: 0 / 0.6547 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000467/0.2033, allocations: 139.5 kB / 0.6548 GB, free: 13.29 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.2034, allocations: 115.1 kB / 0.6549 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009788/0.2044, allocations: 481 kB / 0.6554 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2044, allocations: 0 / 0.6554 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.2049, allocations: 218.3 kB / 0.6556 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.2057, allocations: 163.9 kB / 0.6558 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.2085, allocations: 1.37 MB / 0.6571 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.2091, allocations: 0.8938 MB / 0.658 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.2093, allocations: 43.44 kB / 0.658 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2093, allocations: 0 / 0.658 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of Templates: time 0.01259/0.2219, allocations: 7.653 MB / 0.6655 GB, free: 2.332 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)