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.678/1.678, allocations: 288.4 MB / 304.3 MB, free: 8.168 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.001097/0.001097, allocations: 178.2 kB / 372.9 MB, free: 10.14 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.809/1.809, allocations: 205.4 MB / 0.6316 GB, free: 9.887 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.0009443/0.0009443, allocations: 106.2 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 11.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002702/0.1982, allocations: 2.659 MB / 0.9833 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1998, allocations: 0.944 MB / 0.9843 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.2003, allocations: 15.94 kB / 0.9843 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2005, allocations: 43.58 kB / 0.9843 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.2007, allocations: 71.41 kB / 0.9844 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.2012, allocations: 165.9 kB / 0.9845 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.2015, allocations: 0.4919 MB / 0.985 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.2018, allocations: 227.6 kB / 0.9852 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.202, allocations: 143.2 kB / 0.9854 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.2021, allocations: 151.1 kB / 0.9855 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.2022, allocations: 12 kB / 0.9855 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.2022, allocations: 16 kB / 0.9855 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.2023, allocations: 59.64 kB / 0.9856 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2024, allocations: 204.6 kB / 0.9858 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.2027, allocations: 422.9 kB / 0.9862 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2027, allocations: 0 / 0.9862 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2027, allocations: 0 / 0.9862 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.2027, allocations: 0 / 0.9862 GB, free: 21.71 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.0008697/0.2036, allocations: 0.6843 MB / 0.9869 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2036, allocations: 12.02 kB / 0.9869 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.2037, allocations: 56.28 kB / 0.9869 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.2041, allocations: 416.5 kB / 0.9873 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2042, allocations: 29.38 kB / 0.9874 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.2042, allocations: 36.38 kB / 0.9874 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.2047, allocations: 397.9 kB / 0.9878 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2048, allocations: 3.938 kB / 0.9878 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.2048, allocations: 16 kB / 0.9878 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2048, allocations: 8 kB / 0.9878 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.2053, allocations: 267.8 kB / 0.9881 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2066, allocations: 1.332 MB / 0.9894 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.2072, allocations: 313.5 kB / 0.9897 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.2074, allocations: 141.2 kB / 0.9898 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.2074, allocations: 4 kB / 0.9898 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.2077, allocations: 177.5 kB / 0.99 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.2077, allocations: 4 kB / 0.99 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0006538/0.2084, allocations: 385.8 kB / 0.9903 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2084, allocations: 81.11 kB / 0.9904 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.2087, allocations: 353.5 kB / 0.9907 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2087, allocations: 29.7 kB / 0.9908 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2088, allocations: 237 kB / 0.991 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.2089, allocations: 106.5 kB / 0.9911 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.2089, allocations: 8 kB / 0.9911 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.209, allocations: 346.8 kB / 0.9914 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2092, allocations: 100.7 kB / 0.9915 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.2094, allocations: 172.3 kB / 0.9917 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.2098, allocations: 264.4 kB / 0.992 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2098, allocations: 4 kB / 0.992 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004862/0.2103, allocations: 358.4 kB / 0.9923 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2103, allocations: 4 kB / 0.9923 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2103, allocations: 0 / 0.9923 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2104, allocations: 4 kB / 0.9923 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2106, allocations: 71.84 kB / 0.9924 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2106, allocations: 7.984 kB / 0.9924 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2108, allocations: 39.92 kB / 0.9924 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2108, allocations: 12 kB / 0.9924 GB, free: 15.01 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.000133/0.211, allocations: 173.7 kB / 0.9926 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.211, allocations: 43.47 kB / 0.9926 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.2111, allocations: 40.25 kB / 0.9927 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2111, allocations: 7.984 kB / 0.9927 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2111, allocations: 4 kB / 0.9927 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.2112, allocations: 144.5 kB / 0.9928 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.2112, allocations: 8 kB / 0.9928 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2114, allocations: 19.98 kB / 0.9929 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.2115, allocations: 27.95 kB / 0.9929 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006045/0.2121, allocations: 393.7 kB / 0.9933 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006768/0.2128, allocations: 0.5882 MB / 0.9938 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001922/0.213, allocations: 128 kB / 0.994 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001675/0.2131, allocations: 235.2 kB / 0.9942 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of Backend: time 9.12e-07/0.2131, allocations: 0 / 0.9942 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.2137, allocations: 256.1 kB / 0.9944 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001093/0.2148, allocations: 1.374 MB / 0.9958 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.006298/0.2211, allocations: 3.647 MB / 0.9993 GB, free: 7.871 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)