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.001246/0.001246, allocations: 117.8 kB / 17.08 MB, free: 5.977 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.001808/0.001808, allocations: 192.2 kB / 18.02 MB, free: 5.059 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8346/0.8346, allocations: 126.4 MB / 418.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 62.27 kB / 0.5741 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1649, allocations: 78.78 MB / 0.6511 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005758/0.1708, allocations: 4.108 MB / 0.6551 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1733, allocations: 1.329 MB / 0.6564 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.1737, allocations: 23.88 kB / 0.6564 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1741, allocations: 118.8 kB / 0.6565 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.1745, allocations: 186.4 kB / 0.6567 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008855/0.1754, allocations: 424.7 kB / 0.6571 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.1764, allocations: 0.9668 MB / 0.658 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.1771, allocations: 458.1 kB / 0.6585 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.1775, allocations: 330.8 kB / 0.6588 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.1778, allocations: 334.3 kB / 0.6591 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.178, allocations: 92 kB / 0.6592 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1781, allocations: 96 kB / 0.6593 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.1783, allocations: 187.3 kB / 0.6595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.1786, allocations: 386.1 kB / 0.6598 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1797, allocations: 1.066 MB / 0.6609 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1797, allocations: 0 / 0.6609 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1797, allocations: 0 / 0.6609 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.1797, allocations: 0 / 0.6609 GB, free: 9.516 MB / 0.4981 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.001876/0.1816, allocations: 1.104 MB / 0.662 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1817, allocations: 8.031 kB / 0.662 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.1818, allocations: 88.36 kB / 0.6621 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.1828, allocations: 0.5732 MB / 0.6626 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.1828, allocations: 45.69 kB / 0.6627 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.1829, allocations: 52.38 kB / 0.6627 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.184, allocations: 0.6079 MB / 0.6633 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.1841, allocations: 11.92 kB / 0.6633 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.1841, allocations: 28 kB / 0.6633 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1841, allocations: 12 kB / 0.6634 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1852, allocations: 453 kB / 0.6638 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.1881, allocations: 2.001 MB / 0.6657 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/0.1891, allocations: 445.7 kB / 0.6662 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.1896, allocations: 246.1 kB / 0.6664 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.1896, allocations: 4.438 kB / 0.6664 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/0.1902, allocations: 261.2 kB / 0.6667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.1902, allocations: 4 kB / 0.6667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001359/0.1916, allocations: 0.5807 MB / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1916, allocations: 67.77 kB / 0.6673 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.1922, allocations: 438.1 kB / 0.6677 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.1922, allocations: 37.7 kB / 0.6677 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.1925, allocations: 341.5 kB / 0.6681 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1927, allocations: 170.5 kB / 0.6682 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1928, allocations: 90.25 kB / 0.6683 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.193, allocations: 370.7 kB / 0.6687 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.1934, allocations: 165 kB / 0.6688 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.1939, allocations: 245.8 kB / 0.6691 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/0.1948, allocations: 456 kB / 0.6695 GB, free: 380 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1948, allocations: 0 / 0.6695 GB, free: 380 kB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001136/0.196, allocations: 0.5666 MB / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.196, allocations: 33.64 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.196, allocations: 4 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1961, allocations: 4 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.1966, allocations: 124.1 kB / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1966, allocations: 7.938 kB / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.197, allocations: 59.59 kB / 0.6703 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.197, allocations: 20 kB / 0.6703 GB, free: 15.54 MB / 0.5137 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 (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.0003064/0.1973, allocations: 206.8 kB / 0.6705 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.1974, allocations: 59.61 kB / 0.6705 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.1976, allocations: 69.58 kB / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.1976, allocations: 4 kB / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1976, allocations: 0 / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1976, allocations: 3.984 kB / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.1995, allocations: 1.178 MB / 0.6718 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1995, allocations: 0 / 0.6718 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.2001, allocations: 99.88 kB / 0.6719 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2001, allocations: 4 kB / 0.6719 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.2001, allocations: 15.98 kB / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2001, allocations: 0 / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2001, allocations: 0 / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.2016, allocations: 0.7693 MB / 0.6726 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.2018, allocations: 176.6 kB / 0.6728 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.2019, allocations: 4 kB / 0.6728 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.2022, allocations: 27.97 kB / 0.6728 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2023, allocations: 32.39 kB / 0.6729 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2023, allocations: 12 kB / 0.6729 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003834/0.2027, allocations: 310.9 kB / 0.6732 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2027, allocations: 4 kB / 0.6732 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004803/0.2032, allocations: 143.7 kB / 0.6733 GB, free: 12.35 MB / 0.5137 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.000161/0.2034, allocations: 118.5 kB / 0.6734 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.2044, allocations: 485.5 kB / 0.6739 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2044, allocations: 0 / 0.6739 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.2049, allocations: 214.4 kB / 0.6741 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.2057, allocations: 150.3 kB / 0.6742 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.2086, allocations: 1.359 MB / 0.6756 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.2092, allocations: 0.8936 MB / 0.6764 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.2094, allocations: 64.59 kB / 0.6765 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.2096, allocations: 43.42 kB / 0.6765 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.2096, allocations: 3.938 kB / 0.6765 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of Templates: time 0.0134/0.223, allocations: 6.028 MB / 0.6824 GB, free: 3.012 MB / 0.5137 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)