Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.00128/0.00128, allocations: 177.2 kB / 326.5 MB, free: 2.664 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.899/1.899, allocations: 205 MB / 0.5766 GB, free: 21 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.0008219/0.000822, allocations: 92.25 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 13.31 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003155/0.2364, allocations: 2.694 MB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2383, allocations: 0.9396 MB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.2388, allocations: 11.94 kB / 0.9003 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.2391, allocations: 43.58 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.2394, allocations: 83.41 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.24, allocations: 181.6 kB / 0.9006 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.2405, allocations: 463.2 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.2408, allocations: 197.2 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.241, allocations: 135.1 kB / 0.9014 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2412, allocations: 135.1 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.2413, allocations: 12 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-05/0.2413, allocations: 15.94 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.2414, allocations: 55.64 kB / 0.9016 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2415, allocations: 154.9 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.2418, allocations: 442.3 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2418, allocations: 4 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2418, allocations: 0 / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.2418, allocations: 0 / 0.9021 GB, free: 62.58 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.0009416/0.2428, allocations: 0.6466 MB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2428, allocations: 12.03 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.2429, allocations: 52.38 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.2434, allocations: 396.3 kB / 0.9032 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2434, allocations: 25.03 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.2435, allocations: 28.38 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.244, allocations: 345.4 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.244, allocations: 0 / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.244, allocations: 16 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2441, allocations: 7.938 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.2445, allocations: 222.1 kB / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2458, allocations: 1.186 MB / 0.905 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.2463, allocations: 234.8 kB / 0.9052 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.2465, allocations: 119.3 kB / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.2465, allocations: 11.92 kB / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2466, allocations: 38.94 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.893e-06/0.2466, allocations: 4 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0005675/0.2471, allocations: 297.5 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2472, allocations: 106.8 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.2475, allocations: 337.7 kB / 0.9061 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2475, allocations: 29.7 kB / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2476, allocations: 228.2 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.2477, allocations: 74.84 kB / 0.9064 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2477, allocations: 25.72 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.2478, allocations: 346.8 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.248, allocations: 79.95 kB / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.2481, allocations: 147.6 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.2485, allocations: 208.8 kB / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2485, allocations: 0 / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00042/0.2489, allocations: 292.8 kB / 0.9074 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2489, allocations: 8 kB / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2489, allocations: 0 / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.249, allocations: 4 kB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2492, allocations: 51.91 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.2492, allocations: 4 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.2494, allocations: 44 kB / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2494, allocations: 8 kB / 0.9076 GB, free: 56.7 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 (con.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.2495, allocations: 157.8 kB / 0.9077 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.2496, allocations: 43.47 kB / 0.9078 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.2497, allocations: 35.36 kB / 0.9078 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2497, allocations: 3.984 kB / 0.9078 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2497, allocations: 7.938 kB / 0.9078 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.2498, allocations: 128.6 kB / 0.9079 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.2498, allocations: 7.984 kB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.25, allocations: 23.98 kB / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.2501, allocations: 23.91 kB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005043/0.2506, allocations: 316.6 kB / 0.9083 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005612/0.2512, allocations: 0.4905 MB / 0.9088 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001547/0.2513, allocations: 95.34 kB / 0.9088 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001749/0.2515, allocations: 243.2 kB / 0.9091 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of Backend: time 3.31e-07/0.2515, allocations: 0 / 0.9091 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005219/0.252, allocations: 223.4 kB / 0.9093 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001255/0.2533, allocations: 1.272 MB / 0.9105 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.006564/0.2599, allocations: 3.304 MB / 0.9138 GB, free: 50.27 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)