Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 113.8 kB / 16.37 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 186.4 kB / 17.3 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 67.91 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2605, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.43/0.6905, allocations: 3.133 MB / 0.7878 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.6927, allocations: 1.005 MB / 0.7888 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.693, allocations: 15.19 kB / 0.7888 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.6933, allocations: 71.72 kB / 0.7889 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.6935, allocations: 101.1 kB / 0.789 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.6941, allocations: 235.8 kB / 0.7892 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.6945, allocations: 0.5592 MB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.6949, allocations: 248.8 kB / 0.79 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.6952, allocations: 199.6 kB / 0.7902 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.6954, allocations: 207.2 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.6955, allocations: 54.19 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.6955, allocations: 52.5 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.405e-05/0.6956, allocations: 116.3 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.6958, allocations: 236.4 kB / 0.7908 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.6962, allocations: 0.5616 MB / 0.7914 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6962, allocations: 0 / 0.7914 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6963, allocations: 0 / 0.7914 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.6963, allocations: 0 / 0.7914 GB, free: 46.91 MB / 0.6544 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.001021/0.6973, allocations: 0.7737 MB / 0.7921 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6973, allocations: 11.7 kB / 0.7922 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.443e-05/0.6974, allocations: 58.06 kB / 0.7922 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.698, allocations: 416.8 kB / 0.7926 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.6981, allocations: 30.38 kB / 0.7926 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.6981, allocations: 35.75 kB / 0.7927 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.6987, allocations: 400.3 kB / 0.7931 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.6987, allocations: 2.281 kB / 0.7931 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.6987, allocations: 16.55 kB / 0.7931 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6987, allocations: 11.47 kB / 0.7931 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.6992, allocations: 266.5 kB / 0.7933 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.7006, allocations: 1.309 MB / 0.7946 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.7013, allocations: 309.5 kB / 0.7949 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.7015, allocations: 142.2 kB / 0.795 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.7015, allocations: 5.766 kB / 0.795 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.7018, allocations: 173.1 kB / 0.7952 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.7018, allocations: 0.5 kB / 0.7952 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.0006994/0.7025, allocations: 386.2 kB / 0.7956 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.7026, allocations: 80.61 kB / 0.7957 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.7029, allocations: 351.6 kB / 0.796 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.7029, allocations: 37.83 kB / 0.796 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.7031, allocations: 234.4 kB / 0.7963 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.7031, allocations: 106.1 kB / 0.7964 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.7032, allocations: 72.23 kB / 0.7964 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.7033, allocations: 358.4 kB / 0.7968 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.7035, allocations: 93.39 kB / 0.7969 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.7037, allocations: 174.7 kB / 0.797 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.7041, allocations: 260.4 kB / 0.7973 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7041, allocations: 4 kB / 0.7973 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005375/0.7047, allocations: 347.2 kB / 0.7976 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.7047, allocations: 5.75 kB / 0.7976 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7047, allocations: 3.219 kB / 0.7976 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7047, allocations: 2.312 kB / 0.7976 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.705, allocations: 68.42 kB / 0.7977 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.705, allocations: 7.094 kB / 0.7977 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.7052, allocations: 37.41 kB / 0.7977 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.7052, allocations: 15.98 kB / 0.7977 GB, free: 43.48 MB / 0.6544 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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.7054, allocations: 177.6 kB / 0.7979 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.7054, allocations: 37.3 kB / 0.7979 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.483e-05/0.7055, allocations: 46.78 kB / 0.798 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7055, allocations: 2.781 kB / 0.798 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.7055, allocations: 6.531 kB / 0.798 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7055, allocations: 4.594 kB / 0.798 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/0.7065, allocations: 0.814 MB / 0.7988 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7065, allocations: 3.812 kB / 0.7988 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.7067, allocations: 42.03 kB / 0.7988 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7067, allocations: 2.625 kB / 0.7988 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.7068, allocations: 7.875 kB / 0.7989 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.7068, allocations: 0 / 0.7989 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7068, allocations: 8.406 kB / 0.7989 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.7075, allocations: 0.5121 MB / 0.7994 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.7076, allocations: 139.2 kB / 0.7995 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.7077, allocations: 14.81 kB / 0.7995 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.7079, allocations: 19.95 kB / 0.7995 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.7079, allocations: 22.33 kB / 0.7995 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.708, allocations: 7.266 kB / 0.7996 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002041/0.7082, allocations: 244.4 kB / 0.7998 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7082, allocations: 0 / 0.7998 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003492/0.7085, allocations: 89.03 kB / 0.7999 GB, free: 42.17 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001193/0.7087, allocations: 114.5 kB / 0.8 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.7092, allocations: 268 kB / 0.8002 GB, free: 42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7092, allocations: 0 / 0.8002 GB, free: 42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.7095, allocations: 130.3 kB / 0.8004 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.71, allocations: 79.88 kB / 0.8004 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.7114, allocations: 0.8281 MB / 0.8012 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.7116, allocations: 0.8109 MB / 0.802 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.7118, allocations: 32.72 kB / 0.8021 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7118, allocations: 7.438 kB / 0.8021 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.009962/0.7217, allocations: 4.829 MB / 0.8068 GB, free: 40.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)