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.697/1.697, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001273/0.001273, allocations: 184.5 kB / 372 MB, free: 10.27 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.755/1.755, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007677/0.000768, allocations: 94.22 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 10.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002802/0.2051, allocations: 2.663 MB / 0.9822 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2067, allocations: 0.9479 MB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.207, allocations: 11.94 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.2073, allocations: 55.5 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.2075, allocations: 63.44 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.208, allocations: 167.8 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.2084, allocations: 487.8 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.2087, allocations: 175.7 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.2089, allocations: 143.2 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.2091, allocations: 147.1 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.2091, allocations: 12 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.065e-05/0.2092, allocations: 16 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.2092, allocations: 67.56 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.2093, allocations: 105.5 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.2096, allocations: 419.2 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2096, allocations: 0 / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2096, allocations: 0 / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.2096, allocations: 0 / 0.9849 GB, free: 22.22 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.0009527/0.2106, allocations: 0.692 MB / 0.9856 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2106, allocations: 12.03 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.2107, allocations: 51.34 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.2112, allocations: 403.5 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.2113, allocations: 33 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.2113, allocations: 44 kB / 0.9861 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.2119, allocations: 401.5 kB / 0.9865 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.212, allocations: 0 / 0.9865 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.212, allocations: 16 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.212, allocations: 8 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.2125, allocations: 259.8 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.214, allocations: 1.328 MB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.2146, allocations: 310.6 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.2149, allocations: 151.1 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.2149, allocations: 4 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.2152, allocations: 181.3 kB / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.2152, allocations: 0 / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0007168/0.216, allocations: 381.8 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.216, allocations: 89.11 kB / 0.9891 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.2163, allocations: 345.5 kB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2164, allocations: 37.7 kB / 0.9895 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2165, allocations: 233 kB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.2166, allocations: 98.56 kB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.2166, allocations: 12 kB / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.2167, allocations: 350.8 kB / 0.9901 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.2169, allocations: 100.7 kB / 0.9902 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2171, allocations: 172.3 kB / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.2173, allocations: 109.6 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2173, allocations: 3.953 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000536/0.2179, allocations: 355.5 kB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.2179, allocations: 8 kB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2179, allocations: 0 / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2179, allocations: 7.984 kB / 0.9908 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.2182, allocations: 63.91 kB / 0.9909 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2182, allocations: 8.188 kB / 0.9909 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.2184, allocations: 43.67 kB / 0.991 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2185, allocations: 12 kB / 0.991 GB, free: 15.69 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.0001783/0.2186, allocations: 177.6 kB / 0.9911 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.2187, allocations: 43.48 kB / 0.9912 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.2188, allocations: 52.23 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2188, allocations: 4 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.2188, allocations: 0 / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2188, allocations: 0 / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.2199, allocations: 0.8114 MB / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2199, allocations: 0 / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.2201, allocations: 47.97 kB / 0.9921 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2202, allocations: 4 kB / 0.9921 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.2202, allocations: 4 kB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2202, allocations: 7.984 kB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2202, allocations: 0 / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.221, allocations: 0.5263 MB / 0.9926 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.2211, allocations: 132.6 kB / 0.9927 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2211, allocations: 8 kB / 0.9927 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2213, allocations: 23.97 kB / 0.9928 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.2214, allocations: 27.97 kB / 0.9928 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2214, allocations: 16.05 kB / 0.9928 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001902/0.2216, allocations: 239.2 kB / 0.993 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2216, allocations: 3.938 kB / 0.993 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003272/0.222, allocations: 83.69 kB / 0.9931 GB, free: 13.39 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.0001244/0.2221, allocations: 111.2 kB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.2226, allocations: 267.8 kB / 0.9935 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2227, allocations: 0 / 0.9935 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.2229, allocations: 143.8 kB / 0.9936 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.2234, allocations: 87.33 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2247, allocations: 0.9578 MB / 0.9946 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.225, allocations: 0.8113 MB / 0.9954 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.2252, allocations: 51.25 kB / 0.9955 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.2252, allocations: 27.44 kB / 0.9955 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.2253, allocations: 0 / 0.9955 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.006434/0.2317, allocations: 3.256 MB / 0.9987 GB, free: 7.66 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)