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.1463/0.1483, allocations: 80.84 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5814/0.7298, allocations: 177.3 MB / 0.7628 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009613/0.7394, allocations: 7.893 MB / 0.7705 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.7405, allocations: 17.69 kB / 0.7705 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.7417, allocations: 271.3 kB / 0.7708 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.7455, allocations: 1.035 MB / 0.7718 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.7483, allocations: 0.8633 MB / 0.7726 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00268/0.751, allocations: 2.109 MB / 0.7747 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.7518, allocations: 467.7 kB / 0.7752 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.7546, allocations: 0.9107 MB / 0.776 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.7557, allocations: 0.591 MB / 0.7766 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.7559, allocations: 40.34 kB / 0.7767 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.7577, allocations: 0.8041 MB / 0.7774 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.758, allocations: 231.9 kB / 0.7777 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.7584, allocations: 348.5 kB / 0.778 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.76, allocations: 1.22 MB / 0.7792 GB, free: 6.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.76, allocations: 0 / 0.7792 GB, free: 6.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.76, allocations: 4 kB / 0.7792 GB, free: 6.277 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.76, allocations: 0 / 0.7792 GB, free: 6.277 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.001929/0.7619, allocations: 1.059 MB / 0.7802 GB, free: 5.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.762, allocations: 7.812 kB / 0.7802 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009622/0.763, allocations: 157.6 kB / 0.7804 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.7637, allocations: 455.5 kB / 0.7808 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.7638, allocations: 96.41 kB / 0.7809 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.7639, allocations: 57.14 kB / 0.781 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.7649, allocations: 0.5583 MB / 0.7815 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.7649, allocations: 7.984 kB / 0.7815 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.765, allocations: 20.78 kB / 0.7815 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.765, allocations: 13.03 kB / 0.7816 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.7658, allocations: 478.5 kB / 0.782 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.7688, allocations: 1.927 MB / 0.7839 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.7694, allocations: 332.7 kB / 0.7842 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.7697, allocations: 181.1 kB / 0.7844 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.7701, allocations: 121.9 kB / 0.7845 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.7701, allocations: 37.03 kB / 0.7845 GB, free: 2.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.7701, allocations: 2.219 kB / 0.7845 GB, free: 2.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.001097/0.7712, allocations: 0.5585 MB / 0.7851 GB, free: 2.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.7713, allocations: 54.19 kB / 0.7851 GB, free: 1.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.7718, allocations: 0.517 MB / 0.7856 GB, free: 1.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.7718, allocations: 36.42 kB / 0.7857 GB, free: 1.602 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.772, allocations: 269.8 kB / 0.7859 GB, free: 1.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.7721, allocations: 117.5 kB / 0.786 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.7722, allocations: 88.12 kB / 0.7861 GB, free: 1.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7724, allocations: 368.8 kB / 0.7865 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.7727, allocations: 178.7 kB / 0.7866 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.7731, allocations: 251.2 kB / 0.7869 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.7737, allocations: 487 kB / 0.7874 GB, free: 264 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7737, allocations: 0 / 0.7874 GB, free: 264 kB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001011/0.7747, allocations: 0.5896 MB / 0.7879 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.7748, allocations: 63.19 kB / 0.788 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7748, allocations: 10.03 kB / 0.788 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.7749, allocations: 9.266 kB / 0.788 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.7752, allocations: 77.16 kB / 0.7881 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.7753, allocations: 9.188 kB / 0.7881 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.7757, allocations: 76.5 kB / 0.7882 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.7757, allocations: 19.19 kB / 0.7882 GB, free: 15.77 MB / 0.5606 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 (senHSen_flow.i_x,senHLat_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002724/0.776, allocations: 190.3 kB / 0.7884 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.7761, allocations: 57.44 kB / 0.7884 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008428/0.777, allocations: 479.2 kB / 0.7889 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.777, allocations: 2.688 kB / 0.7889 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.777, allocations: 4 kB / 0.7889 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.777, allocations: 0 / 0.7889 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.7785, allocations: 1.081 MB / 0.7899 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7785, allocations: 6.969 kB / 0.7899 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.7788, allocations: 60.97 kB / 0.79 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.7788, allocations: 6.734 kB / 0.79 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.7789, allocations: 11.38 kB / 0.79 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.7789, allocations: 6.656 kB / 0.79 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7789, allocations: 0 / 0.79 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.78, allocations: 0.7812 MB / 0.7908 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.7803, allocations: 190.5 kB / 0.791 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.7804, allocations: 9.281 kB / 0.791 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.7809, allocations: 46.33 kB / 0.791 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.7809, allocations: 22.31 kB / 0.791 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.781, allocations: 28.94 kB / 0.7911 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003544/0.7814, allocations: 369.3 kB / 0.7914 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7814, allocations: 0 / 0.7914 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005599/0.7819, allocations: 173.7 kB / 0.7916 GB, free: 13.5 MB / 0.5606 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 (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.000423/0.7824, allocations: 186.2 kB / 0.7918 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008259/0.7832, allocations: 0.5137 MB / 0.7923 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.7832, allocations: 0.5 kB / 0.7923 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.7836, allocations: 208.2 kB / 0.7925 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.7849, allocations: 287.2 kB / 0.7927 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.7867, allocations: 1.373 MB / 0.7941 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.7871, allocations: 0.872 MB / 0.7949 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005116/0.7877, allocations: 134.2 kB / 0.7951 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.7878, allocations: 46.5 kB / 0.7951 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.7878, allocations: 0 / 0.7951 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.01826/0.8061, allocations: 11 MB / 0.8058 GB, free: 272 kB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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)