Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01115/0.01115, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5774/0.5774, allocations: 95.47 MB / 365.4 MB, free: 9.766 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 75.89 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1655, allocations: 69.08 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6198/0.7853, allocations: 200.6 MB / 0.767 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00821/0.7936, allocations: 6.509 MB / 0.7733 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006359/0.7942, allocations: 15.88 kB / 0.7733 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.7954, allocations: 325.8 kB / 0.7736 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.7996, allocations: 1.606 MB / 0.7752 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.8035, allocations: 1.357 MB / 0.7765 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002085/0.8056, allocations: 1.532 MB / 0.778 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009771/0.8066, allocations: 0.5598 MB / 0.7786 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.808, allocations: 0.6695 MB / 0.7792 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.8095, allocations: 0.7514 MB / 0.78 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.8098, allocations: 72 kB / 0.78 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.8128, allocations: 1.486 MB / 0.7815 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.8132, allocations: 275.2 kB / 0.7817 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007444/0.814, allocations: 426.2 kB / 0.7822 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.818, allocations: 1.779 MB / 0.7839 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.818, allocations: 0 / 0.7839 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.818, allocations: 0 / 0.7839 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.55e-05/0.818, allocations: 0 / 0.7839 GB, free: 4.371 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003263/0.8213, allocations: 1.254 MB / 0.7851 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.8214, allocations: 19.91 kB / 0.7851 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/0.8218, allocations: 91 kB / 0.7852 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.8229, allocations: 0.5002 MB / 0.7857 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.8231, allocations: 100.7 kB / 0.7858 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.8232, allocations: 59.98 kB / 0.7859 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.8245, allocations: 0.6155 MB / 0.7865 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.8246, allocations: 7.875 kB / 0.7865 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.8246, allocations: 20 kB / 0.7865 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.8247, allocations: 12 kB / 0.7865 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.8259, allocations: 0.6141 MB / 0.7871 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.8306, allocations: 2.536 MB / 0.7896 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.8313, allocations: 370.1 kB / 0.7899 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.8317, allocations: 185.4 kB / 0.7901 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/0.832, allocations: 129 kB / 0.7902 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.8321, allocations: 38.56 kB / 0.7903 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=38): time 2.475e-06/0.8321, allocations: 0 / 0.7903 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.001476/0.8336, allocations: 0.6371 MB / 0.7909 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.8336, allocations: 59.34 kB / 0.7909 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007952/0.8344, allocations: 0.6096 MB / 0.7915 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/0.8345, allocations: 37.7 kB / 0.7916 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.8348, allocations: 316 kB / 0.7919 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.835, allocations: 134 kB / 0.792 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.8352, allocations: 102.2 kB / 0.7921 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.8354, allocations: 374.8 kB / 0.7925 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.8359, allocations: 209 kB / 0.7927 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.8364, allocations: 306.3 kB / 0.793 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.8374, allocations: 0.5587 MB / 0.7935 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.8374, allocations: 4 kB / 0.7935 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001272/0.8387, allocations: 0.7004 MB / 0.7942 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.8387, allocations: 71.34 kB / 0.7943 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8388, allocations: 0 / 0.7943 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.8388, allocations: 7.984 kB / 0.7943 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.8393, allocations: 111.8 kB / 0.7944 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.8393, allocations: 4 kB / 0.7944 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.8398, allocations: 67.22 kB / 0.7944 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.8399, allocations: 23.98 kB / 0.7945 GB, free: 8.996 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 58 * 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.0002781/0.8401, allocations: 205.8 kB / 0.7947 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.8403, allocations: 71.12 kB / 0.7947 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.8415, allocations: 0.6518 MB / 0.7954 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.8416, allocations: 11.98 kB / 0.7954 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8416, allocations: 4 kB / 0.7954 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.8416, allocations: 0 / 0.7954 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.8435, allocations: 1.315 MB / 0.7967 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.8435, allocations: 4 kB / 0.7967 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.8439, allocations: 83.83 kB / 0.7967 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.8439, allocations: 4 kB / 0.7967 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.8439, allocations: 8 kB / 0.7968 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.8439, allocations: 7.984 kB / 0.7968 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8439, allocations: 0 / 0.7968 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.8455, allocations: 0.9931 MB / 0.7977 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.8458, allocations: 216.2 kB / 0.7979 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.774e-05/0.8459, allocations: 19.89 kB / 0.798 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.8464, allocations: 31.97 kB / 0.798 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.8465, allocations: 31.66 kB / 0.798 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.8466, allocations: 31.97 kB / 0.798 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005053/0.8471, allocations: 447 kB / 0.7985 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8471, allocations: 0 / 0.7985 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001029/0.8481, allocations: 375.6 kB / 0.7988 GB, free: 4.379 MB / 0.6075 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009156/0.849, allocations: 441.8 kB / 0.7993 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.8501, allocations: 0.6245 MB / 0.7999 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8501, allocations: 0 / 0.7999 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.8506, allocations: 270.1 kB / 0.8001 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.8522, allocations: 366.3 kB / 0.8005 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.8543, allocations: 1.4 MB / 0.8018 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.8548, allocations: 0.922 MB / 0.8027 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.8553, allocations: 153.5 kB / 0.8029 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.8555, allocations: 59.42 kB / 0.8029 GB, free: 92 kB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.8555, allocations: 0 / 0.8029 GB, free: 92 kB / 0.6075 GB Notification: Performance of Templates: time 0.03101/0.8865, allocations: 17.45 MB / 0.82 GB, free: 14.78 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)