Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6893/0.6893, allocations: 132.3 MB / 144.9 MB, free: 10.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001021/0.001021, allocations: 171.1 kB / 176.9 MB, free: 2.246 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.315/1.315, allocations: 170.5 MB / 379.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001695/0.001695, allocations: 115.7 kB / 450 MB, free: 5.836 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.449/0.449, allocations: 73.39 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5938, allocations: 108.2 MB / 0.7793 GB, free: 8.488 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.5941, allocations: 74.78 kB / 0.7793 GB, free: 8.418 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02168/0.6158, allocations: 8.782 MB / 0.7879 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6158, allocations: 0 / 0.7879 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.656e-05/0.6159, allocations: 16 kB / 0.7879 GB, free: 15.66 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009605/0.6168, allocations: 0.6422 MB / 0.7885 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6169, allocations: 8.031 kB / 0.7886 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.617, allocations: 51.44 kB / 0.7886 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.6176, allocations: 392.1 kB / 0.789 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.6176, allocations: 28.78 kB / 0.789 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.6177, allocations: 36 kB / 0.789 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.6183, allocations: 363.9 kB / 0.7894 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6183, allocations: 0 / 0.7894 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.6184, allocations: 19.98 kB / 0.7894 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.6184, allocations: 8 kB / 0.7894 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.6188, allocations: 235 kB / 0.7896 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.6204, allocations: 1.122 MB / 0.7907 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.6209, allocations: 300.4 kB / 0.791 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.6211, allocations: 120.8 kB / 0.7911 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.6212, allocations: 14 kB / 0.7912 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.6215, allocations: 159.3 kB / 0.7913 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.6215, allocations: 4 kB / 0.7913 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0004694/0.622, allocations: 269.1 kB / 0.7916 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.622, allocations: 114.8 kB / 0.7917 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.6224, allocations: 299.5 kB / 0.792 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.6224, allocations: 33.7 kB / 0.792 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.6226, allocations: 220.9 kB / 0.7922 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.6227, allocations: 94.62 kB / 0.7923 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.6227, allocations: 4 kB / 0.7923 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6228, allocations: 354.7 kB / 0.7926 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.623, allocations: 88.66 kB / 0.7927 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.6232, allocations: 136.7 kB / 0.7928 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.6234, allocations: 92.91 kB / 0.7929 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6234, allocations: 0 / 0.7929 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004294/0.6238, allocations: 296.7 kB / 0.7932 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6238, allocations: 11.95 kB / 0.7932 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6238, allocations: 0 / 0.7932 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6239, allocations: 0 / 0.7932 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.6241, allocations: 59.91 kB / 0.7933 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6241, allocations: 0 / 0.7933 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.6243, allocations: 47.78 kB / 0.7933 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.6244, allocations: 12.56 kB / 0.7933 GB, free: 9.867 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001247/0.6245, allocations: 125.5 kB / 0.7935 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.6246, allocations: 35.53 kB / 0.7935 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.761e-05/0.6247, allocations: 52.11 kB / 0.7935 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6247, allocations: 0 / 0.7935 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6247, allocations: 4 kB / 0.7936 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.6247, allocations: 4.641 kB / 0.7936 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000995/0.6257, allocations: 0.8146 MB / 0.7944 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6257, allocations: 3.953 kB / 0.7944 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.626, allocations: 51.91 kB / 0.7944 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.626, allocations: 0.875 kB / 0.7944 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.626, allocations: 8 kB / 0.7944 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.626, allocations: 0 / 0.7944 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.626, allocations: 2.344 kB / 0.7944 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.6267, allocations: 0.4917 MB / 0.7949 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.6268, allocations: 148.6 kB / 0.795 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.6269, allocations: 4 kB / 0.795 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.6271, allocations: 24.86 kB / 0.7951 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.6271, allocations: 32.02 kB / 0.7951 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.6272, allocations: 8 kB / 0.7951 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002359/0.6274, allocations: 238.2 kB / 0.7953 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6274, allocations: 0 / 0.7953 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003019/0.6277, allocations: 79.75 kB / 0.7954 GB, free: 7.656 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001513/0.6279, allocations: 114.5 kB / 0.7955 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.6283, allocations: 236.7 kB / 0.7957 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6283, allocations: 4.062 kB / 0.7957 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.6285, allocations: 135.8 kB / 0.7959 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.6289, allocations: 61.17 kB / 0.7959 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.6299, allocations: 0.5422 MB / 0.7965 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.6303, allocations: 0.8193 MB / 0.7973 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.6304, allocations: 50.38 kB / 0.7973 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.6305, allocations: 27.44 kB / 0.7973 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.6305, allocations: 0 / 0.7973 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of Templates: time 0.006687/0.6372, allocations: 3.378 MB / 0.8006 GB, free: 2.305 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)