Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 303.7 MB, free: 8.09 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.00137/0.00137, allocations: 188.4 kB / 372.3 MB, free: 10.15 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.608/1.608, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.001063/0.001063, allocations: 86.31 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 11.62 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 115.3 MB / 0.9801 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002582/0.1998, allocations: 2.52 MB / 0.9826 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2012, allocations: 0.9012 MB / 0.9835 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.2015, allocations: 11.94 kB / 0.9835 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.2017, allocations: 39.58 kB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.2018, allocations: 67.42 kB / 0.9836 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.2023, allocations: 153.8 kB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.2026, allocations: 439.2 kB / 0.9841 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.2028, allocations: 205.4 kB / 0.9843 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.203, allocations: 123.3 kB / 0.9845 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.2031, allocations: 127.2 kB / 0.9846 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.2032, allocations: 8 kB / 0.9846 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.058e-05/0.2032, allocations: 12 kB / 0.9846 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.2033, allocations: 55.7 kB / 0.9847 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.283e-05/0.2034, allocations: 172.7 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.2036, allocations: 375 kB / 0.9852 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2036, allocations: 0 / 0.9852 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2036, allocations: 0 / 0.9852 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.2036, allocations: 0 / 0.9852 GB, free: 22.18 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000802/0.2045, allocations: 0.6429 MB / 0.9858 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2045, allocations: 8.031 kB / 0.9858 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.2046, allocations: 48.38 kB / 0.9859 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.205, allocations: 396.3 kB / 0.9862 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.205, allocations: 21.03 kB / 0.9863 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.2051, allocations: 36.38 kB / 0.9863 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.2055, allocations: 337.4 kB / 0.9866 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2055, allocations: 0 / 0.9866 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.2056, allocations: 12 kB / 0.9866 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2056, allocations: 12 kB / 0.9866 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.206, allocations: 214.1 kB / 0.9868 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.2071, allocations: 1.197 MB / 0.988 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.2076, allocations: 238.6 kB / 0.9882 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2078, allocations: 116.8 kB / 0.9883 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2079, allocations: 4 kB / 0.9884 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.2079, allocations: 38.94 kB / 0.9884 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.2079, allocations: 0 / 0.9884 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005434/0.2084, allocations: 296.3 kB / 0.9887 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2085, allocations: 110.8 kB / 0.9888 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.2087, allocations: 341.5 kB / 0.9891 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2088, allocations: 29.7 kB / 0.9891 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2089, allocations: 224.2 kB / 0.9893 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.2089, allocations: 78.89 kB / 0.9894 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.2089, allocations: 4 kB / 0.9894 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.209, allocations: 338.8 kB / 0.9897 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2092, allocations: 83.95 kB / 0.9898 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2094, allocations: 143.7 kB / 0.99 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.2097, allocations: 225.8 kB / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2097, allocations: 0 / 0.9902 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004444/0.2101, allocations: 277 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2102, allocations: 8 kB / 0.9905 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2102, allocations: 0 / 0.9905 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2102, allocations: 8.188 kB / 0.9905 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2104, allocations: 51.91 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2105, allocations: 4 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.2107, allocations: 47.67 kB / 0.9906 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2107, allocations: 8 kB / 0.9906 GB, free: 16.34 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001418/0.2108, allocations: 165.7 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.2109, allocations: 31.62 kB / 0.9908 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.211, allocations: 43.34 kB / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.211, allocations: 0 / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.211, allocations: 0 / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.211, allocations: 0 / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.2114, allocations: 401.2 kB / 0.9912 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2114, allocations: 0 / 0.9912 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.2117, allocations: 39.92 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2117, allocations: 7.938 kB / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.2117, allocations: 11.98 kB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2117, allocations: 0 / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2117, allocations: 0 / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.2124, allocations: 434.9 kB / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.2125, allocations: 136.5 kB / 0.9918 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.2126, allocations: 4 kB / 0.9918 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.2128, allocations: 23.98 kB / 0.9918 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.2129, allocations: 15.97 kB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2129, allocations: 4 kB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000205/0.2131, allocations: 239.2 kB / 0.9921 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2131, allocations: 4.062 kB / 0.9921 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003414/0.2134, allocations: 67.75 kB / 0.9921 GB, free: 14.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 9.275e-05/0.2135, allocations: 103.2 kB / 0.9922 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.214, allocations: 196.1 kB / 0.9924 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.214, allocations: 4 kB / 0.9924 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.2142, allocations: 102.7 kB / 0.9925 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.2148, allocations: 76.41 kB / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.216, allocations: 0.8412 MB / 0.9934 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.2162, allocations: 0.7953 MB / 0.9942 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.2164, allocations: 38.95 kB / 0.9942 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.2165, allocations: 23.44 kB / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2165, allocations: 0 / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.005404/0.2219, allocations: 2.893 MB / 0.9971 GB, free: 9.562 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)