Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.73/1.73, allocations: 287.4 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 176.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 0.6304 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008491/0.0008492, allocations: 99.89 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004201, allocations: 14.3 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00259/0.1961, allocations: 2.656 MB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1974, allocations: 0.944 MB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.1976, allocations: 11.94 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1978, allocations: 47.52 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1979, allocations: 75.41 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1983, allocations: 162.2 kB / 0.9831 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.1987, allocations: 499.7 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.199, allocations: 231.6 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1992, allocations: 143.2 kB / 0.9839 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1993, allocations: 147.1 kB / 0.984 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.1994, allocations: 16 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.1994, allocations: 12 kB / 0.9841 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.1995, allocations: 63.64 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.1995, allocations: 101.5 kB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.1998, allocations: 426.8 kB / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1998, allocations: 0 / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1998, allocations: 0 / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1998, allocations: 4 kB / 0.9846 GB, free: 22.67 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008641/0.2007, allocations: 0.6843 MB / 0.9853 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2008, allocations: 8.031 kB / 0.9853 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.2008, allocations: 60.27 kB / 0.9854 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.2013, allocations: 416.5 kB / 0.9858 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2013, allocations: 29.38 kB / 0.9858 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.2014, allocations: 36.38 kB / 0.9858 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.2019, allocations: 397.9 kB / 0.9862 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.202, allocations: 3.938 kB / 0.9862 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.202, allocations: 16 kB / 0.9862 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.202, allocations: 8 kB / 0.9862 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.2025, allocations: 267.8 kB / 0.9865 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.2039, allocations: 1.332 MB / 0.9878 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.2045, allocations: 318.5 kB / 0.9881 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.2047, allocations: 137.2 kB / 0.9882 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.2047, allocations: 8.531 kB / 0.9882 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.2051, allocations: 185.5 kB / 0.9884 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.935e-06/0.2051, allocations: 0 / 0.9884 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0006877/0.2058, allocations: 385.8 kB / 0.9888 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2058, allocations: 81.11 kB / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.2061, allocations: 353.6 kB / 0.9892 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.2062, allocations: 29.7 kB / 0.9892 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2063, allocations: 232.4 kB / 0.9894 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.2064, allocations: 106.5 kB / 0.9895 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.2064, allocations: 8 kB / 0.9896 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.2065, allocations: 346.8 kB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2067, allocations: 100.7 kB / 0.99 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2069, allocations: 172.4 kB / 0.9901 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.2073, allocations: 260.4 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2073, allocations: 7.938 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005297/0.2079, allocations: 354.4 kB / 0.9907 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2079, allocations: 9.562 kB / 0.9907 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2079, allocations: 0 / 0.9907 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2079, allocations: 4 kB / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2082, allocations: 71.84 kB / 0.9908 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2082, allocations: 192 / 0.9908 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.2084, allocations: 47.72 kB / 0.9909 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.2084, allocations: 12 kB / 0.9909 GB, free: 15.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.2086, allocations: 181.6 kB / 0.991 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.2086, allocations: 39.47 kB / 0.9911 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.458e-05/0.2087, allocations: 44.25 kB / 0.9911 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2087, allocations: 7.984 kB / 0.9911 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2087, allocations: 0 / 0.9911 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.2088, allocations: 136.5 kB / 0.9913 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.2089, allocations: 8 kB / 0.9913 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.209, allocations: 19.98 kB / 0.9913 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.2091, allocations: 31.89 kB / 0.9913 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000609/0.2097, allocations: 385.7 kB / 0.9917 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007113/0.2104, allocations: 0.5921 MB / 0.9923 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002019/0.2106, allocations: 128 kB / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001837/0.2108, allocations: 235.2 kB / 0.9926 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of Backend: time 1.683e-06/0.2108, allocations: 0 / 0.9926 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005936/0.2114, allocations: 252.3 kB / 0.9929 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001257/0.2127, allocations: 1.376 MB / 0.9942 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.006194/0.2189, allocations: 3.621 MB / 0.9977 GB, free: 8.859 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)