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.2068/0.2089, allocations: 80.84 MB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002129/0.2111, allocations: 0.5548 MB / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.2114, allocations: 91.72 kB / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.2114, allocations: 0 / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.2114, allocations: 0 / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.2115, allocations: 0 / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2117, allocations: 15.92 kB / 0.6713 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.2118, allocations: 11.94 kB / 0.6713 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.2118, allocations: 7.984 kB / 0.6713 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.2119, allocations: 4 kB / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.2119, allocations: 0 / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.212, allocations: 3.984 kB / 0.6713 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.212, allocations: 19.98 kB / 0.6713 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.212, allocations: 0 / 0.6713 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.2121, allocations: 7.938 kB / 0.6713 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.04e-05/0.2122, allocations: 11.98 kB / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2122, allocations: 0 / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2122, allocations: 0 / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2122, allocations: 0 / 0.6714 GB, free: 1.262 MB / 0.4981 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.0003485/0.2125, allocations: 323.5 kB / 0.6717 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2126, allocations: 8.031 kB / 0.6717 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.2127, allocations: 8.922 kB / 0.6717 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2129, allocations: 168.4 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2129, allocations: 8.297 kB / 0.6718 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.2129, allocations: 384 / 0.6718 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.213, allocations: 41.91 kB / 0.6719 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.213, allocations: 4 kB / 0.6719 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2131, allocations: 4 kB / 0.6719 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2131, allocations: 0 / 0.6719 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.2131, allocations: 11.98 kB / 0.6719 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2133, allocations: 149.7 kB / 0.672 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.2135, allocations: 42.59 kB / 0.6721 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.2135, allocations: 16.91 kB / 0.6721 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2135, allocations: 7.938 kB / 0.6721 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2136, allocations: 38.5 kB / 0.6722 GB, free: 292 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.707e-06/0.2136, allocations: 0 / 0.6722 GB, free: 292 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001979/0.2138, allocations: 57.61 kB / 0.6722 GB, free: 228 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2138, allocations: 55.41 kB / 0.6723 GB, free: 160 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.2139, allocations: 89.86 kB / 0.6723 GB, free: 60 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.2139, allocations: 29.7 kB / 0.6724 GB, free: 24 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.2139, allocations: 80.14 kB / 0.6724 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.214, allocations: 15.8 kB / 0.6725 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.214, allocations: 17.72 kB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2142, allocations: 310.8 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.2142, allocations: 11.98 kB / 0.6728 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.2142, allocations: 4 kB / 0.6728 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.2143, allocations: 29.06 kB / 0.6728 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2143, allocations: 0 / 0.6728 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001083/0.2144, allocations: 57.59 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2145, allocations: 8 kB / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2145, allocations: 0 / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2145, allocations: 0 / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.2149, allocations: 43.94 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.2161, allocations: 1.4 MB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.2162, allocations: 3.938 kB / 0.6743 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.2162, allocations: 0 / 0.6743 GB, free: 13.88 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): 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 8.146e-05/0.2163, allocations: 122 kB / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.2163, allocations: 0 / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.2163, allocations: 7.484 kB / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2163, allocations: 0 / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.2163, allocations: 0 / 0.6744 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2163, allocations: 3.938 kB / 0.6744 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.2164, allocations: 149.7 kB / 0.6746 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2165, allocations: 0 / 0.6746 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.2168, allocations: 55.86 kB / 0.6746 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2168, allocations: 3.938 kB / 0.6746 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2168, allocations: 0 / 0.6746 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.218, allocations: 1.412 MB / 0.676 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.218, allocations: 0 / 0.676 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.2182, allocations: 85.11 kB / 0.6761 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.2182, allocations: 84.98 kB / 0.6762 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.2182, allocations: 0 / 0.6762 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.2183, allocations: 8 kB / 0.6762 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.2183, allocations: 4 kB / 0.6762 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.2183, allocations: 0 / 0.6762 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.2183, allocations: 75.28 kB / 0.6762 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2184, allocations: 0 / 0.6762 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001923/0.2185, allocations: 7.984 kB / 0.6763 GB, free: 11.64 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): 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.000151/0.2187, allocations: 95.25 kB / 0.6763 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.2191, allocations: 67.86 kB / 0.6764 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2192, allocations: 0 / 0.6764 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.2194, allocations: 43.95 kB / 0.6765 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.2195, allocations: 7.938 kB / 0.6765 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.22, allocations: 96.83 kB / 0.6766 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.2203, allocations: 0.6768 MB / 0.6772 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.2203, allocations: 0 / 0.6772 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.2204, allocations: 11.44 kB / 0.6772 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2204, allocations: 4 kB / 0.6772 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.002866/0.2233, allocations: 408.4 kB / 0.6776 GB, free: 10.18 MB / 0.5137 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)