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.001504/0.001504, allocations: 109.4 kB / 16.36 MB, free: 5.992 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.00166/0.00166, allocations: 193.3 kB / 17.3 MB, free: 5.598 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.313/1.313, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001457/0.001457, allocations: 71.91 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1831, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004067/0.1872, allocations: 3.133 MB / 0.7878 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3234/0.5106, allocations: 1.003 MB / 0.7888 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.5109, allocations: 11.31 kB / 0.7888 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.5112, allocations: 73.45 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.5114, allocations: 94.58 kB / 0.789 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.5119, allocations: 241.6 kB / 0.7892 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.5124, allocations: 0.5548 MB / 0.7898 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.5128, allocations: 244 kB / 0.79 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.513, allocations: 203.6 kB / 0.7902 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.5132, allocations: 209.3 kB / 0.7904 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.5133, allocations: 51.47 kB / 0.7904 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.5133, allocations: 51.75 kB / 0.7905 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.5134, allocations: 118 kB / 0.7906 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.5136, allocations: 233 kB / 0.7908 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.514, allocations: 0.5677 MB / 0.7914 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.514, allocations: 0.5625 kB / 0.7914 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.514, allocations: 0 / 0.7914 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.5141, allocations: 0 / 0.7914 GB, free: 46.12 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.001097/0.5152, allocations: 0.7738 MB / 0.7921 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5152, allocations: 10.5 kB / 0.7921 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.5153, allocations: 56.86 kB / 0.7922 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.5158, allocations: 408.3 kB / 0.7926 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.5159, allocations: 29.66 kB / 0.7926 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.5159, allocations: 37.59 kB / 0.7927 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.5165, allocations: 401.1 kB / 0.793 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5166, allocations: 3.438 kB / 0.793 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.5166, allocations: 13.94 kB / 0.7931 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.5166, allocations: 8.219 kB / 0.7931 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.5171, allocations: 268.8 kB / 0.7933 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.5185, allocations: 1.312 MB / 0.7946 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.5191, allocations: 307.3 kB / 0.7949 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.5194, allocations: 135.1 kB / 0.795 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.5194, allocations: 5.859 kB / 0.795 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.5197, allocations: 177.8 kB / 0.7952 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.5198, allocations: 4 kB / 0.7952 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.000701/0.5205, allocations: 382.9 kB / 0.7956 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5205, allocations: 80.55 kB / 0.7956 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.5208, allocations: 358.1 kB / 0.796 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.5208, allocations: 37.02 kB / 0.796 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.521, allocations: 236.2 kB / 0.7962 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.521, allocations: 100 kB / 0.7963 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.5211, allocations: 74.83 kB / 0.7964 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.5212, allocations: 353.1 kB / 0.7967 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.5214, allocations: 95.53 kB / 0.7968 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.5216, allocations: 172.2 kB / 0.797 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.522, allocations: 269.6 kB / 0.7973 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.522, allocations: 0 / 0.7973 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005193/0.5226, allocations: 348.6 kB / 0.7976 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5226, allocations: 6.969 kB / 0.7976 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5226, allocations: 3.5 kB / 0.7976 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5226, allocations: 3.5 kB / 0.7976 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.5229, allocations: 70.39 kB / 0.7977 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5229, allocations: 3.406 kB / 0.7977 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.5231, allocations: 38.58 kB / 0.7977 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.5231, allocations: 10.91 kB / 0.7977 GB, free: 43.06 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.0001488/0.5233, allocations: 179.3 kB / 0.7979 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.5233, allocations: 37.06 kB / 0.7979 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.882e-05/0.5234, allocations: 46 kB / 0.798 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5234, allocations: 7.5 kB / 0.798 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5234, allocations: 0 / 0.798 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.5234, allocations: 3.328 kB / 0.798 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.5244, allocations: 0.8152 MB / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5244, allocations: 0 / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.5246, allocations: 43.58 kB / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5246, allocations: 6.844 kB / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5247, allocations: 9.828 kB / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5247, allocations: 2.969 kB / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5247, allocations: 1.25 kB / 0.7988 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.5254, allocations: 0.5119 MB / 0.7993 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5255, allocations: 132 kB / 0.7995 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.5256, allocations: 8.781 kB / 0.7995 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.5258, allocations: 24.33 kB / 0.7995 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.5258, allocations: 26.59 kB / 0.7995 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.5259, allocations: 10.72 kB / 0.7995 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002088/0.5261, allocations: 245 kB / 0.7998 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5261, allocations: 0 / 0.7998 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003304/0.5264, allocations: 87.22 kB / 0.7998 GB, free: 41.75 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.0001021/0.5265, allocations: 118.4 kB / 0.8 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.5271, allocations: 263.8 kB / 0.8002 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5271, allocations: 0 / 0.8002 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.5274, allocations: 136.2 kB / 0.8003 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.5279, allocations: 81.95 kB / 0.8004 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.5292, allocations: 0.7976 MB / 0.8012 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.5295, allocations: 0.8109 MB / 0.802 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.5297, allocations: 51.06 kB / 0.802 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.5298, allocations: 31.44 kB / 0.8021 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of SimCode: time 4.6e-07/0.5298, allocations: 0 / 0.8021 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.008712/0.5385, allocations: 3.648 MB / 0.8056 GB, free: 40.16 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)