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.1884/0.1907, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002719/0.1935, allocations: 1.408 MB / 0.672 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002898/0.1938, allocations: 80.11 kB / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.1938, allocations: 0 / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.1939, allocations: 7.938 kB / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.194, allocations: 7.922 kB / 0.6721 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1942, allocations: 15.97 kB / 0.6721 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.297e-05/0.1943, allocations: 23.94 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1945, allocations: 7.984 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.1945, allocations: 11.94 kB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.1946, allocations: 7.984 kB / 0.6721 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1946, allocations: 4 kB / 0.6721 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-05/0.1947, allocations: 11.98 kB / 0.6722 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.1947, allocations: 11.94 kB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.1947, allocations: 15.92 kB / 0.6722 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1949, allocations: 39.83 kB / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1949, allocations: 0 / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1949, allocations: 0 / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.1949, allocations: 0 / 0.6722 GB, free: 372 kB / 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.0004963/0.1954, allocations: 339.5 kB / 0.6725 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1954, allocations: 8.031 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.1956, allocations: 20.86 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1958, allocations: 176.2 kB / 0.6727 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1958, allocations: 384 / 0.6727 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1958, allocations: 384 / 0.6727 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.196, allocations: 65.59 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.196, allocations: 0 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.196, allocations: 4 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1961, allocations: 0 / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1963, allocations: 51.94 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.1967, allocations: 264.8 kB / 0.6731 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1969, allocations: 58.47 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.197, allocations: 28.91 kB / 0.6732 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1971, allocations: 0 / 0.6732 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1971, allocations: 34.56 kB / 0.6732 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1971, allocations: 0 / 0.6732 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004381/0.1975, allocations: 101.6 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1976, allocations: 59.52 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.1977, allocations: 101.9 kB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1977, allocations: 25.7 kB / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1978, allocations: 92.12 kB / 0.6736 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1978, allocations: 3.906 kB / 0.6736 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.1978, allocations: 13.72 kB / 0.6736 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1979, allocations: 318.8 kB / 0.6739 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1981, allocations: 27.97 kB / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.1982, allocations: 15.98 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.1984, allocations: 56.8 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1984, allocations: 0 / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002423/0.1986, allocations: 93.5 kB / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1987, allocations: 6.344 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1987, allocations: 0 / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1987, allocations: 0 / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1988, allocations: 11.98 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1988, allocations: 0 / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.1989, allocations: 7.984 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1989, allocations: 4 kB / 0.6741 GB, free: 14.19 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 (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 7.138e-05/0.199, allocations: 117.8 kB / 0.6742 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.199, allocations: 0 / 0.6742 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.1991, allocations: 11.52 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1991, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1991, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1991, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1993, allocations: 173.6 kB / 0.6744 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1993, allocations: 3.938 kB / 0.6744 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.1994, allocations: 11.98 kB / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1994, allocations: 4 kB / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1994, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1994, allocations: 256 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1994, allocations: 4 kB / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.1997, allocations: 179.4 kB / 0.6746 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.1997, allocations: 85.05 kB / 0.6747 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1998, allocations: 0 / 0.6747 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.1999, allocations: 11.98 kB / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1999, allocations: 4 kB / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1999, allocations: 0 / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.2, allocations: 83.27 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2, allocations: 0 / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000221/0.2002, allocations: 8 kB / 0.6748 GB, free: 13.41 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 (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.0001113/0.2003, allocations: 99.23 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.2006, allocations: 55.89 kB / 0.6749 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2006, allocations: 0 / 0.6749 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2007, allocations: 31.91 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.201, allocations: 4 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.2014, allocations: 121.6 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2016, allocations: 0.6806 MB / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.2017, allocations: 0 / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.2017, allocations: 7.438 kB / 0.6758 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2017, allocations: 4 kB / 0.6758 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.002653/0.2044, allocations: 0.5978 MB / 0.6764 GB, free: 11.75 MB / 0.5137 GB 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)