Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.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.1719/0.1738, allocations: 80.84 MB / 0.5899 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002414/0.1763, allocations: 1.482 MB / 0.5913 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.1765, allocations: 67.83 kB / 0.5914 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.1766, allocations: 0 / 0.5914 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.1766, allocations: 7.938 kB / 0.5914 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.1767, allocations: 3.938 kB / 0.5914 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.1769, allocations: 15.98 kB / 0.5914 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.1769, allocations: 23.92 kB / 0.5914 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.177, allocations: 8 kB / 0.5914 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.1771, allocations: 7.984 kB / 0.5915 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.1771, allocations: 15.92 kB / 0.5915 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1771, allocations: 0 / 0.5915 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.1772, allocations: 15.98 kB / 0.5915 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1772, allocations: 8 kB / 0.5915 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.1773, allocations: 15.86 kB / 0.5915 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.89e-05/0.1774, allocations: 28.19 kB / 0.5915 GB, free: 5.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1774, allocations: 0 / 0.5915 GB, free: 5.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1774, allocations: 4 kB / 0.5915 GB, free: 5.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1774, allocations: 0 / 0.5915 GB, free: 5.277 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.0004084/0.1778, allocations: 343.4 kB / 0.5919 GB, free: 4.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1779, allocations: 16.02 kB / 0.5919 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.178, allocations: 24.77 kB / 0.5919 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.1781, allocations: 168.4 kB / 0.5921 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1782, allocations: 4.375 kB / 0.5921 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1782, allocations: 4.375 kB / 0.5921 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1784, allocations: 57.78 kB / 0.5921 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1784, allocations: 0 / 0.5921 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1784, allocations: 4 kB / 0.5921 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1784, allocations: 0 / 0.5921 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.1786, allocations: 51.89 kB / 0.5922 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.179, allocations: 264.9 kB / 0.5924 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1791, allocations: 50.55 kB / 0.5925 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1792, allocations: 32.89 kB / 0.5925 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1793, allocations: 4 kB / 0.5925 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1793, allocations: 30.56 kB / 0.5925 GB, free: 4.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1793, allocations: 0 / 0.5925 GB, free: 4.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003948/0.1797, allocations: 109.5 kB / 0.5926 GB, free: 3.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1797, allocations: 55.53 kB / 0.5927 GB, free: 3.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.1798, allocations: 105.8 kB / 0.5928 GB, free: 3.789 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1799, allocations: 29.64 kB / 0.5928 GB, free: 3.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.1799, allocations: 84.08 kB / 0.5929 GB, free: 3.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.1799, allocations: 3.906 kB / 0.5929 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.18, allocations: 17.72 kB / 0.5929 GB, free: 3.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1801, allocations: 314.8 kB / 0.5932 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.1802, allocations: 27.97 kB / 0.5933 GB, free: 3.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.1803, allocations: 27.97 kB / 0.5933 GB, free: 3.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.1805, allocations: 48.81 kB / 0.5933 GB, free: 3.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1805, allocations: 0 / 0.5933 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.1807, allocations: 85.66 kB / 0.5934 GB, free: 3.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1807, allocations: 4 kB / 0.5934 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1807, allocations: 3.984 kB / 0.5934 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1807, allocations: 3.984 kB / 0.5934 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1809, allocations: 8 kB / 0.5934 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1809, allocations: 3.984 kB / 0.5934 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.107e-05/0.1809, allocations: 8 kB / 0.5934 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.181, allocations: 0 / 0.5934 GB, free: 3.098 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 (2): * Single equations (assignments): 2 * 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 8.144e-05/0.181, allocations: 118.7 kB / 0.5936 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1811, allocations: 7.938 kB / 0.5936 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.1811, allocations: 7.531 kB / 0.5936 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.1811, allocations: 0 / 0.5936 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1811, allocations: 0 / 0.5936 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1811, allocations: 0 / 0.5936 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1813, allocations: 169.5 kB / 0.5937 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1813, allocations: 256 / 0.5937 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.1814, allocations: 19.98 kB / 0.5938 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.1814, allocations: 0 / 0.5938 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1814, allocations: 3.938 kB / 0.5938 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1814, allocations: 0 / 0.5938 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1814, allocations: 0 / 0.5938 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1817, allocations: 179.4 kB / 0.5939 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.1817, allocations: 81.14 kB / 0.594 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1818, allocations: 4 kB / 0.594 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.1818, allocations: 7.984 kB / 0.594 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1819, allocations: 0 / 0.594 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1819, allocations: 0 / 0.594 GB, free: 2.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.1819, allocations: 91.27 kB / 0.5941 GB, free: 2.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.182, allocations: 0 / 0.5941 GB, free: 2.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1822, allocations: 4 kB / 0.5941 GB, free: 2.328 MB / 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 (2): * Single equations (assignments): 2 * 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.0001038/0.1823, allocations: 99.25 kB / 0.5942 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1825, allocations: 51.89 kB / 0.5943 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1825, allocations: 0 / 0.5943 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1826, allocations: 31.91 kB / 0.5943 GB, free: 2.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1829, allocations: 3.938 kB / 0.5943 GB, free: 2.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.1833, allocations: 133.5 kB / 0.5944 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1836, allocations: 0.6768 MB / 0.5951 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.1836, allocations: 0 / 0.5951 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1836, allocations: 11.42 kB / 0.5951 GB, free: 1.266 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1836, allocations: 4 kB / 0.5951 GB, free: 1.262 MB / 446.1 MB Notification: Performance of Templates: time 0.002221/0.1859, allocations: 0.5205 MB / 0.5956 GB, free: 0.7461 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)