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.1733/0.1741, allocations: 82.21 MB / 0.5934 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004042/0.1782, allocations: 3.158 MB / 0.5964 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.1809, allocations: 1.283 MB / 0.5977 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.1817, allocations: 23.81 kB / 0.5977 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.1819, allocations: 55.38 kB / 0.5978 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.1828, allocations: 191.3 kB / 0.5979 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.184, allocations: 460.8 kB / 0.5984 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1853, allocations: 0.6139 MB / 0.599 GB, free: 244 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.1858, allocations: 271.4 kB / 0.5992 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.1864, allocations: 286.6 kB / 0.5995 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005725/0.187, allocations: 278.3 kB / 0.5998 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.1871, allocations: 20 kB / 0.5998 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.1872, allocations: 28 kB / 0.5998 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.1874, allocations: 115.4 kB / 0.5999 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.1876, allocations: 149.2 kB / 0.6001 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.1883, allocations: 0.6586 MB / 0.6007 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1884, allocations: 0 / 0.6007 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1884, allocations: 0 / 0.6007 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1884, allocations: 0 / 0.6007 GB, free: 14.43 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.00219/0.1906, allocations: 1.116 MB / 0.6018 GB, free: 13.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1906, allocations: 8.031 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.1909, allocations: 98.78 kB / 0.6019 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.1918, allocations: 0.5615 MB / 0.6025 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.192, allocations: 112.7 kB / 0.6026 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.192, allocations: 52 kB / 0.6026 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.1932, allocations: 0.6616 MB / 0.6033 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1932, allocations: 0 / 0.6033 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.1933, allocations: 24 kB / 0.6033 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1933, allocations: 12 kB / 0.6033 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1944, allocations: 0.5087 MB / 0.6038 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.1981, allocations: 2.119 MB / 0.6059 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.1995, allocations: 0.6257 MB / 0.6065 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.1996, allocations: 8.375 kB / 0.6065 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007997/0.2004, allocations: 341.1 kB / 0.6068 GB, free: 7.949 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 4.127e-06/0.2004, allocations: 0 / 0.6068 GB, free: 7.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.001591/0.202, allocations: 0.7325 MB / 0.6075 GB, free: 7.211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.2021, allocations: 136.9 kB / 0.6077 GB, free: 7.047 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.2028, allocations: 0.6533 MB / 0.6083 GB, free: 6.383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.2029, allocations: 33.7 kB / 0.6083 GB, free: 6.344 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.2032, allocations: 376.7 kB / 0.6087 GB, free: 5.969 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.2034, allocations: 165.6 kB / 0.6088 GB, free: 5.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.2034, allocations: 12 kB / 0.6089 GB, free: 5.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2036, allocations: 325.9 kB / 0.6092 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.204, allocations: 217 kB / 0.6094 GB, free: 5.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.2046, allocations: 324.4 kB / 0.6097 GB, free: 4.906 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.2051, allocations: 267.8 kB / 0.6099 GB, free: 4.641 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2051, allocations: 0 / 0.6099 GB, free: 4.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001213/0.2063, allocations: 0.6754 MB / 0.6106 GB, free: 3.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.2067, allocations: 0.8252 MB / 0.6114 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2067, allocations: 4 kB / 0.6114 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2067, allocations: 4 kB / 0.6114 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.2072, allocations: 123.8 kB / 0.6115 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2073, allocations: 4 kB / 0.6115 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.2077, allocations: 83.39 kB / 0.6116 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.2078, allocations: 24 kB / 0.6116 GB, free: 2.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/0.2078, allocations: 0 / 0.6116 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008224/0.2086, allocations: 0.4991 MB / 0.6121 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.2086, allocations: 0 / 0.6121 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.2086, allocations: 8.047 kB / 0.6121 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.209, allocations: 103.8 kB / 0.6122 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.209, allocations: 8 kB / 0.6122 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2094, allocations: 59.52 kB / 0.6123 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2094, allocations: 16 kB / 0.6123 GB, free: 2.121 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.0003006/0.2097, allocations: 281 kB / 0.6126 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.2098, allocations: 78.97 kB / 0.6127 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.21, allocations: 92.02 kB / 0.6127 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.21, allocations: 4 kB / 0.6127 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.21, allocations: 0 / 0.6127 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.21, allocations: 3.984 kB / 0.6127 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006874/0.2107, allocations: 0.673 MB / 0.6134 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2107, allocations: 3.938 kB / 0.6134 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.2112, allocations: 103.9 kB / 0.6135 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2112, allocations: 0 / 0.6135 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.2112, allocations: 12 kB / 0.6135 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2112, allocations: 4 kB / 0.6135 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2112, allocations: 0 / 0.6135 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.2128, allocations: 0.8662 MB / 0.6144 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.2131, allocations: 204 kB / 0.6146 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.2132, allocations: 15.98 kB / 0.6146 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.2136, allocations: 59.95 kB / 0.6146 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.2137, allocations: 32.39 kB / 0.6147 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.2137, allocations: 15.98 kB / 0.6147 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000474/0.2142, allocations: 451 kB / 0.6151 GB, free: 15.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.2142, allocations: 0 / 0.6151 GB, free: 15.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.2148, allocations: 243.2 kB / 0.6153 GB, free: 14.91 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.0001328/0.2149, allocations: 111.2 kB / 0.6155 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2164, allocations: 0.867 MB / 0.6163 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2164, allocations: 0 / 0.6163 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.2169, allocations: 263 kB / 0.6165 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.2177, allocations: 190.8 kB / 0.6167 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.2197, allocations: 1.479 MB / 0.6182 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.2201, allocations: 0.9537 MB / 0.6191 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002915/0.2204, allocations: 85.06 kB / 0.6192 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.2206, allocations: 47.42 kB / 0.6192 GB, free: 10.86 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2206, allocations: 4 kB / 0.6192 GB, free: 10.85 MB / 478.1 MB Notification: Performance of Templates: time 0.01453/0.2351, allocations: 7.649 MB / 0.6267 GB, free: 3.289 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: