Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") [/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.1811/0.1832, allocations: 80.83 MB / 0.6706 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002659/0.1859, allocations: 1.459 MB / 0.672 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003272/0.1863, allocations: 103.7 kB / 0.6721 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.1863, allocations: 0 / 0.6721 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.1864, allocations: 3.938 kB / 0.6721 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1865, allocations: 11.88 kB / 0.6722 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1867, allocations: 19.97 kB / 0.6722 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1869, allocations: 51.84 kB / 0.6722 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.187, allocations: 4 kB / 0.6722 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.187, allocations: 27.91 kB / 0.6722 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.1871, allocations: 19.91 kB / 0.6723 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1871, allocations: 4 kB / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.1872, allocations: 19.98 kB / 0.6723 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.1873, allocations: 15.92 kB / 0.6723 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.1873, allocations: 19.88 kB / 0.6723 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1875, allocations: 63.73 kB / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1875, allocations: 4 kB / 0.6724 GB, free: 144 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1875, allocations: 0 / 0.6724 GB, free: 144 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1875, allocations: 3.938 kB / 0.6724 GB, free: 140 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005977/0.1881, allocations: 371.3 kB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1881, allocations: 12.03 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1882, allocations: 4.844 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1883, allocations: 176.2 kB / 0.6729 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1884, allocations: 8.375 kB / 0.6729 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1884, allocations: 4.375 kB / 0.6729 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1886, allocations: 81.53 kB / 0.673 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1887, allocations: 0 / 0.673 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1887, allocations: 0 / 0.673 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1887, allocations: 0 / 0.673 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.189, allocations: 79.92 kB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1894, allocations: 288.8 kB / 0.6734 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1896, allocations: 66.47 kB / 0.6734 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1898, allocations: 44.91 kB / 0.6735 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.19, allocations: 109.1 kB / 0.6736 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1901, allocations: 42.5 kB / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1901, allocations: 0 / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005836/0.1906, allocations: 141.6 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1907, allocations: 51.41 kB / 0.6738 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1908, allocations: 136 kB / 0.6739 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1908, allocations: 25.7 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.1909, allocations: 92.05 kB / 0.674 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.191, allocations: 11.89 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.191, allocations: 17.72 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1911, allocations: 318.8 kB / 0.6744 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1913, allocations: 39.95 kB / 0.6744 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1914, allocations: 31.97 kB / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.1917, allocations: 84.77 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1918, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003251/0.1921, allocations: 113.8 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1921, allocations: 4 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1921, allocations: 0 / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1921, allocations: 3.938 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1923, allocations: 23.97 kB / 0.6747 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1923, allocations: 0 / 0.6747 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.1924, allocations: 11.98 kB / 0.6747 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1924, allocations: 0 / 0.6747 GB, free: 13.55 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.325e-05/0.1925, allocations: 117.8 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1925, allocations: 4 kB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.1929, allocations: 121.5 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1929, allocations: 0 / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.193, allocations: 3.938 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.193, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1932, allocations: 193.4 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1932, allocations: 0 / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.1933, allocations: 19.92 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1933, allocations: 4 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1933, allocations: 4 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1933, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1933, allocations: 3.984 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.1937, allocations: 199.4 kB / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1938, allocations: 88.95 kB / 0.6754 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1938, allocations: 7.984 kB / 0.6754 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1939, allocations: 11.98 kB / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.1939, allocations: 0 / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1939, allocations: 4 kB / 0.6754 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.194, allocations: 107.2 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.194, allocations: 0 / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002191/0.1943, allocations: 12 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001558/0.1944, allocations: 113 kB / 0.6757 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.1948, allocations: 79.92 kB / 0.6757 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1948, allocations: 0 / 0.6757 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1949, allocations: 39.95 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1952, allocations: 9.875 kB / 0.6758 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.1956, allocations: 149.4 kB / 0.6759 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1958, allocations: 0.6923 MB / 0.6766 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.1958, allocations: 0 / 0.6766 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.1959, allocations: 11.44 kB / 0.6766 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1959, allocations: 0 / 0.6766 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.003346/0.1992, allocations: 0.8308 MB / 0.6774 GB, free: 10.59 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)