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.001576/0.001576, allocations: 112.7 kB / 16.37 MB, free: 6.312 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.001506/0.001506, allocations: 188.3 kB / 17.3 MB, free: 5.871 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.55/1.55, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001572/0.001572, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2401, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004872/0.245, allocations: 3.141 MB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3688/0.6139, allocations: 0.9996 MB / 0.7888 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.6142, allocations: 16.81 kB / 0.7888 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.6145, allocations: 71.41 kB / 0.7889 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.6147, allocations: 92.61 kB / 0.789 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.6153, allocations: 245.1 kB / 0.7892 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000434/0.6157, allocations: 0.5472 MB / 0.7898 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.616, allocations: 255.4 kB / 0.79 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.6163, allocations: 202.5 kB / 0.7902 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.6164, allocations: 202.5 kB / 0.7904 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.6165, allocations: 51.66 kB / 0.7904 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.6166, allocations: 54.16 kB / 0.7905 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.6167, allocations: 114.5 kB / 0.7906 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.6168, allocations: 236.2 kB / 0.7908 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.6172, allocations: 0.571 MB / 0.7914 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6172, allocations: 0 / 0.7914 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6172, allocations: 0 / 0.7914 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.6172, allocations: 3.844 kB / 0.7914 GB, free: 46.2 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.0009876/0.6182, allocations: 0.7687 MB / 0.7921 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6183, allocations: 8.406 kB / 0.7921 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/0.6183, allocations: 56.66 kB / 0.7922 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.6189, allocations: 419.2 kB / 0.7926 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.6189, allocations: 30.75 kB / 0.7926 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.619, allocations: 38.03 kB / 0.7927 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.6195, allocations: 402.2 kB / 0.793 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6196, allocations: 3.406 kB / 0.7931 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.6196, allocations: 12.88 kB / 0.7931 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.6196, allocations: 10.81 kB / 0.7931 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.6201, allocations: 270.2 kB / 0.7933 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.6215, allocations: 1.305 MB / 0.7946 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.6221, allocations: 309.8 kB / 0.7949 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.6223, allocations: 141 kB / 0.795 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.6223, allocations: 3.5 kB / 0.795 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.6226, allocations: 177.9 kB / 0.7952 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/0.6226, allocations: 0 / 0.7952 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.0006799/0.6233, allocations: 380.4 kB / 0.7956 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.6233, allocations: 84.36 kB / 0.7957 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.6236, allocations: 353.5 kB / 0.796 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6236, allocations: 39.81 kB / 0.796 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.6237, allocations: 232.2 kB / 0.7963 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.6238, allocations: 102.8 kB / 0.7963 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.6239, allocations: 75.03 kB / 0.7964 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.624, allocations: 348.5 kB / 0.7968 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.6242, allocations: 101.9 kB / 0.7968 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.6244, allocations: 176.3 kB / 0.797 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.6248, allocations: 257.2 kB / 0.7973 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6248, allocations: 0 / 0.7973 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005033/0.6253, allocations: 357.8 kB / 0.7976 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6253, allocations: 5.938 kB / 0.7976 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6253, allocations: 3.5 kB / 0.7976 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6253, allocations: 3.594 kB / 0.7976 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.6256, allocations: 66.12 kB / 0.7977 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6256, allocations: 3.469 kB / 0.7977 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.6258, allocations: 42 kB / 0.7977 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.6258, allocations: 7 kB / 0.7977 GB, free: 43.09 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.0001355/0.626, allocations: 180.1 kB / 0.7979 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.626, allocations: 40.84 kB / 0.7979 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.6261, allocations: 45.58 kB / 0.798 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6261, allocations: 3.188 kB / 0.798 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.6261, allocations: 1.5 kB / 0.798 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.6262, allocations: 140.9 kB / 0.7981 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.6263, allocations: 5.219 kB / 0.7981 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6264, allocations: 14.27 kB / 0.7981 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.6265, allocations: 27 kB / 0.7982 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006284/0.6271, allocations: 391.2 kB / 0.7985 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007002/0.6278, allocations: 0.5831 MB / 0.7991 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001975/0.628, allocations: 122.3 kB / 0.7992 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001812/0.6282, allocations: 246.4 kB / 0.7995 GB, free: 42 MB / 0.6544 GB Notification: Performance of Backend: time 5.01e-07/0.6282, allocations: 0 / 0.7995 GB, free: 42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000596/0.6288, allocations: 257 kB / 0.7997 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001143/0.63, allocations: 1.206 MB / 0.8009 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.008629/0.6386, allocations: 4.099 MB / 0.8049 GB, free: 40.79 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)