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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1732/0.1739, allocations: 82.22 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003952/0.1779, allocations: 3.156 MB / 0.5965 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1801, allocations: 1.326 MB / 0.5978 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.1804, allocations: 23.88 kB / 0.5979 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1807, allocations: 87.11 kB / 0.5979 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.1811, allocations: 150.9 kB / 0.5981 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1822, allocations: 452.2 kB / 0.5985 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008142/0.183, allocations: 0.8433 MB / 0.5993 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.1834, allocations: 271.4 kB / 0.5996 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.1837, allocations: 274.5 kB / 0.5999 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.184, allocations: 278.2 kB / 0.6001 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.1841, allocations: 24 kB / 0.6002 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.1841, allocations: 20 kB / 0.6002 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1843, allocations: 111.4 kB / 0.6003 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1844, allocations: 153.2 kB / 0.6004 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.1849, allocations: 0.6546 MB / 0.6011 GB, free: 14.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1849, allocations: 0 / 0.6011 GB, free: 14.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.185, allocations: 4 kB / 0.6011 GB, free: 14.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.185, allocations: 4 kB / 0.6011 GB, free: 14.13 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001816/0.1868, allocations: 1.098 MB / 0.6021 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1868, allocations: 12.03 kB / 0.6022 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.187, allocations: 106.7 kB / 0.6023 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.1877, allocations: 0.5576 MB / 0.6028 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1879, allocations: 104.7 kB / 0.6029 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.188, allocations: 63.98 kB / 0.603 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.189, allocations: 0.6577 MB / 0.6036 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.189, allocations: 7.875 kB / 0.6036 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.1891, allocations: 28 kB / 0.6036 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1891, allocations: 12 kB / 0.6036 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.19, allocations: 0.497 MB / 0.6041 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.1927, allocations: 2.127 MB / 0.6062 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.1939, allocations: 0.6101 MB / 0.6068 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.1944, allocations: 237.5 kB / 0.607 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.1944, allocations: 8.375 kB / 0.607 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006884/0.1951, allocations: 329.2 kB / 0.6074 GB, free: 7.445 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.1951, allocations: 0 / 0.6074 GB, free: 7.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.001486/0.1966, allocations: 0.7402 MB / 0.6081 GB, free: 6.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.1967, allocations: 137 kB / 0.6082 GB, free: 6.535 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.1974, allocations: 0.6454 MB / 0.6088 GB, free: 5.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.1975, allocations: 37.7 kB / 0.6089 GB, free: 5.836 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.1978, allocations: 376.7 kB / 0.6092 GB, free: 5.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1979, allocations: 165.6 kB / 0.6094 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.1979, allocations: 8 kB / 0.6094 GB, free: 5.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1981, allocations: 337.9 kB / 0.6097 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.1985, allocations: 213 kB / 0.6099 GB, free: 4.746 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.1991, allocations: 316.4 kB / 0.6102 GB, free: 4.402 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.1996, allocations: 267.8 kB / 0.6105 GB, free: 4.137 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1996, allocations: 4 kB / 0.6105 GB, free: 4.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001138/0.2007, allocations: 0.6755 MB / 0.6111 GB, free: 3.441 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.2008, allocations: 180 kB / 0.6113 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2009, allocations: 4 kB / 0.6113 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2009, allocations: 4 kB / 0.6113 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.2013, allocations: 123.8 kB / 0.6114 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2014, allocations: 11.98 kB / 0.6115 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.2017, allocations: 87.34 kB / 0.6115 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2018, allocations: 16 kB / 0.6116 GB, free: 2.988 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.2018, allocations: 4 kB / 0.6116 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008498/0.2027, allocations: 0.5027 MB / 0.612 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.2027, allocations: 0 / 0.612 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.2027, allocations: 7.938 kB / 0.6121 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.2031, allocations: 104.1 kB / 0.6122 GB, free: 2.363 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2031, allocations: 7.938 kB / 0.6122 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.2034, allocations: 63.52 kB / 0.6122 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.2034, allocations: 16 kB / 0.6122 GB, free: 2.277 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.local_reset,limPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0003111/0.2037, allocations: 269.1 kB / 0.6125 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2039, allocations: 86.91 kB / 0.6126 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.204, allocations: 88.03 kB / 0.6127 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.204, allocations: 11.94 kB / 0.6127 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2041, allocations: 0 / 0.6127 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2041, allocations: 3.984 kB / 0.6127 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.2048, allocations: 0.6731 MB / 0.6133 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2049, allocations: 0 / 0.6133 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.2053, allocations: 99.88 kB / 0.6134 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2053, allocations: 7.953 kB / 0.6134 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.2054, allocations: 12 kB / 0.6134 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2054, allocations: 4 kB / 0.6135 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2054, allocations: 0 / 0.6135 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.207, allocations: 0.8585 MB / 0.6143 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.2072, allocations: 208 kB / 0.6145 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.2073, allocations: 15.95 kB / 0.6145 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.2077, allocations: 55.95 kB / 0.6146 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.2078, allocations: 36.33 kB / 0.6146 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.2078, allocations: 15.98 kB / 0.6146 GB, free: 15.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005092/0.2083, allocations: 455 kB / 0.615 GB, free: 15.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2083, allocations: 0 / 0.615 GB, free: 15.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.209, allocations: 239.2 kB / 0.6153 GB, free: 15.07 MB / 478.1 MB 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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.0001609/0.2091, allocations: 103.2 kB / 0.6154 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.2107, allocations: 0.8754 MB / 0.6162 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2107, allocations: 3.938 kB / 0.6162 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.2112, allocations: 258.5 kB / 0.6165 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.2121, allocations: 191.1 kB / 0.6167 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.2143, allocations: 1.484 MB / 0.6181 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.2149, allocations: 0.9303 MB / 0.619 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003852/0.2153, allocations: 89.2 kB / 0.6191 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2154, allocations: 47.42 kB / 0.6191 GB, free: 11.03 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2154, allocations: 0 / 0.6191 GB, free: 11.03 MB / 478.1 MB Notification: Performance of Templates: time 0.01387/0.2293, allocations: 7.662 MB / 0.6266 GB, free: 3.449 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: