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.9192/0.9192, allocations: 132.4 MB / 139.9 MB, free: 15.36 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.0009638/0.0009638, allocations: 174.1 kB / 171.8 MB, free: 2.078 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.565/1.565, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001606/0.001606, allocations: 125.2 kB / 444.8 MB, free: 9.234 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.5844/0.5844, allocations: 73.39 MB / 0.6666 GB, free: 46.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.76, allocations: 107.5 MB / 0.7716 GB, free: 13.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.7604, allocations: 73.78 kB / 0.7717 GB, free: 13.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02357/0.784, allocations: 8.716 MB / 0.7802 GB, free: 4.512 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7841, allocations: 0 / 0.7802 GB, free: 4.512 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.911e-05/0.7841, allocations: 8 kB / 0.7802 GB, free: 4.504 MB / 490.7 MB 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.001109/0.7852, allocations: 0.6472 MB / 0.7808 GB, free: 3.816 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.7853, allocations: 8.031 kB / 0.7808 GB, free: 3.809 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.7854, allocations: 55.34 kB / 0.7809 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.7861, allocations: 392.7 kB / 0.7813 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.7862, allocations: 12 kB / 0.7813 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.7863, allocations: 20 kB / 0.7813 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005276/0.7868, allocations: 223.5 kB / 0.7815 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.7875, allocations: 310.2 kB / 0.7818 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.7875, allocations: 0 / 0.7818 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.7875, allocations: 4 kB / 0.7818 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.7876, allocations: 13.16 kB / 0.7818 GB, free: 2.758 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.7897, allocations: 1.041 MB / 0.7828 GB, free: 1.664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.7904, allocations: 279.7 kB / 0.7831 GB, free: 1.383 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.7906, allocations: 109.5 kB / 0.7832 GB, free: 1.273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.7907, allocations: 8 kB / 0.7832 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.791, allocations: 155.8 kB / 0.7834 GB, free: 1.102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 4.859e-06/0.7911, allocations: 0 / 0.7834 GB, free: 1.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005858/0.7916, allocations: 255.8 kB / 0.7836 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.7918, allocations: 110.8 kB / 0.7837 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.7922, allocations: 261.1 kB / 0.784 GB, free: 464 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.7922, allocations: 29.7 kB / 0.784 GB, free: 428 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.7924, allocations: 228.5 kB / 0.7842 GB, free: 196 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.7926, allocations: 94.56 kB / 0.7843 GB, free: 100 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.7926, allocations: 1.5 kB / 0.7843 GB, free: 100 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002632/0.7929, allocations: 342.8 kB / 0.7846 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.7931, allocations: 84.66 kB / 0.7847 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.7933, allocations: 124.4 kB / 0.7848 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.7935, allocations: 89.25 kB / 0.7849 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.7935, allocations: 0 / 0.7849 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004536/0.7939, allocations: 272.5 kB / 0.7852 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.794, allocations: 4 kB / 0.7852 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.794, allocations: 0 / 0.7852 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.794, allocations: 7.953 kB / 0.7852 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.7943, allocations: 55.91 kB / 0.7852 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.7943, allocations: 4 kB / 0.7852 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.7945, allocations: 39.75 kB / 0.7853 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.7946, allocations: 12 kB / 0.7853 GB, free: 15.06 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.0001501/0.7947, allocations: 109.8 kB / 0.7854 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.7948, allocations: 31.62 kB / 0.7854 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.7949, allocations: 42.08 kB / 0.7855 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.7949, allocations: 7.953 kB / 0.7855 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.7949, allocations: 6.312 kB / 0.7855 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7949, allocations: 7.922 kB / 0.7855 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.7961, allocations: 0.7251 MB / 0.7862 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7961, allocations: 4 kB / 0.7862 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.7964, allocations: 51.91 kB / 0.7863 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.7965, allocations: 0 / 0.7863 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.7965, allocations: 11.94 kB / 0.7863 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.7965, allocations: 4 kB / 0.7863 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7965, allocations: 0 / 0.7863 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/0.7973, allocations: 480.1 kB / 0.7867 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.7975, allocations: 140.5 kB / 0.7869 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.7976, allocations: 0 / 0.7869 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.7978, allocations: 28 kB / 0.7869 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.7979, allocations: 27.95 kB / 0.7869 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.7979, allocations: 11.94 kB / 0.7869 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000249/0.7982, allocations: 204.6 kB / 0.7871 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7982, allocations: 1.969 kB / 0.7871 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003718/0.7986, allocations: 75.69 kB / 0.7872 GB, free: 13.03 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.000209/0.7988, allocations: 99.25 kB / 0.7873 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.7993, allocations: 223.8 kB / 0.7875 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7993, allocations: 0 / 0.7875 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.7995, allocations: 119.9 kB / 0.7876 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.8, allocations: 49.81 kB / 0.7877 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.8013, allocations: 0.5337 MB / 0.7882 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.8018, allocations: 0.8229 MB / 0.789 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.8019, allocations: 35.28 kB / 0.789 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.802, allocations: 23.44 kB / 0.789 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/0.802, allocations: 0 / 0.789 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.00699/0.809, allocations: 3.065 MB / 0.792 GB, free: 8.082 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)