Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005647/0.005647, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.002079/0.002079, allocations: 190.8 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4005/0.4005, allocations: 54.95 MB / 324.8 MB, free: 100 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 68.78 kB / 456.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1768, allocations: 59.59 MB / 0.5038 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005054/0.1819, allocations: 3.122 MB / 0.5068 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1845, allocations: 1.043 MB / 0.5078 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006761/0.1852, allocations: 14.47 kB / 0.5079 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.1856, allocations: 71.2 kB / 0.5079 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.1861, allocations: 95.05 kB / 0.508 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007636/0.1869, allocations: 268.4 kB / 0.5083 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008732/0.1878, allocations: 0.5647 MB / 0.5088 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.1883, allocations: 263.4 kB / 0.5091 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.1887, allocations: 207 kB / 0.5093 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.1889, allocations: 214.9 kB / 0.5095 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.189, allocations: 52 kB / 0.5095 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.1891, allocations: 56 kB / 0.5096 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.1892, allocations: 107.6 kB / 0.5097 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1894, allocations: 246.6 kB / 0.5099 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.1899, allocations: 0.5722 MB / 0.5105 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.19, allocations: 7.938 kB / 0.5105 GB, free: 4.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.19, allocations: 0 / 0.5105 GB, free: 4.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.19, allocations: 4 kB / 0.5105 GB, free: 4.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001072/0.1911, allocations: 0.7621 MB / 0.5112 GB, free: 3.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1911, allocations: 8.031 kB / 0.5112 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.1912, allocations: 60.28 kB / 0.5113 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.1918, allocations: 428.5 kB / 0.5117 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.1919, allocations: 29.38 kB / 0.5117 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.1919, allocations: 40.12 kB / 0.5118 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.1925, allocations: 409.6 kB / 0.5122 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1925, allocations: 0 / 0.5122 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1926, allocations: 12 kB / 0.5122 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1926, allocations: 12 kB / 0.5122 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.1931, allocations: 263.8 kB / 0.5124 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.1944, allocations: 1.32 MB / 0.5137 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.195, allocations: 314.6 kB / 0.514 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.1953, allocations: 137.3 kB / 0.5142 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1953, allocations: 4 kB / 0.5142 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.1956, allocations: 181.3 kB / 0.5143 GB, free: 15.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.704e-06/0.1956, allocations: 4 kB / 0.5143 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008061/0.1965, allocations: 377.8 kB / 0.5147 GB, free: 15.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.1965, allocations: 85.11 kB / 0.5148 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.1969, allocations: 349.7 kB / 0.5151 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.197, allocations: 29.7 kB / 0.5151 GB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.1972, allocations: 244.9 kB / 0.5154 GB, free: 14.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.1973, allocations: 106.5 kB / 0.5155 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1974, allocations: 70.06 kB / 0.5155 GB, free: 14.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1976, allocations: 358.7 kB / 0.5159 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.1978, allocations: 106.3 kB / 0.516 GB, free: 14.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.1981, allocations: 181 kB / 0.5162 GB, free: 13.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.1985, allocations: 259.8 kB / 0.5164 GB, free: 13.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1986, allocations: 0 / 0.5164 GB, free: 13.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006296/0.1992, allocations: 358.3 kB / 0.5167 GB, free: 13.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1992, allocations: 8 kB / 0.5168 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1992, allocations: 192 / 0.5168 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1993, allocations: 11.94 kB / 0.5168 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.1995, allocations: 63.91 kB / 0.5168 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1996, allocations: 4 kB / 0.5168 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1997, allocations: 35.67 kB / 0.5169 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1998, allocations: 19.98 kB / 0.5169 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003045/0.2001, allocations: 220.9 kB / 0.5171 GB, free: 12.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002154/0.2003, allocations: 166.1 kB / 0.5172 GB, free: 12.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003748/0.2007, allocations: 249.9 kB / 0.5175 GB, free: 12.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.2007, allocations: 0 / 0.5175 GB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0004998/0.2012, allocations: 337.2 kB / 0.5178 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.2012, allocations: 11.94 kB / 0.5178 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.2012, allocations: 0 / 0.5178 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.2013, allocations: 4 kB / 0.5178 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2015, allocations: 68.09 kB / 0.5179 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2015, allocations: 4 kB / 0.5179 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.2017, allocations: 35.67 kB / 0.5179 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.2017, allocations: 12 kB / 0.5179 GB, free: 12 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0001526/0.2019, allocations: 208.1 kB / 0.5181 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2019, allocations: 39.52 kB / 0.5182 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.202, allocations: 40.25 kB / 0.5182 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.202, allocations: 8 kB / 0.5182 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.202, allocations: 0 / 0.5182 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.202, allocations: 7.984 kB / 0.5182 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2032, allocations: 0.8158 MB / 0.519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2033, allocations: 0 / 0.519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.2035, allocations: 51.91 kB / 0.5191 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2035, allocations: 0 / 0.5191 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.2036, allocations: 8 kB / 0.5191 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2036, allocations: 4 kB / 0.5191 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2036, allocations: 3.938 kB / 0.5191 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.2044, allocations: 0.516 MB / 0.5196 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.2046, allocations: 140.5 kB / 0.5197 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.2046, allocations: 4 kB / 0.5197 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2048, allocations: 20.05 kB / 0.5198 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.2049, allocations: 27.91 kB / 0.5198 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.205, allocations: 12 kB / 0.5198 GB, free: 10 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.2052, allocations: 243.2 kB / 0.52 GB, free: 9.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2052, allocations: 0 / 0.52 GB, free: 9.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.2057, allocations: 159.3 kB / 0.5202 GB, free: 9.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001402/0.2059, allocations: 115.1 kB / 0.5203 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.2067, allocations: 420.5 kB / 0.5207 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2067, allocations: 0 / 0.5207 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.207, allocations: 140.4 kB / 0.5208 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.2075, allocations: 90.23 kB / 0.5209 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2093, allocations: 0.814 MB / 0.5217 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.2098, allocations: 0.8159 MB / 0.5225 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.21, allocations: 43.27 kB / 0.5225 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2101, allocations: 35.42 kB / 0.5226 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2102, allocations: 0 / 0.5226 GB, free: 7.098 MB / 398.1 MB Notification: Performance of Templates: time 0.01034/0.2205, allocations: 4.09 MB / 0.5266 GB, free: 3.031 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)