Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [/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.1653/0.1661, allocations: 82.21 MB / 0.5935 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6268/0.7929, allocations: 163.2 MB / 0.7529 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008717/0.8017, allocations: 7.312 MB / 0.76 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007356/0.8025, allocations: 15.88 kB / 0.76 GB, free: 14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008944/0.8034, allocations: 221.6 kB / 0.7602 GB, free: 13.87 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002579/0.806, allocations: 0.8426 MB / 0.7611 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.8083, allocations: 0.709 MB / 0.7618 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.8104, allocations: 1.775 MB / 0.7635 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.8111, allocations: 425.7 kB / 0.7639 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.8132, allocations: 0.8513 MB / 0.7647 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.814, allocations: 0.5552 MB / 0.7653 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.814, allocations: 36.53 kB / 0.7653 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.8153, allocations: 434.7 kB / 0.7657 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.8155, allocations: 218.9 kB / 0.7659 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.8157, allocations: 153.5 kB / 0.7661 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009656/0.8167, allocations: 0.8129 MB / 0.7669 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8167, allocations: 0 / 0.7669 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8167, allocations: 0 / 0.7669 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.8167, allocations: 0 / 0.7669 GB, free: 11.32 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001662/0.8184, allocations: 0.936 MB / 0.7678 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8185, allocations: 10.09 kB / 0.7678 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009007/0.8194, allocations: 151.8 kB / 0.7679 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.8201, allocations: 449.5 kB / 0.7684 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.8202, allocations: 97.47 kB / 0.7685 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.8203, allocations: 56.06 kB / 0.7685 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/0.8212, allocations: 0.5591 MB / 0.7691 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.8213, allocations: 0 / 0.7691 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.8213, allocations: 22.28 kB / 0.7691 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.8214, allocations: 10.47 kB / 0.7691 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/0.8222, allocations: 492 kB / 0.7696 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.825, allocations: 1.946 MB / 0.7715 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.8255, allocations: 343.6 kB / 0.7718 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.8258, allocations: 180.5 kB / 0.772 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/0.8262, allocations: 140.9 kB / 0.7721 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.8262, allocations: 35.69 kB / 0.7721 GB, free: 8.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.8262, allocations: 0 / 0.7721 GB, free: 8.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0009857/0.8272, allocations: 0.5712 MB / 0.7727 GB, free: 8.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.8273, allocations: 54.47 kB / 0.7727 GB, free: 8.238 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.8278, allocations: 0.5081 MB / 0.7732 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.8278, allocations: 37.3 kB / 0.7733 GB, free: 8.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.828, allocations: 280.8 kB / 0.7735 GB, free: 7.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.8281, allocations: 113.9 kB / 0.7736 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.8281, allocations: 8.188 kB / 0.7737 GB, free: 7.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8283, allocations: 366.1 kB / 0.774 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.8286, allocations: 178.5 kB / 0.7742 GB, free: 7.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.829, allocations: 255.2 kB / 0.7744 GB, free: 7.285 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.8294, allocations: 264 kB / 0.7747 GB, free: 7.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8294, allocations: 2.969 kB / 0.7747 GB, free: 7.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008972/0.8303, allocations: 0.603 MB / 0.7753 GB, free: 6.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.8303, allocations: 59.34 kB / 0.7753 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.8304, allocations: 2.938 kB / 0.7753 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.8304, allocations: 6.797 kB / 0.7753 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.8307, allocations: 90.2 kB / 0.7754 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.8308, allocations: 16.97 kB / 0.7754 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.8311, allocations: 70.31 kB / 0.7755 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.8312, allocations: 19.84 kB / 0.7755 GB, free: 6.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (senHLat_flow.i_x,senHSen_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002276/0.8314, allocations: 196.7 kB / 0.7757 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.8315, allocations: 54.97 kB / 0.7758 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/0.8324, allocations: 489.4 kB / 0.7762 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.8324, allocations: 10.52 kB / 0.7762 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8324, allocations: 0 / 0.7762 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8324, allocations: 0 / 0.7762 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.8339, allocations: 1.091 MB / 0.7773 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8339, allocations: 3.125 kB / 0.7773 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.8342, allocations: 68.33 kB / 0.7774 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.8343, allocations: 4.844 kB / 0.7774 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.8343, allocations: 5.719 kB / 0.7774 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.8343, allocations: 9.281 kB / 0.7774 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8343, allocations: 8.188 kB / 0.7774 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.8354, allocations: 0.7822 MB / 0.7782 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.8357, allocations: 199.4 kB / 0.7783 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.8358, allocations: 9.031 kB / 0.7784 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.8362, allocations: 49.02 kB / 0.7784 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.8363, allocations: 22 kB / 0.7784 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/0.8364, allocations: 28.05 kB / 0.7784 GB, free: 5.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000436/0.8368, allocations: 363.5 kB / 0.7788 GB, free: 5.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8368, allocations: 0 / 0.7788 GB, free: 5.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005902/0.8374, allocations: 171.6 kB / 0.779 GB, free: 5.332 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * 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 (32): * Single equations (assignments): 32 * 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.0005306/0.8379, allocations: 191.3 kB / 0.7791 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008533/0.8388, allocations: 0.5214 MB / 0.7797 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.8388, allocations: 3.125 kB / 0.7797 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.8391, allocations: 198.3 kB / 0.7798 GB, free: 4.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.8406, allocations: 296.4 kB / 0.7801 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.8429, allocations: 1.417 MB / 0.7815 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.8435, allocations: 0.8835 MB / 0.7824 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006212/0.8441, allocations: 129.5 kB / 0.7825 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.8442, allocations: 45.97 kB / 0.7825 GB, free: 3.098 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.8443, allocations: 0 / 0.7825 GB, free: 3.098 MB / 0.545 GB Notification: Performance of Templates: time 0.02016/0.8644, allocations: 10.57 MB / 0.7929 GB, free: 13.92 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: