Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.3 MB / 303.2 MB, free: 8.199 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.001213/0.001213, allocations: 183.5 kB / 371.9 MB, free: 10.25 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.862/1.862, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0009069/0.0009074, allocations: 105.6 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004523, allocations: 18.83 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1955, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002678/0.1982, allocations: 2.629 MB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1998, allocations: 0.9324 MB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.2001, allocations: 15.94 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.217e-05/0.2002, allocations: 35.64 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.2007, allocations: 107.6 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.2011, allocations: 182 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.2015, allocations: 344.5 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.2017, allocations: 179.7 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2019, allocations: 143.3 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.202, allocations: 147.1 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.2021, allocations: 12 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.472e-05/0.2021, allocations: 15.94 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.2022, allocations: 63.69 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2022, allocations: 105.5 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.2025, allocations: 411.2 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.2025, allocations: 4 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2025, allocations: 0 / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2025, allocations: 0 / 0.9846 GB, free: 22.37 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.0009337/0.2035, allocations: 0.692 MB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2035, allocations: 11.97 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.2036, allocations: 55.34 kB / 0.9853 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.2041, allocations: 403.5 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2041, allocations: 33 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.2042, allocations: 36 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.2048, allocations: 389.6 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2048, allocations: 0 / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.2048, allocations: 20 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2049, allocations: 12 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.2053, allocations: 263.8 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2068, allocations: 1.324 MB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.2074, allocations: 311.1 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.2075, allocations: 7.938 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.2078, allocations: 185.9 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.2078, allocations: 0 / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0006585/0.2085, allocations: 377.8 kB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2085, allocations: 85.11 kB / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.2088, allocations: 349.6 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.2088, allocations: 37.7 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.209, allocations: 224.5 kB / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.209, allocations: 110.5 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.209, allocations: 8 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.2091, allocations: 350.8 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.2093, allocations: 96.7 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.2095, allocations: 172.4 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.2097, allocations: 109.7 kB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2098, allocations: 0 / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004948/0.2103, allocations: 363.6 kB / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2103, allocations: 7.938 kB / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2103, allocations: 4 kB / 0.9904 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2103, allocations: 0 / 0.9904 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.2106, allocations: 63.91 kB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2106, allocations: 7.938 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.2108, allocations: 47.66 kB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.2109, allocations: 20.03 kB / 0.9905 GB, free: 15.98 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.0001592/0.211, allocations: 173.7 kB / 0.9907 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.2111, allocations: 39.48 kB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.2112, allocations: 48.23 kB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2112, allocations: 4 kB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2112, allocations: 0 / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2112, allocations: 3.984 kB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.2121, allocations: 0.8076 MB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2121, allocations: 4 kB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.2123, allocations: 47.91 kB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2124, allocations: 0 / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.2124, allocations: 11.98 kB / 0.9916 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2124, allocations: 4 kB / 0.9916 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2124, allocations: 4 kB / 0.9916 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.2131, allocations: 0.5224 MB / 0.9921 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.2132, allocations: 132.6 kB / 0.9923 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.2133, allocations: 8.062 kB / 0.9923 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2135, allocations: 23.98 kB / 0.9923 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.2136, allocations: 27.95 kB / 0.9923 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.2136, allocations: 12 kB / 0.9923 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001873/0.2138, allocations: 239.2 kB / 0.9926 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2138, allocations: 0 / 0.9926 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003205/0.2141, allocations: 87.69 kB / 0.9927 GB, free: 13.69 MB / 0.6198 GB 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 (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.0001186/0.2142, allocations: 112.9 kB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.2147, allocations: 267.6 kB / 0.993 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2147, allocations: 0 / 0.993 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.2149, allocations: 140.2 kB / 0.9931 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.2154, allocations: 74.27 kB / 0.9932 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2166, allocations: 0.9694 MB / 0.9942 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.2169, allocations: 0.8269 MB / 0.995 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.217, allocations: 47.25 kB / 0.995 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.2171, allocations: 27.44 kB / 0.995 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2171, allocations: 0 / 0.995 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.005932/0.2231, allocations: 3.24 MB / 0.9982 GB, free: 7.969 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)