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.4142/0.4163, allocations: 80.81 MB / 0.5904 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004166/0.4205, allocations: 3.756 MB / 0.5941 GB, free: 19.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.4225, allocations: 1.39 MB / 0.5954 GB, free: 17.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.4229, allocations: 27.88 kB / 0.5954 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.4232, allocations: 132.1 kB / 0.5956 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.4237, allocations: 179.3 kB / 0.5957 GB, free: 17.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.4246, allocations: 0.5776 MB / 0.5963 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006828/0.4252, allocations: 0.9863 MB / 0.5973 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.4257, allocations: 373.8 kB / 0.5976 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.426, allocations: 370.3 kB / 0.598 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.4263, allocations: 381.8 kB / 0.5983 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.4264, allocations: 84 kB / 0.5984 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.4265, allocations: 84 kB / 0.5985 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.4267, allocations: 195.2 kB / 0.5987 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.4269, allocations: 401.5 kB / 0.5991 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.4276, allocations: 0.9109 MB / 0.6 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4276, allocations: 0 / 0.6 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4276, allocations: 4 kB / 0.6 GB, free: 13.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.4276, allocations: 0 / 0.6 GB, free: 13.01 MB / 446.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.001802/0.4294, allocations: 1.23 MB / 0.6012 GB, free: 11.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4295, allocations: 11.98 kB / 0.6012 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.4296, allocations: 103.7 kB / 0.6013 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.4302, allocations: 0.6011 MB / 0.6019 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.4303, allocations: 101.2 kB / 0.602 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.4303, allocations: 56.38 kB / 0.602 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.4312, allocations: 0.6461 MB / 0.6026 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4313, allocations: 0 / 0.6026 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.4313, allocations: 20 kB / 0.6027 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4313, allocations: 16 kB / 0.6027 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.4322, allocations: 488.9 kB / 0.6031 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.4345, allocations: 2.107 MB / 0.6052 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.4355, allocations: 0.5507 MB / 0.6057 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.4359, allocations: 221.5 kB / 0.606 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.436, allocations: 8.375 kB / 0.606 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007371/0.4367, allocations: 309.2 kB / 0.6063 GB, free: 6.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.786e-06/0.4367, allocations: 0 / 0.6063 GB, free: 6.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=47): time 0.001356/0.4381, allocations: 0.6894 MB / 0.6069 GB, free: 5.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.4382, allocations: 144.9 kB / 0.6071 GB, free: 5.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.4387, allocations: 0.6454 MB / 0.6077 GB, free: 4.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.4387, allocations: 41.7 kB / 0.6077 GB, free: 4.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4389, allocations: 368.9 kB / 0.6081 GB, free: 4.383 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.439, allocations: 165.6 kB / 0.6082 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.4392, allocations: 98.16 kB / 0.6083 GB, free: 4.117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.4392, allocations: 329.9 kB / 0.6087 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.4396, allocations: 215 kB / 0.6089 GB, free: 3.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.4401, allocations: 308.4 kB / 0.6092 GB, free: 3.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.4409, allocations: 0.5038 MB / 0.6096 GB, free: 2.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4409, allocations: 0 / 0.6096 GB, free: 2.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001023/0.4419, allocations: 0.6479 MB / 0.6103 GB, free: 2.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.442, allocations: 37.64 kB / 0.6103 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.442, allocations: 0 / 0.6103 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.442, allocations: 7.984 kB / 0.6103 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.4425, allocations: 116.1 kB / 0.6104 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4425, allocations: 4 kB / 0.6104 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.4429, allocations: 71.41 kB / 0.6105 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.4429, allocations: 23.92 kB / 0.6105 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003941/0.4433, allocations: 313.2 kB / 0.6108 GB, free: 1.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003089/0.4436, allocations: 276.3 kB / 0.6111 GB, free: 1.156 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005504/0.4442, allocations: 448 kB / 0.6115 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.4442, allocations: 0 / 0.6115 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0007573/0.4449, allocations: 0.5777 MB / 0.6121 GB, free: 100 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.445, allocations: 33.7 kB / 0.6121 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.445, allocations: 4 kB / 0.6121 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/0.445, allocations: 4 kB / 0.6121 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.4454, allocations: 99.83 kB / 0.6122 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4454, allocations: 4.25 kB / 0.6122 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.4458, allocations: 55.59 kB / 0.6123 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.4458, allocations: 24 kB / 0.6123 GB, free: 15.87 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.0001633/0.446, allocations: 208.1 kB / 0.6125 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.4461, allocations: 78.97 kB / 0.6126 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.4462, allocations: 92.02 kB / 0.6127 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4463, allocations: 4 kB / 0.6127 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4463, allocations: 0 / 0.6127 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4463, allocations: 7.984 kB / 0.6127 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.447, allocations: 0.6769 MB / 0.6133 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.447, allocations: 0 / 0.6133 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.4475, allocations: 87.88 kB / 0.6134 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4475, allocations: 0 / 0.6134 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4475, allocations: 12 kB / 0.6134 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.4476, allocations: 4 kB / 0.6134 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4476, allocations: 0 / 0.6134 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.4491, allocations: 0.8116 MB / 0.6142 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.4493, allocations: 211.9 kB / 0.6144 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.4494, allocations: 16.06 kB / 0.6144 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.4499, allocations: 43.95 kB / 0.6145 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.45, allocations: 32.39 kB / 0.6145 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.45, allocations: 19.98 kB / 0.6145 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004897/0.4505, allocations: 463 kB / 0.615 GB, free: 13.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4505, allocations: 0 / 0.615 GB, free: 13.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.4511, allocations: 239.2 kB / 0.6152 GB, free: 12.8 MB / 462.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.000133/0.4512, allocations: 115.1 kB / 0.6153 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.4529, allocations: 0.8487 MB / 0.6161 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4529, allocations: 0 / 0.6161 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.4534, allocations: 246.9 kB / 0.6164 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.4543, allocations: 213.9 kB / 0.6166 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.4563, allocations: 1.283 MB / 0.6178 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.4568, allocations: 0.9378 MB / 0.6187 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.4572, allocations: 85.06 kB / 0.6188 GB, free: 9.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4573, allocations: 47.44 kB / 0.6189 GB, free: 8.973 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4573, allocations: 0 / 0.6189 GB, free: 8.973 MB / 462.1 MB Notification: Performance of Templates: time 0.01413/0.4715, allocations: 8.449 MB / 0.6271 GB, free: 0.6133 MB / 462.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)