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.1944/0.1964, allocations: 80.83 MB / 0.6706 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002049/0.1985, allocations: 0.5587 MB / 0.6712 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.1989, allocations: 87.73 kB / 0.6713 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.1989, allocations: 0 / 0.6713 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1989, allocations: 3.938 kB / 0.6713 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.199, allocations: 0 / 0.6713 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1992, allocations: 19.92 kB / 0.6713 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.281e-05/0.1993, allocations: 7.984 kB / 0.6713 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.1994, allocations: 4 kB / 0.6713 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.1994, allocations: 3.984 kB / 0.6713 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.1995, allocations: 12 kB / 0.6713 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1995, allocations: 0 / 0.6713 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.1996, allocations: 11.98 kB / 0.6713 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.1996, allocations: 4 kB / 0.6713 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.1996, allocations: 3.938 kB / 0.6713 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1997, allocations: 19.86 kB / 0.6714 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1998, allocations: 0 / 0.6714 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/0.1998, allocations: 3.984 kB / 0.6714 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1998, allocations: 0 / 0.6714 GB, free: 1.406 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.0004262/0.2002, allocations: 319.5 kB / 0.6717 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2003, allocations: 12.03 kB / 0.6717 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.2004, allocations: 12.88 kB / 0.6717 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2006, allocations: 168.3 kB / 0.6719 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2006, allocations: 384 / 0.6719 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.2006, allocations: 384 / 0.6719 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.2007, allocations: 45.97 kB / 0.6719 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2008, allocations: 0 / 0.6719 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2008, allocations: 3.984 kB / 0.6719 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2008, allocations: 4 kB / 0.6719 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.2009, allocations: 15.98 kB / 0.6719 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.201, allocations: 153.7 kB / 0.6721 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2012, allocations: 42.5 kB / 0.6721 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.2013, allocations: 16.84 kB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2013, allocations: 11.94 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.001e-05/0.2014, allocations: 30.56 kB / 0.6722 GB, free: 436 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2014, allocations: 0 / 0.6722 GB, free: 436 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002226/0.2016, allocations: 57.67 kB / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2017, allocations: 55.34 kB / 0.6723 GB, free: 304 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.2018, allocations: 89.86 kB / 0.6724 GB, free: 204 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2018, allocations: 25.7 kB / 0.6724 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.2018, allocations: 84.14 kB / 0.6725 GB, free: 84 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.2018, allocations: 7.953 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2019, allocations: 17.72 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.2022, allocations: 314.8 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.2022, allocations: 4 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.2022, allocations: 11.98 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.2023, allocations: 20.86 kB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2023, allocations: 4 kB / 0.6728 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001214/0.2025, allocations: 53.61 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2025, allocations: 4.781 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2025, allocations: 3.938 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2025, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.203, allocations: 43.94 kB / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.2044, allocations: 1.397 MB / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.2044, allocations: 3.938 kB / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2044, allocations: 7.969 kB / 0.6743 GB, free: 14.03 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.491e-05/0.2045, allocations: 113.9 kB / 0.6744 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.2045, allocations: 15.86 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.2045, allocations: 7.5 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2046, allocations: 4 kB / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.2046, allocations: 0 / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2046, allocations: 3.938 kB / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2047, allocations: 153.7 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2047, allocations: 0 / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.205, allocations: 47.94 kB / 0.6746 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.205, allocations: 0 / 0.6746 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2051, allocations: 4 kB / 0.6746 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.2064, allocations: 1.408 MB / 0.676 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2064, allocations: 3.938 kB / 0.676 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.2066, allocations: 69.14 kB / 0.6761 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.2066, allocations: 81.05 kB / 0.6762 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-06/0.2066, allocations: 4 kB / 0.6762 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.2067, allocations: 64 / 0.6762 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.2067, allocations: 11.98 kB / 0.6762 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2067, allocations: 0 / 0.6762 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.2067, allocations: 79.22 kB / 0.6763 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2068, allocations: 4 kB / 0.6763 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001846/0.2069, allocations: 0 / 0.6763 GB, free: 11.8 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.0001218/0.2071, allocations: 99.19 kB / 0.6764 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.2075, allocations: 67.91 kB / 0.6764 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2075, allocations: 0 / 0.6764 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.2078, allocations: 31.97 kB / 0.6764 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2079, allocations: 15.92 kB / 0.6765 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.2082, allocations: 95.84 kB / 0.6766 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2086, allocations: 0.6729 MB / 0.6772 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.2086, allocations: 240 / 0.6772 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.2087, allocations: 11.44 kB / 0.6772 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2087, allocations: 0 / 0.6772 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.002518/0.2112, allocations: 422.6 kB / 0.6776 GB, free: 10.34 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)