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.747/1.747, allocations: 288.4 MB / 303.7 MB, free: 8.117 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.001014/0.001015, allocations: 180.5 kB / 372.3 MB, free: 10.08 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.565/1.565, allocations: 205.4 MB / 0.631 GB, free: 9.867 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.0007615/0.0007616, allocations: 105.3 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 11.16 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1946, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00288/0.1975, allocations: 2.656 MB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1989, allocations: 0.948 MB / 0.9836 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1991, allocations: 11.94 kB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1993, allocations: 51.5 kB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1994, allocations: 67.42 kB / 0.9838 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.1998, allocations: 167 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.2002, allocations: 495.8 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.2005, allocations: 227.6 kB / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2006, allocations: 143.2 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.2008, allocations: 151.1 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2008, allocations: 16 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.12e-05/0.2008, allocations: 16 kB / 0.9849 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.2009, allocations: 67.56 kB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.201, allocations: 200.6 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.2013, allocations: 426.9 kB / 0.9856 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2013, allocations: 0 / 0.9856 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2013, allocations: 0 / 0.9856 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2013, allocations: 0 / 0.9856 GB, free: 21.68 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.0008368/0.2021, allocations: 0.6805 MB / 0.9863 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2022, allocations: 12.03 kB / 0.9863 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.2022, allocations: 56.28 kB / 0.9863 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.2027, allocations: 416.5 kB / 0.9867 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2027, allocations: 29.38 kB / 0.9868 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.2028, allocations: 36.38 kB / 0.9868 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.2033, allocations: 397.9 kB / 0.9872 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2033, allocations: 0 / 0.9872 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.2033, allocations: 19.94 kB / 0.9872 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2034, allocations: 15.94 kB / 0.9872 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.2038, allocations: 259.9 kB / 0.9874 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2052, allocations: 1.336 MB / 0.9888 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.2058, allocations: 305.7 kB / 0.989 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.206, allocations: 142.7 kB / 0.9892 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.206, allocations: 4 kB / 0.9892 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.2064, allocations: 181.5 kB / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.023e-06/0.2064, allocations: 0 / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0006556/0.207, allocations: 389.8 kB / 0.9897 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2071, allocations: 81.11 kB / 0.9898 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.2073, allocations: 349.6 kB / 0.9901 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2074, allocations: 37.7 kB / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2075, allocations: 229 kB / 0.9904 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.2076, allocations: 114.5 kB / 0.9905 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.2076, allocations: 4 kB / 0.9905 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.2077, allocations: 350.8 kB / 0.9908 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2079, allocations: 100.7 kB / 0.9909 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.2081, allocations: 176.3 kB / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.2085, allocations: 260.4 kB / 0.9914 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2085, allocations: 0 / 0.9914 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000489/0.209, allocations: 362.5 kB / 0.9917 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.209, allocations: 4 kB / 0.9917 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.209, allocations: 7.984 kB / 0.9917 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.209, allocations: 0 / 0.9917 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2093, allocations: 71.84 kB / 0.9918 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2093, allocations: 4 kB / 0.9918 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2095, allocations: 43.81 kB / 0.9918 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2095, allocations: 16 kB / 0.9918 GB, free: 14.97 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.0001442/0.2097, allocations: 177.7 kB / 0.992 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.2097, allocations: 35.53 kB / 0.992 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.2098, allocations: 44.25 kB / 0.9921 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2098, allocations: 4 kB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2098, allocations: 0 / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2098, allocations: 3.984 kB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.2106, allocations: 0.8114 MB / 0.9929 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2106, allocations: 4 kB / 0.9929 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.2109, allocations: 47.91 kB / 0.9929 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2109, allocations: 0 / 0.9929 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2109, allocations: 11.98 kB / 0.9929 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2109, allocations: 4 kB / 0.993 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2109, allocations: 0 / 0.993 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.2116, allocations: 0.5146 MB / 0.9935 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.2117, allocations: 136.6 kB / 0.9936 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.2117, allocations: 12.06 kB / 0.9936 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2119, allocations: 19.98 kB / 0.9936 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.212, allocations: 27.95 kB / 0.9936 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.212, allocations: 15.94 kB / 0.9937 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001717/0.2122, allocations: 235.2 kB / 0.9939 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2122, allocations: 0 / 0.9939 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002926/0.2125, allocations: 95.62 kB / 0.994 GB, free: 12.68 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 9.307e-05/0.2126, allocations: 103.2 kB / 0.9941 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.2131, allocations: 267.7 kB / 0.9943 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2131, allocations: 3.938 kB / 0.9943 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.2133, allocations: 140.2 kB / 0.9945 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.2138, allocations: 65.52 kB / 0.9945 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.215, allocations: 0.9656 MB / 0.9955 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.2152, allocations: 0.823 MB / 0.9963 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.2153, allocations: 39.27 kB / 0.9963 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.2154, allocations: 31.44 kB / 0.9963 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2154, allocations: 0 / 0.9963 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.005876/0.2213, allocations: 3.291 MB / 0.9996 GB, free: 6.934 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)