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.1623/0.163, allocations: 82.22 MB / 0.5934 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.0016/0.1646, allocations: 1.133 MB / 0.5945 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001992/0.1648, allocations: 71.86 kB / 0.5945 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.1649, allocations: 0 / 0.5945 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1649, allocations: 7.875 kB / 0.5945 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.1649, allocations: 0 / 0.5945 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1651, allocations: 11.98 kB / 0.5946 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.483e-05/0.1652, allocations: 11.98 kB / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.1653, allocations: 8 kB / 0.5946 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.1653, allocations: 15.92 kB / 0.5946 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.365e-05/0.1653, allocations: 11.97 kB / 0.5946 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1654, allocations: 4 kB / 0.5946 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.627e-05/0.1654, allocations: 11.98 kB / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.1654, allocations: 7.938 kB / 0.5946 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.1655, allocations: 29.7 kB / 0.5946 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.454e-05/0.1655, allocations: 20.25 kB / 0.5947 GB, free: 4.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1655, allocations: 0 / 0.5947 GB, free: 4.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1656, allocations: 0 / 0.5947 GB, free: 4.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1656, allocations: 0 / 0.5947 GB, free: 4.664 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.0004308/0.166, allocations: 350.3 kB / 0.595 GB, free: 4.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1661, allocations: 8.031 kB / 0.595 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1662, allocations: 19.89 kB / 0.595 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1663, allocations: 163.1 kB / 0.5952 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1664, allocations: 4 kB / 0.5952 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1664, allocations: 0 / 0.5952 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1666, allocations: 69.62 kB / 0.5953 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1666, allocations: 4 kB / 0.5953 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1666, allocations: 3.938 kB / 0.5953 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1666, allocations: 0 / 0.5953 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.1669, allocations: 63.94 kB / 0.5953 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1672, allocations: 261 kB / 0.5956 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1674, allocations: 74.41 kB / 0.5956 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1674, allocations: 0 / 0.5956 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1674, allocations: 38.44 kB / 0.5957 GB, free: 3.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1674, allocations: 0 / 0.5957 GB, free: 3.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004028/0.1679, allocations: 125.7 kB / 0.5958 GB, free: 3.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1679, allocations: 55.53 kB / 0.5959 GB, free: 3.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.615e-05/0.168, allocations: 105.8 kB / 0.596 GB, free: 3.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.168, allocations: 25.7 kB / 0.596 GB, free: 3.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.168, allocations: 92.08 kB / 0.5961 GB, free: 3.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.1681, allocations: 3.906 kB / 0.5961 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1681, allocations: 0 / 0.5961 GB, free: 3.031 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.1682, allocations: 310.8 kB / 0.5964 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1683, allocations: 35.97 kB / 0.5964 GB, free: 2.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-05/0.1684, allocations: 31.97 kB / 0.5964 GB, free: 2.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1685, allocations: 32.05 kB / 0.5965 GB, free: 2.621 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1685, allocations: 3.938 kB / 0.5965 GB, free: 2.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002477/0.1688, allocations: 105.5 kB / 0.5966 GB, free: 2.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1688, allocations: 4 kB / 0.5966 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1688, allocations: 256 / 0.5966 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1688, allocations: 4 kB / 0.5966 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1689, allocations: 15.98 kB / 0.5966 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.1689, allocations: 0 / 0.5966 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.169, allocations: 11.98 kB / 0.5966 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.169, allocations: 8.031 kB / 0.5966 GB, free: 2.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.575e-05/0.1691, allocations: 109.8 kB / 0.5967 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.1691, allocations: 7.953 kB / 0.5967 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.1692, allocations: 3.531 kB / 0.5967 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1692, allocations: 0 / 0.5967 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1692, allocations: 0 / 0.5967 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1692, allocations: 0 / 0.5967 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1694, allocations: 169.6 kB / 0.5969 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1694, allocations: 0 / 0.5969 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.1694, allocations: 19.98 kB / 0.5969 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1695, allocations: 3.938 kB / 0.5969 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1695, allocations: 3.953 kB / 0.5969 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/0.1695, allocations: 3.984 kB / 0.5969 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1695, allocations: 0 / 0.5969 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1698, allocations: 183.5 kB / 0.5971 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.1698, allocations: 84.95 kB / 0.5972 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1698, allocations: 7.984 kB / 0.5972 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.1699, allocations: 15.98 kB / 0.5972 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.17, allocations: 3.984 kB / 0.5972 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.17, allocations: 3.938 kB / 0.5972 GB, free: 1.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.945e-05/0.17, allocations: 83.28 kB / 0.5973 GB, free: 1.684 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.17, allocations: 0 / 0.5973 GB, free: 1.684 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.1703, allocations: 8 kB / 0.5973 GB, free: 1.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.139e-05/0.1703, allocations: 95.23 kB / 0.5974 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.1706, allocations: 75.88 kB / 0.5975 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1706, allocations: 0 / 0.5975 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1707, allocations: 36.05 kB / 0.5975 GB, free: 1.465 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.1709, allocations: 3.984 kB / 0.5975 GB, free: 1.461 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.1712, allocations: 132.8 kB / 0.5976 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1715, allocations: 0.6809 MB / 0.5983 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.1716, allocations: 0 / 0.5983 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.1716, allocations: 7.438 kB / 0.5983 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1716, allocations: 0 / 0.5983 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of Templates: time 0.002139/0.1737, allocations: 0.4894 MB / 0.5988 GB, free: 104 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: