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.000762/0.0007621, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0007396/0.0007397, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.632/1.632, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004612/0.0004612, allocations: 22.61 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2018, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002725/0.2046, allocations: 2.527 MB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2059, allocations: 0.8937 MB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.2061, allocations: 11.94 kB / 0.7906 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.2063, allocations: 47.58 kB / 0.7907 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.2064, allocations: 67.41 kB / 0.7907 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.2068, allocations: 143.8 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.2072, allocations: 431.3 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.2075, allocations: 152.9 kB / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2076, allocations: 127.2 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.2078, allocations: 139.1 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.2078, allocations: 8 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.2079, allocations: 12 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.2079, allocations: 51.7 kB / 0.7918 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.208, allocations: 89.45 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.2083, allocations: 367.3 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2083, allocations: 4 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2083, allocations: 0 / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2083, allocations: 0 / 0.7922 GB, free: 6.863 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.0008291/0.2091, allocations: 0.6466 MB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.2092, allocations: 12.03 kB / 0.7928 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.2093, allocations: 51.34 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.2097, allocations: 379.4 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.2098, allocations: 20.66 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.2098, allocations: 28 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.2103, allocations: 341.1 kB / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2104, allocations: 0 / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2104, allocations: 12 kB / 0.7936 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2104, allocations: 8 kB / 0.7936 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.2108, allocations: 218.1 kB / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2122, allocations: 1.198 MB / 0.795 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.2127, allocations: 235.3 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.2129, allocations: 113.2 kB / 0.7953 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2129, allocations: 192 / 0.7953 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.213, allocations: 42.73 kB / 0.7954 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 9.82e-07/0.213, allocations: 4 kB / 0.7954 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005898/0.2136, allocations: 295.5 kB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.2136, allocations: 106.8 kB / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.2139, allocations: 337.6 kB / 0.7961 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.214, allocations: 33.7 kB / 0.7961 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2141, allocations: 224.2 kB / 0.7963 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.2142, allocations: 78.83 kB / 0.7964 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.2142, allocations: 8 kB / 0.7964 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2143, allocations: 346.8 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2145, allocations: 75.97 kB / 0.7968 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.2147, allocations: 139.7 kB / 0.797 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.2149, allocations: 95.89 kB / 0.7971 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2149, allocations: 3.938 kB / 0.7971 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004454/0.2154, allocations: 277.1 kB / 0.7973 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2154, allocations: 4 kB / 0.7973 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2154, allocations: 4.188 kB / 0.7973 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2154, allocations: 4 kB / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2156, allocations: 55.91 kB / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2157, allocations: 7.953 kB / 0.7974 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2158, allocations: 43.66 kB / 0.7974 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2159, allocations: 12 kB / 0.7974 GB, free: 1.18 MB / 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 ($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.0001494/0.216, allocations: 161.8 kB / 0.7976 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.2161, allocations: 31.62 kB / 0.7976 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.2161, allocations: 35.36 kB / 0.7977 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2162, allocations: 4 kB / 0.7977 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2162, allocations: 0 / 0.7977 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2162, allocations: 7.938 kB / 0.7977 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.2166, allocations: 397.2 kB / 0.7981 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2166, allocations: 3.984 kB / 0.7981 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.2168, allocations: 35.98 kB / 0.7981 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2168, allocations: 4 kB / 0.7981 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2168, allocations: 8 kB / 0.7981 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2168, allocations: 4 kB / 0.7981 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2168, allocations: 3.984 kB / 0.7981 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.2174, allocations: 438.3 kB / 0.7985 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2176, allocations: 120.7 kB / 0.7986 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.2176, allocations: 8 kB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2178, allocations: 23.91 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.2178, allocations: 19.97 kB / 0.7987 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2179, allocations: 4 kB / 0.7987 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000208/0.2181, allocations: 243.2 kB / 0.7989 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.563e-06/0.2181, allocations: 0 / 0.7989 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002894/0.2184, allocations: 71.69 kB / 0.799 GB, free: 15.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001119/0.2185, allocations: 114 kB / 0.7991 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.2189, allocations: 204.1 kB / 0.7993 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2189, allocations: 0 / 0.7993 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.2191, allocations: 99.91 kB / 0.7994 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.2196, allocations: 81.2 kB / 0.7995 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2207, allocations: 0.8401 MB / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.221, allocations: 0.7914 MB / 0.8011 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.2212, allocations: 30.97 kB / 0.8011 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.2212, allocations: 31.42 kB / 0.8011 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of SimCode: time 1.403e-06/0.2212, allocations: 4 kB / 0.8011 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.005599/0.2268, allocations: 2.844 MB / 0.8039 GB, free: 10.43 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: