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.7496/0.7496, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001152/0.001152, allocations: 180 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.423/1.423, allocations: 170.7 MB / 383.7 MB, free: 16.13 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.001648/0.001648, allocations: 127.7 kB / 454.6 MB, free: 9.723 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.1788/0.1793, allocations: 73.41 MB / 0.6812 GB, free: 5.566 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5932/0.7725, allocations: 108.3 MB / 0.7869 GB, free: 19.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.7729, allocations: 76.52 kB / 0.787 GB, free: 19.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02171/0.7947, allocations: 8.801 MB / 0.7956 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7947, allocations: 0 / 0.7956 GB, free: 13.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.004e-05/0.7948, allocations: 11.94 kB / 0.7956 GB, free: 13.31 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.001078/0.7959, allocations: 0.7016 MB / 0.7963 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.7959, allocations: 12.03 kB / 0.7963 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.796, allocations: 51.44 kB / 0.7964 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.7966, allocations: 390.2 kB / 0.7967 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.7966, allocations: 30.62 kB / 0.7968 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.7967, allocations: 43.02 kB / 0.7968 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.7973, allocations: 391.9 kB / 0.7972 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.7974, allocations: 0 / 0.7972 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.7974, allocations: 18.12 kB / 0.7972 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.7974, allocations: 11.98 kB / 0.7972 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.7979, allocations: 281.9 kB / 0.7975 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.7995, allocations: 1.122 MB / 0.7986 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.8002, allocations: 338.2 kB / 0.7989 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.8002, allocations: 4.547 kB / 0.7989 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.8005, allocations: 193.5 kB / 0.7991 GB, free: 10.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 1.953e-06/0.8005, allocations: 4 kB / 0.7991 GB, free: 10.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007955/0.8013, allocations: 413.8 kB / 0.7995 GB, free: 10.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.8014, allocations: 106.8 kB / 0.7996 GB, free: 9.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.8017, allocations: 306.8 kB / 0.7999 GB, free: 9.645 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.8018, allocations: 37.08 kB / 0.7999 GB, free: 9.609 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.8019, allocations: 214.2 kB / 0.8001 GB, free: 9.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.802, allocations: 105.4 kB / 0.8002 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.802, allocations: 6.812 kB / 0.8002 GB, free: 9.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.8021, allocations: 349.7 kB / 0.8005 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.8023, allocations: 112.4 kB / 0.8007 GB, free: 8.953 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.8025, allocations: 150.5 kB / 0.8008 GB, free: 8.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.8027, allocations: 120.2 kB / 0.8009 GB, free: 8.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8028, allocations: 0 / 0.8009 GB, free: 8.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005484/0.8033, allocations: 338.1 kB / 0.8012 GB, free: 8.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.8033, allocations: 7.953 kB / 0.8012 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8034, allocations: 4 kB / 0.8012 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.8034, allocations: 0 / 0.8012 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.8036, allocations: 63.89 kB / 0.8013 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.8037, allocations: 0.8594 kB / 0.8013 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.8039, allocations: 51.02 kB / 0.8014 GB, free: 8.402 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.8039, allocations: 11.25 kB / 0.8014 GB, free: 8.395 MB / 490.7 MB 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 () * Number of clocked 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.0001971/0.8041, allocations: 165.1 kB / 0.8015 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.8041, allocations: 31.62 kB / 0.8016 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.8043, allocations: 49.66 kB / 0.8016 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.8043, allocations: 9.594 kB / 0.8016 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.8043, allocations: 0 / 0.8016 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8043, allocations: 0 / 0.8016 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.8054, allocations: 0.858 MB / 0.8024 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8054, allocations: 7.922 kB / 0.8025 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.8057, allocations: 55.86 kB / 0.8025 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.8057, allocations: 3.984 kB / 0.8025 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.8057, allocations: 8 kB / 0.8025 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8057, allocations: 0 / 0.8025 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8057, allocations: 0 / 0.8025 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.8066, allocations: 0.5464 MB / 0.8031 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.8067, allocations: 144.7 kB / 0.8032 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.8067, allocations: 11.94 kB / 0.8032 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.8069, allocations: 27.89 kB / 0.8032 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.807, allocations: 23.97 kB / 0.8033 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.8071, allocations: 11.98 kB / 0.8033 GB, free: 6.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.8073, allocations: 235.2 kB / 0.8035 GB, free: 6.266 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8073, allocations: 7.938 kB / 0.8035 GB, free: 6.258 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.8076, allocations: 87.78 kB / 0.8036 GB, free: 6.172 MB / 490.7 MB 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) * Number of clocked states: 0 () * 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.0001451/0.8078, allocations: 111.2 kB / 0.8037 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.8083, allocations: 280.4 kB / 0.804 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8083, allocations: 0 / 0.804 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.8085, allocations: 147.9 kB / 0.8041 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.809, allocations: 57.39 kB / 0.8041 GB, free: 5.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.8103, allocations: 0.9334 MB / 0.8051 GB, free: 4.625 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.8106, allocations: 0.8193 MB / 0.8059 GB, free: 3.773 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.8108, allocations: 43.89 kB / 0.8059 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.8108, allocations: 31.44 kB / 0.8059 GB, free: 3.707 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.8109, allocations: 3.938 kB / 0.8059 GB, free: 3.703 MB / 490.7 MB Notification: Performance of Templates: time 0.006891/0.8178, allocations: 3.372 MB / 0.8092 GB, free: 376 kB / 490.7 MB 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)