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.1858/0.1865, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007242/0.1873, allocations: 290.8 kB / 0.5936 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.1875, allocations: 79.86 kB / 0.5937 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.1876, allocations: 0 / 0.5937 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.008e-05/0.1876, allocations: 0 / 0.5937 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.1876, allocations: 4 kB / 0.5937 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1878, allocations: 19.91 kB / 0.5937 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.1879, allocations: 11.88 kB / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.1879, allocations: 3.984 kB / 0.5938 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.188, allocations: 4 kB / 0.5938 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.188, allocations: 0 / 0.5938 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1881, allocations: 0 / 0.5938 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.1881, allocations: 15.98 kB / 0.5938 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.1881, allocations: 0 / 0.5938 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.1882, allocations: 25.7 kB / 0.5938 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.904e-05/0.1882, allocations: 19.97 kB / 0.5938 GB, free: 5.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1883, allocations: 0 / 0.5938 GB, free: 5.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1883, allocations: 0 / 0.5938 GB, free: 5.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1883, allocations: 0 / 0.5938 GB, free: 5.531 MB / 446.1 MB 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.0003044/0.1886, allocations: 314.8 kB / 0.5941 GB, free: 5.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1886, allocations: 12.02 kB / 0.5941 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1888, allocations: 7.984 kB / 0.5941 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.1889, allocations: 171 kB / 0.5943 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1889, allocations: 0 / 0.5943 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1889, allocations: 8 kB / 0.5943 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1891, allocations: 37.64 kB / 0.5943 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1891, allocations: 0 / 0.5943 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1891, allocations: 0 / 0.5943 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1891, allocations: 0 / 0.5943 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.1892, allocations: 15.98 kB / 0.5944 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.1894, allocations: 161.5 kB / 0.5945 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1895, allocations: 46.53 kB / 0.5946 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1896, allocations: 0 / 0.5946 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1896, allocations: 34.72 kB / 0.5946 GB, free: 4.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.1896, allocations: 0 / 0.5946 GB, free: 4.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002092/0.1898, allocations: 57.62 kB / 0.5947 GB, free: 4.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1899, allocations: 55.41 kB / 0.5947 GB, free: 4.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.839e-05/0.1899, allocations: 93.86 kB / 0.5948 GB, free: 4.352 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1899, allocations: 29.64 kB / 0.5948 GB, free: 4.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.19, allocations: 84.12 kB / 0.5949 GB, free: 4.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1901, allocations: 3.906 kB / 0.5949 GB, free: 4.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.1901, allocations: 0 / 0.5949 GB, free: 4.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1902, allocations: 318.8 kB / 0.5952 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.1903, allocations: 0 / 0.5952 GB, free: 3.906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.1903, allocations: 7.984 kB / 0.5952 GB, free: 3.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.1904, allocations: 12 kB / 0.5952 GB, free: 3.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1904, allocations: 4 kB / 0.5952 GB, free: 3.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001007/0.1905, allocations: 49.67 kB / 0.5953 GB, free: 3.828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1905, allocations: 4 kB / 0.5953 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1905, allocations: 3.938 kB / 0.5953 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1905, allocations: 0 / 0.5953 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.1909, allocations: 47.89 kB / 0.5953 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1922, allocations: 1.317 MB / 0.5966 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/0.1923, allocations: 0 / 0.5966 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1923, allocations: 4.031 kB / 0.5966 GB, free: 2.32 MB / 446.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.1924, allocations: 114 kB / 0.5967 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-06/0.1924, allocations: 0 / 0.5967 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.1924, allocations: 3.5 kB / 0.5967 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1924, allocations: 15.88 kB / 0.5968 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1924, allocations: 0 / 0.5968 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1924, allocations: 0 / 0.5968 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.206e-05/0.1925, allocations: 149.7 kB / 0.5969 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1925, allocations: 336 / 0.5969 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.1929, allocations: 47.92 kB / 0.5969 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1929, allocations: 0 / 0.5969 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1929, allocations: 0 / 0.5969 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.1941, allocations: 1.329 MB / 0.5982 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1941, allocations: 256 / 0.5982 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1943, allocations: 73.16 kB / 0.5983 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1943, allocations: 81.09 kB / 0.5984 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-06/0.1943, allocations: 0 / 0.5984 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.1944, allocations: 4 kB / 0.5984 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.1944, allocations: 3.953 kB / 0.5984 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1944, allocations: 0 / 0.5984 GB, free: 288 kB / 446.1 MB Notification: Performance of sorting global known variables: time 9.568e-05/0.1945, allocations: 79.28 kB / 0.5985 GB, free: 208 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1945, allocations: 4 kB / 0.5985 GB, free: 204 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.1947, allocations: 0 / 0.5985 GB, free: 204 kB / 446.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001116/0.1948, allocations: 107.2 kB / 0.5986 GB, free: 88 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004208/0.1952, allocations: 55.92 kB / 0.5986 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1952, allocations: 0 / 0.5986 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.1955, allocations: 40 kB / 0.5987 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.1956, allocations: 0 / 0.5987 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.1959, allocations: 105.9 kB / 0.5988 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1961, allocations: 0.677 MB / 0.5994 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.938e-05/0.1962, allocations: 4 kB / 0.5994 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.1962, allocations: 7.438 kB / 0.5994 GB, free: 15.15 MB / 462.1 MB Notification: Performance of SimCode: time 2.705e-06/0.1962, allocations: 0 / 0.5994 GB, free: 15.15 MB / 462.1 MB Notification: Performance of Templates: time 0.002183/0.1984, allocations: 392.4 kB / 0.5998 GB, free: 14.77 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: