Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.293/2.293, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001328/0.001327, allocations: 171.9 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.672/2.672, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009457/0.0009456, allocations: 83.3 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007459/0.0007462, allocations: 9.625 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2193, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003723/0.223, allocations: 2.539 MB / 0.902 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.2252, allocations: 0.8974 MB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.2256, allocations: 15.94 kB / 0.9029 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.2259, allocations: 43.58 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.2261, allocations: 63.44 kB / 0.903 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.2268, allocations: 147.2 kB / 0.9031 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.2273, allocations: 435.3 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.2278, allocations: 189 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.228, allocations: 127.2 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2282, allocations: 131.1 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.522e-05/0.2283, allocations: 16 kB / 0.904 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.029e-05/0.2284, allocations: 12 kB / 0.904 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.2284, allocations: 55.64 kB / 0.904 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.2285, allocations: 89.52 kB / 0.9041 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2289, allocations: 363.3 kB / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2289, allocations: 0 / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2289, allocations: 0 / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2289, allocations: 0 / 0.9045 GB, free: 60.43 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001297/0.2302, allocations: 0.6505 MB / 0.9051 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2303, allocations: 8.031 kB / 0.9051 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2304, allocations: 52.38 kB / 0.9051 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007109/0.2311, allocations: 376.7 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.2312, allocations: 25.03 kB / 0.9055 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/0.2313, allocations: 32.31 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.232, allocations: 337.5 kB / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2321, allocations: 0 / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.2321, allocations: 19.94 kB / 0.9059 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2321, allocations: 8 kB / 0.9059 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.2329, allocations: 210.2 kB / 0.9061 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.2348, allocations: 1.197 MB / 0.9073 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.2358, allocations: 242.7 kB / 0.9075 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.2361, allocations: 112.8 kB / 0.9076 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.2362, allocations: 7.938 kB / 0.9076 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2362, allocations: 34.94 kB / 0.9077 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.865e-06/0.2362, allocations: 0 / 0.9077 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.001006/0.2372, allocations: 302.9 kB / 0.908 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2373, allocations: 110.8 kB / 0.9081 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.2377, allocations: 329.7 kB / 0.9084 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.2378, allocations: 33.69 kB / 0.9084 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.238, allocations: 224.2 kB / 0.9086 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/0.238, allocations: 78.84 kB / 0.9087 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.2381, allocations: 4 kB / 0.9087 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.2382, allocations: 346.8 kB / 0.909 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.2385, allocations: 79.95 kB / 0.9091 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.2388, allocations: 143.6 kB / 0.9092 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.2392, allocations: 97.05 kB / 0.9093 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2392, allocations: 0 / 0.9093 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008221/0.24, allocations: 281.6 kB / 0.9096 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2401, allocations: 7.938 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2401, allocations: 8 kB / 0.9096 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.2401, allocations: 8.188 kB / 0.9096 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.2406, allocations: 51.91 kB / 0.9097 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.2406, allocations: 4 kB / 0.9097 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.2409, allocations: 31.83 kB / 0.9097 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.241, allocations: 12 kB / 0.9097 GB, free: 54.74 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002381/0.2412, allocations: 165.8 kB / 0.9099 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.2413, allocations: 39.47 kB / 0.9099 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2414, allocations: 39.36 kB / 0.91 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.2415, allocations: 0 / 0.91 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2415, allocations: 0 / 0.91 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.2416, allocations: 132.6 kB / 0.9101 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.2417, allocations: 4 kB / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.242, allocations: 19.98 kB / 0.9101 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.2421, allocations: 19.97 kB / 0.9101 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00097/0.2431, allocations: 311.2 kB / 0.9104 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001015/0.2441, allocations: 0.5021 MB / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002892/0.2444, allocations: 88.89 kB / 0.911 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003219/0.2448, allocations: 243.2 kB / 0.9112 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of Backend: time 1.493e-06/0.2448, allocations: 0 / 0.9112 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008451/0.2457, allocations: 202.2 kB / 0.9114 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001868/0.2475, allocations: 1.291 MB / 0.9127 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.01045/0.258, allocations: 3.208 MB / 0.9158 GB, free: 48.42 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)