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.1627/0.1645, allocations: 80.84 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005699/0.1702, allocations: 3.757 MB / 0.5933 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.1732, allocations: 1.372 MB / 0.5947 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000564/0.1738, allocations: 31.88 kB / 0.5947 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.1743, allocations: 87.11 kB / 0.5948 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.175, allocations: 143 kB / 0.5949 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1761, allocations: 0.5385 MB / 0.5955 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.1771, allocations: 0.9173 MB / 0.5963 GB, free: 272 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.1777, allocations: 354.1 kB / 0.5967 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.1781, allocations: 338.2 kB / 0.597 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.1785, allocations: 337.9 kB / 0.5973 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.1786, allocations: 40 kB / 0.5974 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.1787, allocations: 40 kB / 0.5974 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.1788, allocations: 151.2 kB / 0.5976 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.1792, allocations: 365.5 kB / 0.5979 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.1799, allocations: 0.8563 MB / 0.5987 GB, free: 13.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1799, allocations: 0 / 0.5987 GB, free: 13.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1799, allocations: 4 kB / 0.5987 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.18, allocations: 0 / 0.5987 GB, free: 13.79 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.002157/0.1821, allocations: 1.241 MB / 0.6 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1822, allocations: 12.03 kB / 0.6 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.1824, allocations: 99.81 kB / 0.6001 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008204/0.1832, allocations: 0.5933 MB / 0.6006 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.1833, allocations: 101.3 kB / 0.6007 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.514e-05/0.1834, allocations: 56.38 kB / 0.6008 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.1846, allocations: 0.6461 MB / 0.6014 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1846, allocations: 0 / 0.6014 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.1847, allocations: 20 kB / 0.6014 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1847, allocations: 12 kB / 0.6015 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009644/0.1857, allocations: 488.9 kB / 0.6019 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.1885, allocations: 2.099 MB / 0.604 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.1897, allocations: 0.5553 MB / 0.6045 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.1902, allocations: 221.5 kB / 0.6047 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1902, allocations: 8.375 kB / 0.6047 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/0.1909, allocations: 313.2 kB / 0.605 GB, free: 7.105 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.1909, allocations: 0 / 0.605 GB, free: 7.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.001513/0.1925, allocations: 0.6894 MB / 0.6057 GB, free: 6.406 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.1925, allocations: 133 kB / 0.6058 GB, free: 6.246 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.1933, allocations: 0.6572 MB / 0.6065 GB, free: 5.578 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.1933, allocations: 41.64 kB / 0.6065 GB, free: 5.531 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.1936, allocations: 376.8 kB / 0.6069 GB, free: 5.156 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1937, allocations: 157.7 kB / 0.607 GB, free: 5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.1939, allocations: 102.1 kB / 0.6071 GB, free: 4.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.194, allocations: 329.9 kB / 0.6074 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.1945, allocations: 214.9 kB / 0.6076 GB, free: 4.352 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.195, allocations: 308 kB / 0.6079 GB, free: 4.023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.196, allocations: 0.4999 MB / 0.6084 GB, free: 3.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.196, allocations: 0 / 0.6084 GB, free: 3.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001181/0.1972, allocations: 0.6518 MB / 0.6091 GB, free: 2.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.1972, allocations: 35.73 kB / 0.6091 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1972, allocations: 4 kB / 0.6091 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1972, allocations: 4 kB / 0.6091 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.1977, allocations: 124 kB / 0.6092 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1977, allocations: 4 kB / 0.6092 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.1981, allocations: 67.5 kB / 0.6093 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.1982, allocations: 19.94 kB / 0.6093 GB, free: 2.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004771/0.1987, allocations: 313.2 kB / 0.6096 GB, free: 2.262 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003792/0.1991, allocations: 268.4 kB / 0.6099 GB, free: 1.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006903/0.1998, allocations: 452 kB / 0.6103 GB, free: 1.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.1998, allocations: 0 / 0.6103 GB, free: 1.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009061/0.2007, allocations: 0.5777 MB / 0.6109 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2007, allocations: 41.64 kB / 0.6109 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2007, allocations: 0 / 0.6109 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.2007, allocations: 11.94 kB / 0.6109 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.2011, allocations: 91.89 kB / 0.611 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2011, allocations: 4.25 kB / 0.611 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2015, allocations: 55.66 kB / 0.611 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.2015, allocations: 19.94 kB / 0.6111 GB, free: 0.668 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.2017, allocations: 216.6 kB / 0.6113 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.2018, allocations: 78.97 kB / 0.6113 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.2019, allocations: 88.02 kB / 0.6114 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2019, allocations: 8 kB / 0.6114 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.202, allocations: 0 / 0.6114 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.202, allocations: 4 kB / 0.6114 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.2026, allocations: 0.673 MB / 0.6121 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2026, allocations: 3.984 kB / 0.6121 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.2031, allocations: 91.83 kB / 0.6122 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2031, allocations: 0 / 0.6122 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.2031, allocations: 11.98 kB / 0.6122 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2031, allocations: 0 / 0.6122 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2031, allocations: 4 kB / 0.6122 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.2047, allocations: 0.8193 MB / 0.613 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.2049, allocations: 208 kB / 0.6132 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.205, allocations: 4 kB / 0.6132 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.2054, allocations: 43.95 kB / 0.6133 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.2055, allocations: 32.39 kB / 0.6133 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.2055, allocations: 15.98 kB / 0.6133 GB, free: 14.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004668/0.206, allocations: 467 kB / 0.6137 GB, free: 13.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.206, allocations: 0 / 0.6137 GB, free: 13.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.2065, allocations: 231.3 kB / 0.614 GB, free: 13.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/0.2067, allocations: 119.2 kB / 0.6141 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.2081, allocations: 0.8358 MB / 0.6149 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2081, allocations: 0 / 0.6149 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.2086, allocations: 239 kB / 0.6151 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.2095, allocations: 185.5 kB / 0.6153 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.2116, allocations: 1.558 MB / 0.6168 GB, free: 10.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.212, allocations: 0.9342 MB / 0.6177 GB, free: 9.668 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003464/0.2124, allocations: 97.03 kB / 0.6178 GB, free: 9.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.2125, allocations: 47.44 kB / 0.6179 GB, free: 9.523 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2125, allocations: 0 / 0.6179 GB, free: 9.523 MB / 478.1 MB Notification: Performance of Templates: time 0.01351/0.226, allocations: 8.02 MB / 0.6257 GB, free: 1.59 MB / 478.1 MB 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)