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.0008153/0.0008152, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009087/0.0009087, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.594/1.594, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004697/0.0004698, allocations: 16.11 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003806/0.2142, allocations: 2.663 MB / 0.7899 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2159, allocations: 0.9402 MB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/0.2163, allocations: 11.94 kB / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.2166, allocations: 47.52 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.2168, allocations: 67.41 kB / 0.7909 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.2174, allocations: 167 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.218, allocations: 495.8 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.2183, allocations: 171.7 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2186, allocations: 139.2 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.2188, allocations: 159 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.2188, allocations: 12 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.06e-05/0.2189, allocations: 16 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.219, allocations: 63.64 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.2191, allocations: 101.5 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.2194, allocations: 419.2 kB / 0.7926 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2195, allocations: 4 kB / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2195, allocations: 0 / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.2195, allocations: 0 / 0.7926 GB, free: 6.5 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.001229/0.2207, allocations: 0.6881 MB / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2208, allocations: 8.031 kB / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2209, allocations: 55.34 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.2215, allocations: 411.5 kB / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.2215, allocations: 29 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.2216, allocations: 36 kB / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.2223, allocations: 389.6 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2223, allocations: 4 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.2224, allocations: 23.88 kB / 0.7942 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.2224, allocations: 15.98 kB / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.2229, allocations: 263.9 kB / 0.7944 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.2247, allocations: 1.324 MB / 0.7957 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.2253, allocations: 318.6 kB / 0.796 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.2256, allocations: 136.8 kB / 0.7962 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.2256, allocations: 4 kB / 0.7962 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.226, allocations: 181.5 kB / 0.7963 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.226, allocations: 0 / 0.7963 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0007723/0.2268, allocations: 390.9 kB / 0.7967 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2268, allocations: 81.66 kB / 0.7968 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.2272, allocations: 349.6 kB / 0.7971 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.2272, allocations: 33.7 kB / 0.7972 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.2274, allocations: 236.4 kB / 0.7974 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.2275, allocations: 98.55 kB / 0.7975 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.2275, allocations: 8 kB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2277, allocations: 350.8 kB / 0.7978 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2279, allocations: 100.7 kB / 0.7979 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.2282, allocations: 172.4 kB / 0.7981 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.2284, allocations: 113.6 kB / 0.7982 GB, free: 480 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2284, allocations: 3.953 kB / 0.7982 GB, free: 476 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005946/0.229, allocations: 350.9 kB / 0.7985 GB, free: 120 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2291, allocations: 4 kB / 0.7985 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2291, allocations: 4 kB / 0.7985 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2291, allocations: 0 / 0.7985 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.2294, allocations: 71.84 kB / 0.7986 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.2294, allocations: 11.92 kB / 0.7986 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.2296, allocations: 43.86 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.2297, allocations: 16 kB / 0.7987 GB, free: 15.97 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.2299, allocations: 174.4 kB / 0.7988 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.2299, allocations: 39.48 kB / 0.7989 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.23, allocations: 48.25 kB / 0.7989 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.23, allocations: 11.94 kB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.23, allocations: 0 / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.23, allocations: 3.984 kB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.2312, allocations: 0.8113 MB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2312, allocations: 4 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.2314, allocations: 51.92 kB / 0.7998 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2314, allocations: 0 / 0.7998 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.2315, allocations: 11.98 kB / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2315, allocations: 0 / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2315, allocations: 0 / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.2322, allocations: 0.515 MB / 0.8003 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2324, allocations: 136.6 kB / 0.8004 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.2324, allocations: 8 kB / 0.8004 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2326, allocations: 19.98 kB / 0.8005 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.2327, allocations: 27.95 kB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2327, allocations: 8 kB / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002167/0.2329, allocations: 243.2 kB / 0.8007 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.442e-06/0.2329, allocations: 0 / 0.8007 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003288/0.2333, allocations: 91.62 kB / 0.8008 GB, free: 13.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.2334, allocations: 107.2 kB / 0.8009 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.2339, allocations: 272 kB / 0.8012 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2339, allocations: 0 / 0.8012 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.2342, allocations: 132.4 kB / 0.8013 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.2347, allocations: 83.89 kB / 0.8014 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.236, allocations: 0.9627 MB / 0.8023 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2365, allocations: 0.8152 MB / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000184/0.2367, allocations: 47.19 kB / 0.8032 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.2368, allocations: 35.42 kB / 0.8032 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2368, allocations: 0 / 0.8032 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.007208/0.244, allocations: 3.254 MB / 0.8064 GB, free: 7.953 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: