Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.638/1.638, allocations: 287.4 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009958/0.0009959, allocations: 174.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008004/0.0008004, allocations: 90.83 kB / 0.7438 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 16.02 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002818/0.2071, allocations: 2.519 MB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2084, allocations: 0.9053 MB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2087, allocations: 8 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.2088, allocations: 43.52 kB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.209, allocations: 63.5 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.2094, allocations: 153.4 kB / 0.9829 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.2097, allocations: 439.2 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.21, allocations: 201.5 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.2101, allocations: 127.2 kB / 0.9836 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2103, allocations: 127.2 kB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.2103, allocations: 8 kB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.361e-05/0.2103, allocations: 12 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.2104, allocations: 59.64 kB / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.2104, allocations: 89.45 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2107, allocations: 367 kB / 0.9842 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2107, allocations: 0 / 0.9842 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2107, allocations: 0 / 0.9842 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2107, allocations: 4 kB / 0.9842 GB, free: 23.08 MB / 0.6198 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.00078/0.2115, allocations: 0.6389 MB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2116, allocations: 8.031 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.2116, allocations: 52.38 kB / 0.9849 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.2121, allocations: 396.3 kB / 0.9853 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2121, allocations: 25.03 kB / 0.9853 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.2121, allocations: 28.38 kB / 0.9853 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.2126, allocations: 341.4 kB / 0.9857 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2126, allocations: 0 / 0.9857 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.2126, allocations: 16 kB / 0.9857 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2127, allocations: 8 kB / 0.9857 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.2131, allocations: 210.1 kB / 0.9859 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2143, allocations: 1.193 MB / 0.9871 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.2148, allocations: 249 kB / 0.9873 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.215, allocations: 112.8 kB / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.215, allocations: 4 kB / 0.9874 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.215, allocations: 34.94 kB / 0.9874 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.883e-06/0.215, allocations: 4 kB / 0.9874 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005678/0.2156, allocations: 297 kB / 0.9877 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2157, allocations: 106.8 kB / 0.9878 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.2159, allocations: 337.6 kB / 0.9882 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2159, allocations: 29.7 kB / 0.9882 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.216, allocations: 232.2 kB / 0.9884 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.2161, allocations: 74.91 kB / 0.9885 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.2161, allocations: 4 kB / 0.9885 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.2162, allocations: 346.8 kB / 0.9888 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2163, allocations: 71.97 kB / 0.9889 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.2165, allocations: 155.6 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.2168, allocations: 215.2 kB / 0.9892 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2169, allocations: 0 / 0.9892 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004103/0.2173, allocations: 281 kB / 0.9895 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2173, allocations: 11.94 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2173, allocations: 4 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2173, allocations: 4 kB / 0.9895 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2175, allocations: 51.91 kB / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2176, allocations: 7.938 kB / 0.9896 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.2177, allocations: 43.86 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.2178, allocations: 12 kB / 0.9896 GB, free: 17.24 MB / 0.6198 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.0001149/0.2179, allocations: 153.8 kB / 0.9898 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.2179, allocations: 35.56 kB / 0.9898 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.218, allocations: 47.34 kB / 0.9899 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.218, allocations: 0 / 0.9899 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.218, allocations: 0 / 0.9899 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.2181, allocations: 136.5 kB / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.2181, allocations: 4 kB / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2183, allocations: 19.98 kB / 0.99 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2184, allocations: 23.91 kB / 0.99 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005157/0.2189, allocations: 307.8 kB / 0.9903 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005595/0.2195, allocations: 0.5098 MB / 0.9908 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001582/0.2196, allocations: 91.17 kB / 0.9909 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001664/0.2198, allocations: 231.2 kB / 0.9911 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Backend: time 4.81e-07/0.2198, allocations: 0 / 0.9911 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004982/0.2203, allocations: 211.8 kB / 0.9913 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001068/0.2214, allocations: 1.276 MB / 0.9926 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.005512/0.2269, allocations: 3.216 MB / 0.9957 GB, free: 10.93 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)