Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 113.3 kB / 16.38 MB, free: 6.02 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.001249/0.001249, allocations: 187.2 kB / 17.31 MB, free: 5.617 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.534/1.534, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.866/1.866, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001406/0.001406, allocations: 67.19 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2455, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.004958/0.2505, allocations: 2.996 MB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3721/0.6226, allocations: 0.9436 MB / 0.7886 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.6231, allocations: 13.25 kB / 0.7886 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.6234, allocations: 65.41 kB / 0.7887 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.6237, allocations: 90.25 kB / 0.7888 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.6242, allocations: 217.4 kB / 0.789 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.6246, allocations: 495.7 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.6249, allocations: 210 kB / 0.7897 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.6251, allocations: 180.9 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.6252, allocations: 181.7 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.6253, allocations: 45.22 kB / 0.7901 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.6253, allocations: 44.06 kB / 0.7901 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.6254, allocations: 90.59 kB / 0.7902 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.6255, allocations: 207.6 kB / 0.7904 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.626, allocations: 0.4909 MB / 0.7909 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.626, allocations: 0 / 0.7909 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.626, allocations: 3.844 kB / 0.7909 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.626, allocations: 0 / 0.7909 GB, free: 46.92 MB / 0.6544 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.0009662/0.627, allocations: 0.7115 MB / 0.7916 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.627, allocations: 7.875 kB / 0.7916 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.6271, allocations: 48 kB / 0.7916 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.6276, allocations: 399 kB / 0.792 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.6276, allocations: 21.91 kB / 0.792 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.6276, allocations: 32.28 kB / 0.7921 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.6281, allocations: 342.1 kB / 0.7924 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6282, allocations: 7.062 kB / 0.7924 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.6282, allocations: 11.81 kB / 0.7924 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.6282, allocations: 6.656 kB / 0.7924 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.6286, allocations: 219.1 kB / 0.7926 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6298, allocations: 1.172 MB / 0.7938 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.6303, allocations: 240.4 kB / 0.794 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.6305, allocations: 109.9 kB / 0.7941 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.6305, allocations: 6.641 kB / 0.7941 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.6305, allocations: 37.44 kB / 0.7941 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.512e-06/0.6305, allocations: 0 / 0.7941 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0005595/0.6311, allocations: 296.7 kB / 0.7944 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.6311, allocations: 109.4 kB / 0.7945 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.6314, allocations: 334.3 kB / 0.7948 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.6314, allocations: 32.11 kB / 0.7949 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6315, allocations: 225.9 kB / 0.7951 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.6316, allocations: 75.39 kB / 0.7952 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.6317, allocations: 54.31 kB / 0.7952 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.6317, allocations: 345.1 kB / 0.7955 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.6319, allocations: 77.5 kB / 0.7956 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.6321, allocations: 149.6 kB / 0.7958 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.6324, allocations: 209 kB / 0.796 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6324, allocations: 4 kB / 0.796 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004149/0.6329, allocations: 285.3 kB / 0.7962 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6329, allocations: 3.5 kB / 0.7962 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6329, allocations: 3.5 kB / 0.7962 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6329, allocations: 3.469 kB / 0.7962 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.6331, allocations: 52.31 kB / 0.7963 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6331, allocations: 7.25 kB / 0.7963 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.6333, allocations: 33.09 kB / 0.7963 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.6333, allocations: 6.969 kB / 0.7963 GB, free: 44.06 MB / 0.6544 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.0001146/0.6335, allocations: 166.5 kB / 0.7965 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.6335, allocations: 36.47 kB / 0.7965 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.6336, allocations: 41 kB / 0.7966 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6336, allocations: 0 / 0.7966 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6336, allocations: 4 kB / 0.7966 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.6337, allocations: 131.6 kB / 0.7967 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.6337, allocations: 7.969 kB / 0.7967 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.6339, allocations: 14.28 kB / 0.7967 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.634, allocations: 21.2 kB / 0.7967 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005008/0.6345, allocations: 310 kB / 0.797 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005479/0.635, allocations: 498.6 kB / 0.7975 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000155/0.6352, allocations: 94.52 kB / 0.7976 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001685/0.6354, allocations: 239 kB / 0.7978 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of Backend: time 4.41e-07/0.6354, allocations: 4.062 kB / 0.7978 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005424/0.6359, allocations: 205.8 kB / 0.798 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001024/0.637, allocations: 1.135 MB / 0.7991 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.007416/0.6444, allocations: 3.62 MB / 0.8027 GB, free: 41.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)