Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7965/0.7965, allocations: 132.4 MB / 139.9 MB, free: 15.41 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.001067/0.001067, allocations: 169.2 kB / 171.8 MB, free: 2.02 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.793/1.793, allocations: 170.6 MB / 374.2 MB, free: 15.73 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.001688/0.001688, allocations: 123.9 kB / 444.8 MB, free: 9.254 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.5159/0.5159, allocations: 73.4 MB / 0.6666 GB, free: 46.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.6854, allocations: 105.5 MB / 0.7696 GB, free: 15.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.6857, allocations: 78.33 kB / 0.7697 GB, free: 15.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05514/0.7409, allocations: 19.6 MB / 0.7888 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.741, allocations: 0 / 0.7888 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.005e-05/0.7411, allocations: 16 kB / 0.7888 GB, free: 11.69 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001777/0.7428, allocations: 0.9371 MB / 0.7898 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.7429, allocations: 12.03 kB / 0.7898 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.7431, allocations: 94.58 kB / 0.7899 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.7442, allocations: 0.57 MB / 0.7904 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.7443, allocations: 76.72 kB / 0.7905 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.7444, allocations: 35.91 kB / 0.7905 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005935/0.745, allocations: 326.5 kB / 0.7908 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.7458, allocations: 465.9 kB / 0.7913 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.7458, allocations: 0 / 0.7913 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.7459, allocations: 0 / 0.7913 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.7459, allocations: 15.95 kB / 0.7913 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.7486, allocations: 1.401 MB / 0.7927 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.7494, allocations: 432.2 kB / 0.7931 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.7496, allocations: 152.9 kB / 0.7932 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.7497, allocations: 7.984 kB / 0.7932 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/0.7501, allocations: 234.1 kB / 0.7934 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.7502, allocations: 0 / 0.7934 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0006816/0.7508, allocations: 377.5 kB / 0.7938 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.7509, allocations: 218.8 kB / 0.794 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.7514, allocations: 418.5 kB / 0.7944 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.7515, allocations: 25.7 kB / 0.7944 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.7517, allocations: 325 kB / 0.7947 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.7519, allocations: 149.8 kB / 0.7949 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.7519, allocations: 0 / 0.7949 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7521, allocations: 374.7 kB / 0.7952 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.7523, allocations: 137 kB / 0.7954 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.7526, allocations: 212.4 kB / 0.7956 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.7528, allocations: 140.8 kB / 0.7957 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7528, allocations: 4 kB / 0.7957 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006976/0.7536, allocations: 424.1 kB / 0.7961 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.7536, allocations: 33.7 kB / 0.7962 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7536, allocations: 0 / 0.7962 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.7536, allocations: 4 kB / 0.7962 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.7542, allocations: 111.9 kB / 0.7963 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.7542, allocations: 8.688 kB / 0.7963 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.7547, allocations: 67.52 kB / 0.7963 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.7547, allocations: 15.98 kB / 0.7964 GB, free: 3.676 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * 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.0001476/0.7549, allocations: 113.9 kB / 0.7965 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.755, allocations: 63.25 kB / 0.7965 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.7551, allocations: 69.48 kB / 0.7966 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7552, allocations: 4 kB / 0.7966 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7552, allocations: 0 / 0.7966 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.7552, allocations: 0 / 0.7966 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.7559, allocations: 0.5638 MB / 0.7971 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.7559, allocations: 0 / 0.7971 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.7564, allocations: 101 kB / 0.7972 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7564, allocations: 4 kB / 0.7972 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.7565, allocations: 0 / 0.7972 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.7565, allocations: 4 kB / 0.7972 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7565, allocations: 3.938 kB / 0.7973 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.7575, allocations: 0.5998 MB / 0.7978 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.7577, allocations: 204.1 kB / 0.798 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.7578, allocations: 4 kB / 0.798 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.7583, allocations: 59.94 kB / 0.7981 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.7584, allocations: 31.95 kB / 0.7981 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.7585, allocations: 15.98 kB / 0.7981 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004059/0.7589, allocations: 323 kB / 0.7984 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7589, allocations: 5.406 kB / 0.7985 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004338/0.7594, allocations: 111.7 kB / 0.7986 GB, free: 1.348 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001966/0.7596, allocations: 107.1 kB / 0.7987 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006388/0.7602, allocations: 397 kB / 0.799 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7602, allocations: 4 kB / 0.799 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.7605, allocations: 171.9 kB / 0.7992 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.7613, allocations: 146.7 kB / 0.7993 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.7631, allocations: 0.7952 MB / 0.8001 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.7636, allocations: 0.9171 MB / 0.801 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003379/0.7639, allocations: 69.5 kB / 0.8011 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.7641, allocations: 43.38 kB / 0.8011 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of SimCode: time 4.8e-07/0.7641, allocations: 0 / 0.8011 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.01187/0.776, allocations: 6.356 MB / 0.8073 GB, free: 8.418 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)