Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 171.9 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007789/0.0007789, allocations: 92.59 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003246, allocations: 18.44 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2051, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003114/0.2082, allocations: 2.794 MB / 0.9042 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.2101, allocations: 0.9747 MB / 0.9051 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.2104, allocations: 11.94 kB / 0.9051 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.2107, allocations: 47.58 kB / 0.9052 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.2109, allocations: 79.41 kB / 0.9053 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.2114, allocations: 222 kB / 0.9055 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.2117, allocations: 0.5036 MB / 0.906 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.2121, allocations: 235.3 kB / 0.9062 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2123, allocations: 143.2 kB / 0.9063 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2124, allocations: 158.9 kB / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.2125, allocations: 12 kB / 0.9065 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.2125, allocations: 16 kB / 0.9065 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.2126, allocations: 67.56 kB / 0.9066 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2127, allocations: 204.5 kB / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.213, allocations: 423.2 kB / 0.9072 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.213, allocations: 0 / 0.9072 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.51e-07/0.213, allocations: 4 kB / 0.9072 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.213, allocations: 0 / 0.9072 GB, free: 57.61 MB / 0.6042 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.0009574/0.214, allocations: 0.6882 MB / 0.9078 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2141, allocations: 8.031 kB / 0.9078 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.2141, allocations: 56.28 kB / 0.9079 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.2146, allocations: 412.5 kB / 0.9083 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.2147, allocations: 29.38 kB / 0.9083 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.2147, allocations: 36.38 kB / 0.9084 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.2153, allocations: 413.9 kB / 0.9087 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2153, allocations: 0 / 0.9087 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.2153, allocations: 12 kB / 0.9088 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2153, allocations: 8 kB / 0.9088 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.2158, allocations: 275.8 kB / 0.909 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2172, allocations: 1.324 MB / 0.9103 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.2178, allocations: 310.5 kB / 0.9106 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.218, allocations: 147.7 kB / 0.9108 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2181, allocations: 7.938 kB / 0.9108 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.2184, allocations: 177.5 kB / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.2184, allocations: 0 / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0006854/0.2191, allocations: 385.8 kB / 0.9113 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2192, allocations: 89.09 kB / 0.9114 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.2195, allocations: 353.5 kB / 0.9117 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2195, allocations: 33.7 kB / 0.9118 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2196, allocations: 240.8 kB / 0.912 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.2197, allocations: 102.6 kB / 0.9121 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.2197, allocations: 4 kB / 0.9121 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.2198, allocations: 346.8 kB / 0.9124 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.22, allocations: 108.7 kB / 0.9125 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2202, allocations: 180.3 kB / 0.9127 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.2206, allocations: 260.5 kB / 0.9129 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2206, allocations: 0 / 0.9129 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005016/0.2211, allocations: 366.4 kB / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2212, allocations: 4 kB / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2212, allocations: 3.984 kB / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2212, allocations: 4 kB / 0.9133 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.2214, allocations: 63.91 kB / 0.9134 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2215, allocations: 8.188 kB / 0.9134 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2216, allocations: 43.67 kB / 0.9134 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2217, allocations: 12 kB / 0.9134 GB, free: 50.89 MB / 0.6042 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 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,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.0001479/0.2218, allocations: 177.7 kB / 0.9136 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.2219, allocations: 35.53 kB / 0.9136 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.851e-05/0.2219, allocations: 52.23 kB / 0.9137 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.222, allocations: 4 kB / 0.9137 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.222, allocations: 0 / 0.9137 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.222, allocations: 4 kB / 0.9137 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.2228, allocations: 0.8141 MB / 0.9145 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2229, allocations: 4 kB / 0.9145 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.2231, allocations: 47.91 kB / 0.9145 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2231, allocations: 0 / 0.9145 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.2231, allocations: 8 kB / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2231, allocations: 0 / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2231, allocations: 0 / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.2238, allocations: 0.5275 MB / 0.9151 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.2239, allocations: 132.6 kB / 0.9152 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.224, allocations: 11.98 kB / 0.9152 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2242, allocations: 23.92 kB / 0.9152 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.2242, allocations: 23.97 kB / 0.9152 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2243, allocations: 16 kB / 0.9153 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001767/0.2244, allocations: 251.1 kB / 0.9155 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2244, allocations: 0 / 0.9155 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002832/0.2247, allocations: 83.69 kB / 0.9156 GB, free: 48.59 MB / 0.6042 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.000105/0.2248, allocations: 116.4 kB / 0.9157 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.2253, allocations: 272.1 kB / 0.9159 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2253, allocations: 0 / 0.9159 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.2256, allocations: 131.9 kB / 0.9161 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.226, allocations: 81.75 kB / 0.9161 GB, free: 48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2273, allocations: 1.042 MB / 0.9172 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.2275, allocations: 0.8113 MB / 0.918 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2276, allocations: 35.42 kB / 0.918 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2276, allocations: 0 / 0.918 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.005338/0.233, allocations: 4.767 MB / 0.9226 GB, free: 41.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)