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.001363/0.001363, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01338/0.01338, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.773/1.773, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.796/1.796, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004923/0.0004923, allocations: 14.06 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003334/0.2209, allocations: 2.643 MB / 0.7904 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.2227, allocations: 0.9205 MB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.2232, allocations: 11.94 kB / 0.7914 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.2234, allocations: 51.58 kB / 0.7914 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.2237, allocations: 75.42 kB / 0.7915 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.2243, allocations: 188.9 kB / 0.7917 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005518/0.2248, allocations: 451.3 kB / 0.7921 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.2252, allocations: 197.5 kB / 0.7923 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.2255, allocations: 143.2 kB / 0.7924 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.2258, allocations: 135 kB / 0.7925 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.2258, allocations: 12 kB / 0.7926 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.2259, allocations: 12 kB / 0.7926 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.226, allocations: 59.62 kB / 0.7926 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.2261, allocations: 180.6 kB / 0.7928 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.2266, allocations: 446.2 kB / 0.7932 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2266, allocations: 0 / 0.7932 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.677e-06/0.2266, allocations: 0 / 0.7932 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.2267, allocations: 3.938 kB / 0.7932 GB, free: 6.086 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001208/0.2279, allocations: 0.639 MB / 0.7938 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2279, allocations: 12.03 kB / 0.7939 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.2281, allocations: 48.38 kB / 0.7939 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006541/0.2287, allocations: 396.3 kB / 0.7943 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.2288, allocations: 25.03 kB / 0.7943 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.2288, allocations: 28.38 kB / 0.7943 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.2295, allocations: 345.4 kB / 0.7947 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2295, allocations: 0 / 0.7947 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.2296, allocations: 16 kB / 0.7947 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2296, allocations: 8 kB / 0.7947 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.2301, allocations: 214.1 kB / 0.7949 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2317, allocations: 1.197 MB / 0.7961 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.2323, allocations: 238.7 kB / 0.7963 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.2326, allocations: 116.8 kB / 0.7964 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.2327, allocations: 0 / 0.7964 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2327, allocations: 34.94 kB / 0.7964 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.2327, allocations: 4 kB / 0.7964 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0008362/0.2336, allocations: 293.1 kB / 0.7967 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.2337, allocations: 106.8 kB / 0.7968 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.2341, allocations: 341.6 kB / 0.7971 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.2342, allocations: 33.7 kB / 0.7972 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2344, allocations: 228.1 kB / 0.7974 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.2345, allocations: 78.89 kB / 0.7975 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.2346, allocations: 33.59 kB / 0.7975 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2347, allocations: 346.8 kB / 0.7978 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2349, allocations: 79.95 kB / 0.7979 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.2352, allocations: 143.7 kB / 0.798 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.2356, allocations: 212.7 kB / 0.7982 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2356, allocations: 4 kB / 0.7982 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005619/0.2362, allocations: 283.2 kB / 0.7985 GB, free: 340 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.2362, allocations: 10.81 kB / 0.7985 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2363, allocations: 0 / 0.7985 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.2363, allocations: 4 kB / 0.7985 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.2365, allocations: 51.91 kB / 0.7986 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2365, allocations: 4 kB / 0.7986 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.2368, allocations: 51.84 kB / 0.7986 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.2368, allocations: 12 kB / 0.7986 GB, free: 208 kB / 0.6075 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.0002118/0.237, allocations: 157.7 kB / 0.7988 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.2371, allocations: 35.62 kB / 0.7988 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.2372, allocations: 35.36 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2372, allocations: 4 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2372, allocations: 4 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.2373, allocations: 3.984 kB / 0.7989 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.2378, allocations: 393.2 kB / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2378, allocations: 0 / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.238, allocations: 47.92 kB / 0.7993 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.238, allocations: 0 / 0.7993 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.238, allocations: 0 / 0.7993 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.238, allocations: 11.98 kB / 0.7993 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2381, allocations: 0 / 0.7993 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/0.2388, allocations: 434.1 kB / 0.7997 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2389, allocations: 124.6 kB / 0.7998 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.239, allocations: 8 kB / 0.7998 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.2392, allocations: 28.03 kB / 0.7999 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.2392, allocations: 19.92 kB / 0.7999 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2393, allocations: 7.984 kB / 0.7999 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002516/0.2395, allocations: 239.2 kB / 0.8001 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2395, allocations: 3.938 kB / 0.8001 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003261/0.2398, allocations: 67.75 kB / 0.8002 GB, free: 14.52 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001317/0.24, allocations: 107.2 kB / 0.8003 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.2405, allocations: 207.7 kB / 0.8005 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2405, allocations: 0 / 0.8005 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.2407, allocations: 99.91 kB / 0.8006 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.2413, allocations: 81.62 kB / 0.8007 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2427, allocations: 0.8834 MB / 0.8015 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.2431, allocations: 0.7992 MB / 0.8023 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.2433, allocations: 38.95 kB / 0.8024 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.2434, allocations: 27.42 kB / 0.8024 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.2434, allocations: 0 / 0.8024 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.007264/0.2506, allocations: 2.937 MB / 0.8052 GB, free: 9.316 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: