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.7047/0.7047, allocations: 132.3 MB / 144.9 MB, free: 10.71 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.001164/0.001164, allocations: 175.6 kB / 176.9 MB, free: 2.121 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.338/1.338, allocations: 170.5 MB / 379.3 MB, free: 11.95 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.001586/0.001586, allocations: 103.7 kB / 450 MB, free: 5.848 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.3706/0.3706, allocations: 73.4 MB / 0.6736 GB, free: 47.69 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4922, allocations: 106.1 MB / 0.7773 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.4924, allocations: 71.97 kB / 0.7773 GB, free: 10.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05294/0.5454, allocations: 19.72 MB / 0.7966 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5454, allocations: 0 / 0.7966 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.273e-05/0.5455, allocations: 19.94 kB / 0.7966 GB, free: 6.754 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.00151/0.547, allocations: 0.9396 MB / 0.7975 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5471, allocations: 8.031 kB / 0.7975 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.5472, allocations: 98.56 kB / 0.7976 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.5482, allocations: 0.5737 MB / 0.7982 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.5483, allocations: 96.39 kB / 0.7983 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.5484, allocations: 51.91 kB / 0.7983 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.5492, allocations: 0.5238 MB / 0.7988 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5493, allocations: 0 / 0.7988 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.5493, allocations: 20 kB / 0.7989 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.5494, allocations: 12 kB / 0.7989 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.5499, allocations: 345.6 kB / 0.7992 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.5523, allocations: 1.503 MB / 0.8007 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.5531, allocations: 448.5 kB / 0.8011 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.5534, allocations: 168.8 kB / 0.8013 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.5534, allocations: 4 kB / 0.8013 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.5538, allocations: 238.2 kB / 0.8015 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 1.743e-06/0.5538, allocations: 0 / 0.8015 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0006472/0.5545, allocations: 417.3 kB / 0.8019 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5546, allocations: 217.6 kB / 0.8021 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.5551, allocations: 499.7 kB / 0.8026 GB, free: 388 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.5552, allocations: 33.7 kB / 0.8026 GB, free: 348 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.5554, allocations: 320.4 kB / 0.8029 GB, free: 24 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.5555, allocations: 149.8 kB / 0.803 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.5556, allocations: 8 kB / 0.8031 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5557, allocations: 376.5 kB / 0.8034 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.5559, allocations: 141 kB / 0.8035 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.5563, allocations: 233.2 kB / 0.8038 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.5565, allocations: 179.3 kB / 0.8039 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5565, allocations: 7.938 kB / 0.8039 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006959/0.5572, allocations: 488.9 kB / 0.8044 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5573, allocations: 34.8 kB / 0.8044 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5573, allocations: 0 / 0.8044 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5573, allocations: 7.953 kB / 0.8045 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.5578, allocations: 107.9 kB / 0.8046 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5578, allocations: 0 / 0.8046 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.5582, allocations: 83.48 kB / 0.8046 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.5583, allocations: 16 kB / 0.8047 GB, free: 14.18 MB / 0.5105 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.0001383/0.5584, allocations: 136.9 kB / 0.8048 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.5585, allocations: 71.14 kB / 0.8049 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.5587, allocations: 70.3 kB / 0.8049 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5587, allocations: 4.844 kB / 0.8049 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5587, allocations: 3.953 kB / 0.8049 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5587, allocations: 0 / 0.8049 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.5593, allocations: 0.6259 MB / 0.8055 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5593, allocations: 0 / 0.8055 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.5598, allocations: 99.88 kB / 0.8056 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5598, allocations: 0 / 0.8056 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.5598, allocations: 8 kB / 0.8056 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5598, allocations: 0 / 0.8056 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5598, allocations: 7.625 kB / 0.8056 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.5608, allocations: 0.6387 MB / 0.8063 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.561, allocations: 204.2 kB / 0.8065 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.5611, allocations: 8 kB / 0.8065 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.5616, allocations: 71.88 kB / 0.8065 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.5617, allocations: 31.95 kB / 0.8066 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.5617, allocations: 15.98 kB / 0.8066 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003993/0.5621, allocations: 395.1 kB / 0.807 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5621, allocations: 0 / 0.807 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003589/0.5625, allocations: 131.6 kB / 0.8071 GB, free: 11.59 MB / 0.5105 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.0001521/0.5627, allocations: 120 kB / 0.8072 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.5633, allocations: 418.2 kB / 0.8076 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5633, allocations: 8 kB / 0.8076 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.5636, allocations: 187.8 kB / 0.8078 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.5642, allocations: 139.4 kB / 0.8079 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.5656, allocations: 0.8125 MB / 0.8087 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.566, allocations: 0.9174 MB / 0.8096 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002761/0.5663, allocations: 78.53 kB / 0.8097 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.5664, allocations: 43.42 kB / 0.8097 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.5664, allocations: 0 / 0.8097 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of Templates: time 0.01214/0.5786, allocations: 7.008 MB / 0.8166 GB, free: 1.922 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)