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.2142/0.2163, allocations: 80.84 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005548/0.222, allocations: 3.74 MB / 0.6743 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.2248, allocations: 1.395 MB / 0.6756 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.2252, allocations: 27.88 kB / 0.6756 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.2255, allocations: 130.5 kB / 0.6758 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005745/0.2262, allocations: 194.5 kB / 0.676 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2273, allocations: 0.583 MB / 0.6765 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009398/0.2282, allocations: 0.9993 MB / 0.6775 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/0.2288, allocations: 365.8 kB / 0.6778 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.2293, allocations: 386.3 kB / 0.6782 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.2297, allocations: 377.9 kB / 0.6786 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2299, allocations: 84 kB / 0.6787 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.23, allocations: 84 kB / 0.6787 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.2301, allocations: 191.2 kB / 0.6789 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.2305, allocations: 409.5 kB / 0.6793 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008501/0.2313, allocations: 0.9418 MB / 0.6802 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2313, allocations: 8 kB / 0.6802 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2313, allocations: 0 / 0.6802 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.2314, allocations: 0 / 0.6802 GB, free: 8.117 MB / 0.5137 GB 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.002095/0.2335, allocations: 1.23 MB / 0.6814 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2335, allocations: 12.03 kB / 0.6815 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2337, allocations: 107.7 kB / 0.6816 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.2346, allocations: 0.6245 MB / 0.6822 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.2348, allocations: 101.3 kB / 0.6823 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.2349, allocations: 56.38 kB / 0.6823 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2361, allocations: 0.6461 MB / 0.6829 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2362, allocations: 4 kB / 0.6829 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.2362, allocations: 28 kB / 0.683 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.2363, allocations: 12 kB / 0.683 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2373, allocations: 480.9 kB / 0.6834 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.2402, allocations: 2.088 MB / 0.6855 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.2416, allocations: 0.5576 MB / 0.686 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.2422, allocations: 217.5 kB / 0.6862 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.2423, allocations: 12.38 kB / 0.6862 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.243, allocations: 309.2 kB / 0.6865 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.243, allocations: 0 / 0.6865 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.001713/0.2447, allocations: 0.6855 MB / 0.6872 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.2448, allocations: 137 kB / 0.6873 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.2457, allocations: 0.661 MB / 0.688 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.2457, allocations: 37.7 kB / 0.688 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.246, allocations: 368.8 kB / 0.6884 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.2462, allocations: 157.7 kB / 0.6885 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.2463, allocations: 98.23 kB / 0.6886 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2465, allocations: 333.9 kB / 0.6889 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.247, allocations: 207 kB / 0.6891 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.2476, allocations: 312.3 kB / 0.6894 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2487, allocations: 0.5038 MB / 0.6899 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2487, allocations: 0 / 0.6899 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001373/0.2501, allocations: 0.6519 MB / 0.6906 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.2502, allocations: 33.7 kB / 0.6906 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2502, allocations: 0 / 0.6906 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.2502, allocations: 8 kB / 0.6906 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.2508, allocations: 107.9 kB / 0.6907 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.2508, allocations: 11.94 kB / 0.6907 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.2512, allocations: 71.59 kB / 0.6908 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.2513, allocations: 27.88 kB / 0.6908 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005764/0.2519, allocations: 313.2 kB / 0.6911 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004925/0.2524, allocations: 268.4 kB / 0.6914 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008195/0.2532, allocations: 448 kB / 0.6918 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.2532, allocations: 7.938 kB / 0.6918 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009799/0.2542, allocations: 0.5779 MB / 0.6924 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.2543, allocations: 29.7 kB / 0.6924 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.2543, allocations: 4 kB / 0.6924 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.2543, allocations: 8 kB / 0.6924 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.2547, allocations: 99.83 kB / 0.6925 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2547, allocations: 7.984 kB / 0.6925 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.2551, allocations: 55.56 kB / 0.6926 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.2551, allocations: 16 kB / 0.6926 GB, free: 10.98 MB / 0.5294 GB 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.0002021/0.2553, allocations: 220.8 kB / 0.6928 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2555, allocations: 79.16 kB / 0.6929 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.2556, allocations: 92 kB / 0.6929 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2556, allocations: 4 kB / 0.693 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.2557, allocations: 0 / 0.693 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2557, allocations: 0 / 0.693 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.2564, allocations: 0.673 MB / 0.6936 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2565, allocations: 0 / 0.6936 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.257, allocations: 95.88 kB / 0.6937 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.257, allocations: 4 kB / 0.6937 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.257, allocations: 11.98 kB / 0.6937 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.257, allocations: 0 / 0.6937 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.257, allocations: 0 / 0.6937 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2587, allocations: 0.8193 MB / 0.6945 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.2591, allocations: 204 kB / 0.6947 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.2592, allocations: 12 kB / 0.6947 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.2596, allocations: 43.95 kB / 0.6948 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.2597, allocations: 28.39 kB / 0.6948 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.2598, allocations: 19.98 kB / 0.6948 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005636/0.2603, allocations: 463 kB / 0.6953 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2603, allocations: 3.938 kB / 0.6953 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005979/0.2609, allocations: 235.3 kB / 0.6955 GB, free: 7.906 MB / 0.5294 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) * 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.0001504/0.2611, allocations: 103.2 kB / 0.6956 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.2628, allocations: 0.8441 MB / 0.6964 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2628, allocations: 4.062 kB / 0.6964 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.2633, allocations: 238.4 kB / 0.6966 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.2642, allocations: 205 kB / 0.6968 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2666, allocations: 1.273 MB / 0.6981 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.2671, allocations: 0.93 MB / 0.699 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003747/0.2675, allocations: 93.03 kB / 0.6991 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2677, allocations: 43.44 kB / 0.6991 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.2677, allocations: 4 kB / 0.6991 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.01873/0.2864, allocations: 8.558 MB / 0.7075 GB, free: 11.62 MB / 0.545 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)