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.001337/0.001337, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001474/0.001474, allocations: 192.5 kB / 17.2 MB, free: 5.59 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.495/1.495, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.87/1.87, allocations: 292.3 MB / 0.5495 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.001434/0.001434, allocations: 74.86 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2709, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004743/0.2757, allocations: 3.125 MB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4291/0.7048, allocations: 1.015 MB / 0.7881 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.7054, allocations: 14.81 kB / 0.7881 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.7057, allocations: 74.86 kB / 0.7881 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.7059, allocations: 86.47 kB / 0.7882 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.7064, allocations: 251.2 kB / 0.7885 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.7069, allocations: 0.5443 MB / 0.789 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.7072, allocations: 249.5 kB / 0.7892 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.7075, allocations: 207 kB / 0.7894 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.7076, allocations: 204.4 kB / 0.7896 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.7077, allocations: 52.09 kB / 0.7897 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.7078, allocations: 52.81 kB / 0.7897 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.7079, allocations: 113.9 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.708, allocations: 233.8 kB / 0.7901 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.7085, allocations: 0.5523 MB / 0.7906 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7085, allocations: 0.6562 kB / 0.7906 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7085, allocations: 2.688 kB / 0.7906 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.7085, allocations: 0 / 0.7906 GB, free: 45.57 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.001044/0.7096, allocations: 0.7692 MB / 0.7914 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7096, allocations: 10.69 kB / 0.7914 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.7097, allocations: 54.03 kB / 0.7914 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.7102, allocations: 405.8 kB / 0.7918 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.7102, allocations: 38.53 kB / 0.7918 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.7103, allocations: 37.72 kB / 0.7919 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.7108, allocations: 394.5 kB / 0.7923 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.7109, allocations: 8.297 kB / 0.7923 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.7109, allocations: 13.56 kB / 0.7923 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.7109, allocations: 10.38 kB / 0.7923 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.7114, allocations: 265.1 kB / 0.7925 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.7128, allocations: 1.32 MB / 0.7938 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/0.7135, allocations: 311.2 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.7137, allocations: 137.3 kB / 0.7943 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.7137, allocations: 6.562 kB / 0.7943 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.7141, allocations: 173.2 kB / 0.7944 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.7141, allocations: 0.5 kB / 0.7944 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.0007444/0.7148, allocations: 382.1 kB / 0.7948 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.7149, allocations: 85.38 kB / 0.7949 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.7152, allocations: 352.1 kB / 0.7952 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.7152, allocations: 35.39 kB / 0.7952 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.7154, allocations: 236.7 kB / 0.7955 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.7154, allocations: 104.4 kB / 0.7956 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.7155, allocations: 70.86 kB / 0.7956 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.7156, allocations: 352.5 kB / 0.796 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.7158, allocations: 103.6 kB / 0.7961 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.716, allocations: 172.2 kB / 0.7962 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.7164, allocations: 257.6 kB / 0.7965 GB, free: 43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7164, allocations: 0 / 0.7965 GB, free: 43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005082/0.7169, allocations: 356.8 kB / 0.7968 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.717, allocations: 4.219 kB / 0.7968 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.717, allocations: 3.312 kB / 0.7968 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.717, allocations: 3.5 kB / 0.7968 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.7173, allocations: 67.22 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7173, allocations: 3.312 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.7175, allocations: 44.75 kB / 0.7969 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.7175, allocations: 10.28 kB / 0.797 GB, free: 42.87 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.0001502/0.7176, allocations: 178 kB / 0.7971 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.7177, allocations: 41.69 kB / 0.7972 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.012e-05/0.7178, allocations: 41.67 kB / 0.7972 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7178, allocations: 3.406 kB / 0.7972 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.7178, allocations: 0 / 0.7972 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7178, allocations: 7.375 kB / 0.7972 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.7187, allocations: 0.8118 MB / 0.798 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7188, allocations: 3.141 kB / 0.798 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.719, allocations: 50.36 kB / 0.7981 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.719, allocations: 0 / 0.7981 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.719, allocations: 10.09 kB / 0.7981 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.719, allocations: 4 kB / 0.7981 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.719, allocations: 5.062 kB / 0.7981 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.7198, allocations: 0.5098 MB / 0.7986 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.7199, allocations: 137.8 kB / 0.7987 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.7199, allocations: 6.438 kB / 0.7987 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.7201, allocations: 22.75 kB / 0.7987 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.7202, allocations: 24.88 kB / 0.7988 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.7202, allocations: 13.89 kB / 0.7988 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002042/0.7204, allocations: 236.7 kB / 0.799 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7204, allocations: 0 / 0.799 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003206/0.7207, allocations: 90.12 kB / 0.7991 GB, free: 41.56 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.0001118/0.7209, allocations: 113.5 kB / 0.7992 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.7214, allocations: 279.8 kB / 0.7995 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7214, allocations: 0 / 0.7995 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.7217, allocations: 139.9 kB / 0.7996 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.7222, allocations: 82.38 kB / 0.7997 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.7236, allocations: 0.8451 MB / 0.8005 GB, free: 40.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.7239, allocations: 0.815 MB / 0.8013 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.724, allocations: 33.11 kB / 0.8013 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.724, allocations: 2.156 kB / 0.8013 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.01025/0.7342, allocations: 4.834 MB / 0.806 GB, free: 39.75 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)