Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [/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.1552/0.1573, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002429/0.1598, allocations: 1.275 MB / 0.6719 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005646/0.1604, allocations: 295.2 kB / 0.6721 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.1604, allocations: 0 / 0.6721 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.1605, allocations: 3.984 kB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.1606, allocations: 7.922 kB / 0.6722 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1609, allocations: 83.7 kB / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.161, allocations: 35.86 kB / 0.6723 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.1611, allocations: 4 kB / 0.6723 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1612, allocations: 31.91 kB / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.1613, allocations: 11.94 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1613, allocations: 0 / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1614, allocations: 79.91 kB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1615, allocations: 11.98 kB / 0.6724 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.1615, allocations: 15.86 kB / 0.6724 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1617, allocations: 79.78 kB / 0.6725 GB, free: 100 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1617, allocations: 0 / 0.6725 GB, free: 100 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1617, allocations: 0 / 0.6725 GB, free: 100 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1617, allocations: 0 / 0.6725 GB, free: 100 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.000415/0.1621, allocations: 351.4 kB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1622, allocations: 8.031 kB / 0.6728 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1622, allocations: 12.84 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1623, allocations: 176.3 kB / 0.673 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1624, allocations: 384 / 0.673 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1624, allocations: 384 / 0.673 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.1625, allocations: 38.25 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1625, allocations: 4.188 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1625, allocations: 7.922 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1625, allocations: 0 / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.1626, allocations: 7.938 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1627, allocations: 157.7 kB / 0.6732 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.1628, allocations: 42.55 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.1629, allocations: 12.92 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.164, allocations: 1.179 MB / 0.6744 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.164, allocations: 38.56 kB / 0.6745 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.164, allocations: 0 / 0.6745 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.1642, allocations: 57.47 kB / 0.6745 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1642, allocations: 55.41 kB / 0.6746 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.1643, allocations: 109.8 kB / 0.6747 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1643, allocations: 25.7 kB / 0.6747 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1644, allocations: 88.08 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.1644, allocations: 7.906 kB / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1645, allocations: 17.72 kB / 0.6748 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1646, allocations: 318.8 kB / 0.6751 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.1646, allocations: 0 / 0.6751 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.1647, allocations: 4 kB / 0.6751 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.1647, allocations: 16.86 kB / 0.6751 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1647, allocations: 0 / 0.6751 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000103/0.1648, allocations: 53.53 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1649, allocations: 10.34 kB / 0.6752 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1649, allocations: 7.938 kB / 0.6752 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1649, allocations: 0 / 0.6752 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.165, allocations: 7.984 kB / 0.6752 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.165, allocations: 0 / 0.6752 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.165, allocations: 0 / 0.6752 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.165, allocations: 4 kB / 0.6752 GB, free: 12.83 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): 3 * 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 9.008e-05/0.1651, allocations: 109.8 kB / 0.6753 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.1652, allocations: 4 kB / 0.6753 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.1653, allocations: 65.47 kB / 0.6754 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1654, allocations: 384 / 0.6754 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1654, allocations: 0 / 0.6754 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1654, allocations: 7.984 kB / 0.6754 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.1655, allocations: 153.7 kB / 0.6755 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1655, allocations: 0 / 0.6755 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.1656, allocations: 4 kB / 0.6755 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1656, allocations: 7.984 kB / 0.6755 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1656, allocations: 3.938 kB / 0.6756 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1656, allocations: 4 kB / 0.6756 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1656, allocations: 4 kB / 0.6756 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1657, allocations: 77.03 kB / 0.6756 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.1658, allocations: 81.09 kB / 0.6757 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1658, allocations: 7.875 kB / 0.6757 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.1659, allocations: 4 kB / 0.6757 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.1659, allocations: 0 / 0.6757 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1659, allocations: 3.938 kB / 0.6757 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.648e-05/0.166, allocations: 99.2 kB / 0.6758 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.166, allocations: 0 / 0.6758 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002403/0.1662, allocations: 31.94 kB / 0.6759 GB, free: 12.05 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): 3 * 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.0002734/0.1665, allocations: 127.2 kB / 0.676 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1667, allocations: 15.98 kB / 0.676 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1667, allocations: 0 / 0.676 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.1667, allocations: 4 kB / 0.676 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1671, allocations: 12 kB / 0.676 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.1675, allocations: 125.9 kB / 0.6761 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1679, allocations: 0.6807 MB / 0.6768 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.168, allocations: 8 kB / 0.6768 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.168, allocations: 7.438 kB / 0.6768 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.168, allocations: 0 / 0.6768 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.003318/0.1713, allocations: 0.7915 MB / 0.6776 GB, free: 10.23 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)