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.1834/0.1855, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006681/0.1923, allocations: 3.752 MB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003743/0.196, allocations: 1.399 MB / 0.6756 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.1971, allocations: 23.88 kB / 0.6756 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.1977, allocations: 134.5 kB / 0.6758 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.1991, allocations: 186.5 kB / 0.676 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.2014, allocations: 0.5741 MB / 0.6765 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002809/0.2042, allocations: 0.9954 MB / 0.6775 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2054, allocations: 365.8 kB / 0.6778 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.2067, allocations: 386.3 kB / 0.6782 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006223/0.2074, allocations: 373.9 kB / 0.6786 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.2075, allocations: 84 kB / 0.6786 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.2077, allocations: 84 kB / 0.6787 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.2079, allocations: 195.2 kB / 0.6789 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.2085, allocations: 405.5 kB / 0.6793 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2097, allocations: 0.9418 MB / 0.6802 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2097, allocations: 4 kB / 0.6802 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2097, allocations: 0 / 0.6802 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.2098, allocations: 0 / 0.6802 GB, free: 8.094 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.002679/0.2125, allocations: 1.238 MB / 0.6814 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.2125, allocations: 12.03 kB / 0.6814 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.2127, allocations: 99.72 kB / 0.6815 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.2139, allocations: 0.6245 MB / 0.6821 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.2141, allocations: 109.2 kB / 0.6822 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2142, allocations: 56.38 kB / 0.6823 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.2154, allocations: 0.65 MB / 0.6829 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.2155, allocations: 3.938 kB / 0.6829 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.2155, allocations: 20 kB / 0.683 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.2155, allocations: 16 kB / 0.683 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2166, allocations: 480.9 kB / 0.6834 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.2198, allocations: 2.084 MB / 0.6855 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.2211, allocations: 0.5624 MB / 0.686 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.2215, allocations: 217.5 kB / 0.6862 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.2216, allocations: 4.375 kB / 0.6862 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000693/0.2223, allocations: 317.2 kB / 0.6865 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.2223, allocations: 0 / 0.6865 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.001621/0.2239, allocations: 0.6856 MB / 0.6872 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.224, allocations: 133 kB / 0.6873 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/0.2248, allocations: 0.661 MB / 0.688 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.2249, allocations: 37.7 kB / 0.688 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.2252, allocations: 368.8 kB / 0.6884 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.2253, allocations: 161.7 kB / 0.6885 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.2255, allocations: 102.2 kB / 0.6886 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2256, allocations: 329.9 kB / 0.6889 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.2261, allocations: 207 kB / 0.6891 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.2267, allocations: 312.3 kB / 0.6894 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.2276, allocations: 0.4999 MB / 0.6899 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2277, allocations: 0 / 0.6899 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001265/0.2289, allocations: 0.6519 MB / 0.6905 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.229, allocations: 33.7 kB / 0.6906 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.229, allocations: 4 kB / 0.6906 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.229, allocations: 4 kB / 0.6906 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.2295, allocations: 119.8 kB / 0.6907 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2295, allocations: 4 kB / 0.6907 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.23, allocations: 75.59 kB / 0.6908 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.23, allocations: 19.94 kB / 0.6908 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004852/0.2305, allocations: 313.2 kB / 0.6911 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004164/0.2309, allocations: 276.3 kB / 0.6914 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000691/0.2316, allocations: 448 kB / 0.6918 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.2316, allocations: 0 / 0.6918 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009369/0.2326, allocations: 0.5778 MB / 0.6924 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.2326, allocations: 33.7 kB / 0.6924 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.2326, allocations: 0 / 0.6924 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.2326, allocations: 8 kB / 0.6924 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.2331, allocations: 95.83 kB / 0.6925 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2331, allocations: 7.938 kB / 0.6925 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.2334, allocations: 55.56 kB / 0.6925 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.2335, allocations: 20 kB / 0.6926 GB, free: 10.95 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.0001867/0.2337, allocations: 220.9 kB / 0.6928 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.2338, allocations: 75.06 kB / 0.6928 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.234, allocations: 88.02 kB / 0.6929 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.234, allocations: 8 kB / 0.6929 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.234, allocations: 0 / 0.6929 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.234, allocations: 0 / 0.6929 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007739/0.2348, allocations: 0.673 MB / 0.6936 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2348, allocations: 0 / 0.6936 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.2353, allocations: 95.88 kB / 0.6937 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2353, allocations: 0 / 0.6937 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.2353, allocations: 11.98 kB / 0.6937 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2353, allocations: 7.938 kB / 0.6937 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2353, allocations: 0 / 0.6937 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.2369, allocations: 0.8155 MB / 0.6945 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.2372, allocations: 204 kB / 0.6947 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.2373, allocations: 4 kB / 0.6947 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.2377, allocations: 47.95 kB / 0.6947 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2379, allocations: 32.39 kB / 0.6948 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.2379, allocations: 15.98 kB / 0.6948 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005199/0.2384, allocations: 467 kB / 0.6952 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2384, allocations: 0 / 0.6952 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006096/0.2391, allocations: 231.3 kB / 0.6955 GB, free: 7.887 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.0001598/0.2392, allocations: 115.2 kB / 0.6956 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.2408, allocations: 0.8401 MB / 0.6964 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2408, allocations: 0 / 0.6964 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.2413, allocations: 238.4 kB / 0.6966 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.2423, allocations: 218.8 kB / 0.6968 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2445, allocations: 1.265 MB / 0.6981 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.245, allocations: 0.9378 MB / 0.699 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.2453, allocations: 96.97 kB / 0.6991 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.2455, allocations: 51.44 kB / 0.6991 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.2455, allocations: 0 / 0.6991 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.01574/0.2612, allocations: 8.755 MB / 0.7077 GB, free: 11.38 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)