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.007366/0.007365, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001404/0.001404, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.527/1.527, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.6811/0.6811, allocations: 95.48 MB / 365.4 MB, free: 9.793 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.001749/0.001749, allocations: 75.89 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1772, allocations: 69.08 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6402/0.8174, allocations: 200.6 MB / 0.767 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007779/0.8253, allocations: 6.52 MB / 0.7733 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.8258, allocations: 15.88 kB / 0.7733 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009797/0.8268, allocations: 329.8 kB / 0.7737 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.8307, allocations: 1.602 MB / 0.7752 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.8343, allocations: 1.351 MB / 0.7765 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.8362, allocations: 1.536 MB / 0.778 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007535/0.837, allocations: 0.5524 MB / 0.7786 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.8382, allocations: 0.6889 MB / 0.7792 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.8394, allocations: 0.7406 MB / 0.78 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.8395, allocations: 72 kB / 0.78 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.8423, allocations: 1.489 MB / 0.7815 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.8426, allocations: 271.3 kB / 0.7818 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.843, allocations: 430 kB / 0.7822 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.8453, allocations: 1.779 MB / 0.7839 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8454, allocations: 0 / 0.7839 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8454, allocations: 0 / 0.7839 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.8454, allocations: 0 / 0.7839 GB, free: 4.41 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.002272/0.8477, allocations: 1.258 MB / 0.7851 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8477, allocations: 11.98 kB / 0.7851 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.8481, allocations: 91 kB / 0.7852 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/0.8488, allocations: 0.507 MB / 0.7857 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.849, allocations: 105.6 kB / 0.7858 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.8491, allocations: 56 kB / 0.7859 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.8502, allocations: 0.6155 MB / 0.7865 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.8503, allocations: 3.938 kB / 0.7865 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.8503, allocations: 24 kB / 0.7865 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.8503, allocations: 16 kB / 0.7865 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.8514, allocations: 0.6063 MB / 0.7871 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.8554, allocations: 2.539 MB / 0.7896 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.856, allocations: 378.1 kB / 0.79 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.8564, allocations: 189.4 kB / 0.7901 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.8567, allocations: 121 kB / 0.7902 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.8568, allocations: 39.75 kB / 0.7903 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=38): time 1.933e-06/0.8568, allocations: 0 / 0.7903 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.001272/0.8581, allocations: 0.6409 MB / 0.7909 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.8581, allocations: 55.41 kB / 0.791 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.8588, allocations: 0.6096 MB / 0.7916 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.8588, allocations: 37.7 kB / 0.7916 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.8591, allocations: 316 kB / 0.7919 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.8592, allocations: 138 kB / 0.792 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.8594, allocations: 102.2 kB / 0.7921 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.8596, allocations: 374.8 kB / 0.7925 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.86, allocations: 209 kB / 0.7927 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.8606, allocations: 303.2 kB / 0.793 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.8615, allocations: 0.5615 MB / 0.7935 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8615, allocations: 0 / 0.7935 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001306/0.8628, allocations: 0.7003 MB / 0.7942 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.8628, allocations: 67.39 kB / 0.7943 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8629, allocations: 3.938 kB / 0.7943 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.8629, allocations: 8 kB / 0.7943 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.8636, allocations: 103.8 kB / 0.7944 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.8636, allocations: 7.938 kB / 0.7944 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.864, allocations: 71.2 kB / 0.7945 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.8641, allocations: 20 kB / 0.7945 GB, free: 9.027 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.0002601/0.8644, allocations: 205.9 kB / 0.7947 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.8645, allocations: 63.25 kB / 0.7947 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.8658, allocations: 0.6624 MB / 0.7954 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.8658, allocations: 8 kB / 0.7954 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8658, allocations: 0 / 0.7954 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.8658, allocations: 0 / 0.7954 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.8678, allocations: 1.319 MB / 0.7967 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.8679, allocations: 4 kB / 0.7967 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.8682, allocations: 79.89 kB / 0.7968 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/0.8683, allocations: 7.938 kB / 0.7968 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.8683, allocations: 11.98 kB / 0.7968 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.8683, allocations: 4 kB / 0.7968 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8683, allocations: 0 / 0.7968 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.8699, allocations: 0.9892 MB / 0.7977 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.8702, allocations: 220.2 kB / 0.798 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.8703, allocations: 15.91 kB / 0.798 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.8708, allocations: 31.91 kB / 0.798 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.8709, allocations: 35.66 kB / 0.798 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.871, allocations: 31.91 kB / 0.7981 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004895/0.8715, allocations: 451 kB / 0.7985 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8715, allocations: 0 / 0.7985 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009427/0.8724, allocations: 375.5 kB / 0.7989 GB, free: 4.406 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.001076/0.8735, allocations: 430 kB / 0.7993 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.8747, allocations: 0.6245 MB / 0.7999 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8747, allocations: 4 kB / 0.7999 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.8752, allocations: 266.1 kB / 0.8001 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.8768, allocations: 371 kB / 0.8005 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.879, allocations: 1.409 MB / 0.8019 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.8795, allocations: 0.9219 MB / 0.8028 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004682/0.88, allocations: 149.5 kB / 0.8029 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.8802, allocations: 63.42 kB / 0.803 GB, free: 120 kB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.8802, allocations: 3.938 kB / 0.803 GB, free: 116 kB / 0.6075 GB Notification: Performance of Templates: time 0.02729/0.9075, allocations: 17.68 MB / 0.8202 GB, free: 14.56 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)