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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 186 kB / 16.13 MB, free: 6.652 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.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.668/1.668, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001505/0.001505, allocations: 61.72 kB / 0.6708 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1947, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004262/0.199, allocations: 3.179 MB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.2007, allocations: 0.9865 MB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.201, allocations: 15.94 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.2012, allocations: 47.58 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2015, allocations: 79.41 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.202, allocations: 210.9 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.2025, allocations: 0.5036 MB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.2028, allocations: 239.6 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.2031, allocations: 179 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2033, allocations: 190.9 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.2033, allocations: 24 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.2034, allocations: 24 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.2035, allocations: 83.56 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2036, allocations: 210.7 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.2041, allocations: 0.5294 MB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2041, allocations: 3.938 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2041, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2041, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 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.001145/0.2052, allocations: 0.7661 MB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.2053, allocations: 8.031 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.2054, allocations: 56.28 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.2059, allocations: 408.6 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.206, allocations: 29.38 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.206, allocations: 40.28 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.2067, allocations: 401.9 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2067, allocations: 0 / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2067, allocations: 16 kB / 0.7906 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2067, allocations: 8 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.2073, allocations: 267.8 kB / 0.7909 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.2089, allocations: 1.324 MB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.2096, allocations: 309.5 kB / 0.7925 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.2098, allocations: 144.7 kB / 0.7926 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.2099, allocations: 8 kB / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.2103, allocations: 165.6 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.2103, allocations: 3.938 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0007745/0.2111, allocations: 379 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.2111, allocations: 85.09 kB / 0.7932 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2115, allocations: 357.5 kB / 0.7936 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2115, allocations: 37.7 kB / 0.7936 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2117, allocations: 236.9 kB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.2117, allocations: 102.5 kB / 0.7939 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2119, allocations: 70.06 kB / 0.794 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.212, allocations: 346.8 kB / 0.7943 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.2122, allocations: 100.7 kB / 0.7944 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.2125, allocations: 176.3 kB / 0.7946 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.2129, allocations: 255.8 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2129, allocations: 4 kB / 0.7949 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000597/0.2135, allocations: 354.1 kB / 0.7952 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2136, allocations: 11.94 kB / 0.7952 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2136, allocations: 0 / 0.7952 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2136, allocations: 4 kB / 0.7952 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.2139, allocations: 67.89 kB / 0.7953 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.2139, allocations: 4 kB / 0.7953 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.2141, allocations: 35.73 kB / 0.7953 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.2141, allocations: 16.19 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 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.0001754/0.2143, allocations: 174.3 kB / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.2144, allocations: 43.52 kB / 0.7955 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.2145, allocations: 44.25 kB / 0.7956 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2145, allocations: 7.984 kB / 0.7956 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2145, allocations: 0 / 0.7956 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2145, allocations: 0 / 0.7956 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2156, allocations: 0.823 MB / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2156, allocations: 0 / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.2159, allocations: 43.92 kB / 0.7964 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.2159, allocations: 8 kB / 0.7964 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.2159, allocations: 7.984 kB / 0.7964 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.216, allocations: 4 kB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.216, allocations: 0 / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/0.2168, allocations: 0.515 MB / 0.797 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.217, allocations: 132.6 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.2171, allocations: 8 kB / 0.7971 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2173, allocations: 15.98 kB / 0.7971 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.2173, allocations: 27.95 kB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2174, allocations: 12.06 kB / 0.7971 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002759/0.2177, allocations: 247.2 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2177, allocations: 0 / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000381/0.218, allocations: 87.62 kB / 0.7975 GB, free: 14.39 MB / 0.6231 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.0001335/0.2182, allocations: 107.2 kB / 0.7976 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.2187, allocations: 272.3 kB / 0.7978 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2188, allocations: 3.938 kB / 0.7978 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.219, allocations: 132.5 kB / 0.798 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.2195, allocations: 73.52 kB / 0.798 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.2211, allocations: 0.9663 MB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.2216, allocations: 0.8113 MB / 0.7998 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.2218, allocations: 47.27 kB / 0.7998 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2219, allocations: 31.42 kB / 0.7998 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.2219, allocations: 0 / 0.7998 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.007766/0.2297, allocations: 3.404 MB / 0.8032 GB, free: 8.531 MB / 0.6231 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)