Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [/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.1848/0.1869, allocations: 80.83 MB / 0.6706 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00174/0.1887, allocations: 0.5679 MB / 0.6712 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002658/0.189, allocations: 91.72 kB / 0.6713 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.189, allocations: 0 / 0.6713 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.189, allocations: 0 / 0.6713 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.1891, allocations: 0 / 0.6713 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.1893, allocations: 15.98 kB / 0.6713 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.1894, allocations: 11.92 kB / 0.6713 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1894, allocations: 0 / 0.6713 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.1894, allocations: 4 kB / 0.6713 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.1895, allocations: 11.92 kB / 0.6713 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1896, allocations: 0 / 0.6713 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.697e-05/0.1896, allocations: 15.98 kB / 0.6713 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1896, allocations: 0 / 0.6713 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.1897, allocations: 4 kB / 0.6713 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.1898, allocations: 19.97 kB / 0.6714 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1898, allocations: 0 / 0.6714 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1898, allocations: 0 / 0.6714 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.1898, allocations: 0 / 0.6714 GB, free: 3.848 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003132/0.1901, allocations: 327.5 kB / 0.6717 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1901, allocations: 12.03 kB / 0.6717 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.1903, allocations: 8.922 kB / 0.6717 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.1904, allocations: 160.4 kB / 0.6718 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1904, allocations: 4.375 kB / 0.6718 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.1904, allocations: 384 / 0.6719 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1906, allocations: 41.62 kB / 0.6719 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1906, allocations: 3.984 kB / 0.6719 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1906, allocations: 0 / 0.6719 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1906, allocations: 8 kB / 0.6719 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.1907, allocations: 11.92 kB / 0.6719 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.1908, allocations: 157.6 kB / 0.6721 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.191, allocations: 42.59 kB / 0.6721 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.1911, allocations: 12.92 kB / 0.6721 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1911, allocations: 7.938 kB / 0.6721 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1911, allocations: 34.55 kB / 0.6722 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1911, allocations: 0 / 0.6722 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002286/0.1914, allocations: 53.81 kB / 0.6722 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1914, allocations: 51.41 kB / 0.6723 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.1915, allocations: 89.86 kB / 0.6723 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1915, allocations: 33.7 kB / 0.6724 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.1915, allocations: 88.12 kB / 0.6725 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1916, allocations: 7.812 kB / 0.6725 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1916, allocations: 13.72 kB / 0.6725 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1917, allocations: 314.8 kB / 0.6728 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.1918, allocations: 7.984 kB / 0.6728 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.1918, allocations: 7.984 kB / 0.6728 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/0.1919, allocations: 24.78 kB / 0.6728 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1919, allocations: 0 / 0.6728 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001074/0.192, allocations: 53.62 kB / 0.6729 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.192, allocations: 8 kB / 0.6729 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1921, allocations: 7.969 kB / 0.6729 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1921, allocations: 0 / 0.6729 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.1925, allocations: 39.94 kB / 0.6729 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.1937, allocations: 1.404 MB / 0.6743 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.1938, allocations: 7.875 kB / 0.6743 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1938, allocations: 4 kB / 0.6743 GB, free: 480 kB / 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.1939, allocations: 110.6 kB / 0.6744 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.1939, allocations: 4 kB / 0.6744 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.225e-05/0.1939, allocations: 3.5 kB / 0.6744 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1939, allocations: 0 / 0.6744 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1939, allocations: 0 / 0.6744 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1939, allocations: 3.938 kB / 0.6744 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.194, allocations: 153.7 kB / 0.6746 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.194, allocations: 0 / 0.6746 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.1944, allocations: 51.92 kB / 0.6746 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1944, allocations: 0 / 0.6746 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1944, allocations: 0 / 0.6746 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.1955, allocations: 1.416 MB / 0.676 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1955, allocations: 0 / 0.676 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1957, allocations: 73.09 kB / 0.6761 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.1957, allocations: 92.97 kB / 0.6762 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-06/0.1957, allocations: 0 / 0.6762 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.561e-05/0.1958, allocations: 3.938 kB / 0.6762 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1958, allocations: 8.062 kB / 0.6762 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1958, allocations: 0 / 0.6762 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.1958, allocations: 75.28 kB / 0.6762 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1958, allocations: 0 / 0.6762 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001932/0.196, allocations: 8 kB / 0.6763 GB, free: 14.24 MB / 0.5294 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.1962, allocations: 99.23 kB / 0.6763 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.1966, allocations: 59.92 kB / 0.6764 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1967, allocations: 3.938 kB / 0.6764 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1969, allocations: 35.95 kB / 0.6764 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.197, allocations: 3.938 kB / 0.6764 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1974, allocations: 108.8 kB / 0.6765 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1977, allocations: 0.6768 MB / 0.6772 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.1977, allocations: 3.938 kB / 0.6772 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.1977, allocations: 11.44 kB / 0.6772 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1977, allocations: 0 / 0.6772 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.002361/0.2001, allocations: 409.4 kB / 0.6776 GB, free: 12.78 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)