Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [/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.1646/0.1653, allocations: 82.21 MB / 0.5934 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001332/0.1667, allocations: 0.955 MB / 0.5943 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.167, allocations: 107.7 kB / 0.5944 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.167, allocations: 0 / 0.5944 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.167, allocations: 0 / 0.5944 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.1671, allocations: 7.969 kB / 0.5944 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.1673, allocations: 35.89 kB / 0.5944 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.1673, allocations: 7.984 kB / 0.5944 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1674, allocations: 4 kB / 0.5944 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.1674, allocations: 4 kB / 0.5945 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.1674, allocations: 7.922 kB / 0.5945 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1674, allocations: 0 / 0.5945 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1676, allocations: 47.95 kB / 0.5945 GB, free: 4.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.1676, allocations: 4 kB / 0.5945 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.1676, allocations: 29.7 kB / 0.5945 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.889e-05/0.1677, allocations: 32.17 kB / 0.5946 GB, free: 4.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1677, allocations: 0 / 0.5946 GB, free: 4.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1677, allocations: 0 / 0.5946 GB, free: 4.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1677, allocations: 0 / 0.5946 GB, free: 4.77 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004082/0.1682, allocations: 330.4 kB / 0.5949 GB, free: 4.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1682, allocations: 12.02 kB / 0.5949 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1682, allocations: 3.938 kB / 0.5949 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1684, allocations: 167.1 kB / 0.5951 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1684, allocations: 4 kB / 0.5951 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1684, allocations: 4 kB / 0.5951 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.1685, allocations: 37.59 kB / 0.5951 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1685, allocations: 0 / 0.5951 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1685, allocations: 0 / 0.5951 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1686, allocations: 3.984 kB / 0.5951 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.1686, allocations: 8 kB / 0.5951 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.1688, allocations: 145.7 kB / 0.5953 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.548e-05/0.1688, allocations: 30.56 kB / 0.5953 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000698/0.1695, allocations: 0.6052 MB / 0.5959 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1696, allocations: 34.56 kB / 0.5959 GB, free: 3.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1696, allocations: 0 / 0.5959 GB, free: 3.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.1697, allocations: 49.58 kB / 0.596 GB, free: 3.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1698, allocations: 55.53 kB / 0.596 GB, free: 2.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.1698, allocations: 101.8 kB / 0.5961 GB, free: 2.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1699, allocations: 25.7 kB / 0.5961 GB, free: 2.852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1699, allocations: 80.14 kB / 0.5962 GB, free: 2.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1699, allocations: 11.84 kB / 0.5962 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.1699, allocations: 0 / 0.5962 GB, free: 2.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1701, allocations: 314.8 kB / 0.5965 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.1701, allocations: 0 / 0.5965 GB, free: 2.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.1701, allocations: 11.94 kB / 0.5965 GB, free: 2.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.822e-05/0.1701, allocations: 4 kB / 0.5965 GB, free: 2.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1701, allocations: 0 / 0.5965 GB, free: 2.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.682e-05/0.1702, allocations: 45.62 kB / 0.5966 GB, free: 2.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1702, allocations: 4 kB / 0.5966 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1702, allocations: 3.984 kB / 0.5966 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1702, allocations: 3.953 kB / 0.5966 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.1703, allocations: 4 kB / 0.5966 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1703, allocations: 0 / 0.5966 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.1703, allocations: 96 / 0.5966 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1703, allocations: 8 kB / 0.5966 GB, free: 2.352 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 7.824e-05/0.1704, allocations: 109.8 kB / 0.5967 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1704, allocations: 11.83 kB / 0.5967 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1705, allocations: 44.95 kB / 0.5968 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1706, allocations: 7.984 kB / 0.5968 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1706, allocations: 3.953 kB / 0.5968 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1706, allocations: 0 / 0.5968 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1707, allocations: 153.7 kB / 0.5969 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1707, allocations: 4.031 kB / 0.5969 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.1707, allocations: 0 / 0.5969 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1707, allocations: 4 kB / 0.5969 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1707, allocations: 3.984 kB / 0.5969 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1708, allocations: 0 / 0.5969 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1708, allocations: 0 / 0.5969 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.296e-05/0.1708, allocations: 61.09 kB / 0.597 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.1709, allocations: 81.11 kB / 0.5971 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1709, allocations: 8.016 kB / 0.5971 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.557e-05/0.1709, allocations: 3.938 kB / 0.5971 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.171, allocations: 0 / 0.5971 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.171, allocations: 0 / 0.5971 GB, free: 1.762 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.171, allocations: 87.23 kB / 0.5972 GB, free: 1.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.171, allocations: 0 / 0.5972 GB, free: 1.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.1712, allocations: 12 kB / 0.5972 GB, free: 1.664 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 0.0001713/0.1714, allocations: 111.2 kB / 0.5973 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.1715, allocations: 12 kB / 0.5973 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1715, allocations: 0 / 0.5973 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.758e-06/0.1715, allocations: 4 kB / 0.5973 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.1717, allocations: 14.83 kB / 0.5973 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.1719, allocations: 110.5 kB / 0.5974 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1722, allocations: 0.6849 MB / 0.5981 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.301e-05/0.1722, allocations: 0 / 0.5981 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.1722, allocations: 11.44 kB / 0.5981 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1723, allocations: 0 / 0.5981 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of Templates: time 0.002461/0.1747, allocations: 0.573 MB / 0.5986 GB, free: 100 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: