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.001215/0.001214, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001301/0.001301, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.487/1.487, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.649/1.649, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001446/0.001446, allocations: 66.61 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2042, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004953/0.2092, allocations: 3.164 MB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.211, allocations: 0.9866 MB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.2113, allocations: 11.94 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.2116, allocations: 51.52 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.2119, allocations: 71.42 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.2125, allocations: 219.5 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006061/0.2131, allocations: 0.5505 MB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.2135, allocations: 243.8 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.2137, allocations: 211 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.214, allocations: 206.9 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.2141, allocations: 52 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.198e-05/0.2141, allocations: 52 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.2142, allocations: 115.5 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.2144, allocations: 238.8 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.215, allocations: 0.545 MB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.215, allocations: 4 kB / 0.7894 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.215, allocations: 0 / 0.7894 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.215, allocations: 3.938 kB / 0.7894 GB, free: 7.18 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.00137/0.2164, allocations: 0.7699 MB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2164, allocations: 8.031 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2166, allocations: 56.28 kB / 0.7902 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.2172, allocations: 404.7 kB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.2172, allocations: 29.38 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.2173, allocations: 40.28 kB / 0.7906 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.218, allocations: 401.9 kB / 0.791 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.218, allocations: 11.92 kB / 0.791 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.2181, allocations: 12 kB / 0.7911 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2181, allocations: 8 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.2186, allocations: 263.9 kB / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.2202, allocations: 1.316 MB / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.2209, allocations: 317.5 kB / 0.7929 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.2212, allocations: 140.7 kB / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.2212, allocations: 12.55 kB / 0.793 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.2216, allocations: 165.6 kB / 0.7932 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.335e-06/0.2216, allocations: 0 / 0.7932 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0007584/0.2223, allocations: 382.9 kB / 0.7936 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.2224, allocations: 89.09 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.2228, allocations: 349.6 kB / 0.794 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.2228, allocations: 37.7 kB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.223, allocations: 232.3 kB / 0.7942 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.2231, allocations: 106.5 kB / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2232, allocations: 74 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2233, allocations: 346.8 kB / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2236, allocations: 104.7 kB / 0.7948 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.2238, allocations: 168.4 kB / 0.795 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.2243, allocations: 263.8 kB / 0.7953 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2243, allocations: 0 / 0.7953 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005871/0.2249, allocations: 354.1 kB / 0.7956 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2249, allocations: 4 kB / 0.7956 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2249, allocations: 4 kB / 0.7956 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2249, allocations: 4 kB / 0.7956 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2252, allocations: 67.84 kB / 0.7957 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2252, allocations: 4 kB / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.2255, allocations: 39.91 kB / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.2255, allocations: 16 kB / 0.7957 GB, free: 364 kB / 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.0002469/0.2258, allocations: 178.3 kB / 0.7959 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.2259, allocations: 35.53 kB / 0.7959 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.226, allocations: 48.25 kB / 0.796 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.226, allocations: 4 kB / 0.796 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.226, allocations: 3.938 kB / 0.796 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.226, allocations: 3.984 kB / 0.796 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.2276, allocations: 0.8152 MB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2276, allocations: 4 kB / 0.7968 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2278, allocations: 47.91 kB / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2279, allocations: 0 / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2279, allocations: 11.98 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2279, allocations: 3.984 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2279, allocations: 0 / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.2287, allocations: 0.5112 MB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2289, allocations: 136.6 kB / 0.7975 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.2289, allocations: 4 kB / 0.7975 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.2291, allocations: 23.92 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.2292, allocations: 28.02 kB / 0.7975 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2292, allocations: 12 kB / 0.7975 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002239/0.2294, allocations: 243.2 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2295, allocations: 0 / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003486/0.2298, allocations: 91.62 kB / 0.7979 GB, free: 14.07 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.0001322/0.2299, allocations: 115.1 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005935/0.2305, allocations: 280 kB / 0.7982 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2306, allocations: 0 / 0.7982 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.2308, allocations: 132.4 kB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.2315, allocations: 87.8 kB / 0.7985 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2331, allocations: 0.9779 MB / 0.7994 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.2335, allocations: 0.8074 MB / 0.8002 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.2337, allocations: 47.25 kB / 0.8002 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.2338, allocations: 35.42 kB / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.2338, allocations: 0 / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.007415/0.2412, allocations: 3.549 MB / 0.8037 GB, free: 8.023 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)