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.0009025/0.0009023, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009423/0.0009426, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.638/0.638, allocations: 95.62 MB / 366 MB, free: 10.36 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.0009074/0.0009076, allocations: 12 kB / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4344, allocations: 70.33 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6525/1.087, allocations: 183.2 MB / 0.684 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009914/1.097, allocations: 6.186 MB / 0.69 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/1.099, allocations: 22.66 kB / 0.69 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/1.1, allocations: 233.9 kB / 0.6902 GB, free: 14.93 MB / 0.4981 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.006079/1.106, allocations: 1.27 MB / 0.6915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/1.111, allocations: 1.007 MB / 0.6925 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002724/1.114, allocations: 1.801 MB / 0.6942 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/1.114, allocations: 446.1 kB / 0.6947 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/1.116, allocations: 0.5844 MB / 0.6952 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/1.117, allocations: 0.7073 MB / 0.6959 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/1.117, allocations: 37.12 kB / 0.6959 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/1.12, allocations: 0.9249 MB / 0.6969 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/1.121, allocations: 245 kB / 0.6971 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002591/1.121, allocations: 162.4 kB / 0.6972 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/1.123, allocations: 1.153 MB / 0.6984 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.123, allocations: 3 kB / 0.6984 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.945e-06/1.123, allocations: 0 / 0.6984 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.138e-05/1.123, allocations: 0 / 0.6984 GB, free: 11.82 MB / 0.4981 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.002011/1.125, allocations: 1.106 MB / 0.6994 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.125, allocations: 13.69 kB / 0.6995 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/1.125, allocations: 92.05 kB / 0.6995 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007773/1.126, allocations: 476.2 kB / 0.7 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.126, allocations: 102.6 kB / 0.7001 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/1.126, allocations: 56.28 kB / 0.7002 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/1.127, allocations: 0.618 MB / 0.7008 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.127, allocations: 0 / 0.7008 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/1.127, allocations: 26.09 kB / 0.7008 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.127, allocations: 11.62 kB / 0.7008 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009978/1.128, allocations: 0.6176 MB / 0.7014 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/1.132, allocations: 2.561 MB / 0.7039 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/1.133, allocations: 371.7 kB / 0.7043 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/1.133, allocations: 190.4 kB / 0.7044 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/1.133, allocations: 138.2 kB / 0.7046 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.133, allocations: 45 kB / 0.7046 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.515e-06/1.133, allocations: 0 / 0.7046 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001206/1.135, allocations: 0.6424 MB / 0.7052 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.135, allocations: 57.25 kB / 0.7053 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/1.135, allocations: 0.609 MB / 0.7059 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/1.136, allocations: 42.86 kB / 0.7059 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/1.136, allocations: 313.8 kB / 0.7062 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.136, allocations: 135.8 kB / 0.7064 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/1.136, allocations: 8.625 kB / 0.7064 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.136, allocations: 379.5 kB / 0.7067 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/1.137, allocations: 208.3 kB / 0.7069 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/1.137, allocations: 306.6 kB / 0.7072 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/1.138, allocations: 308.5 kB / 0.7075 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.138, allocations: 2.625 kB / 0.7075 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001151/1.139, allocations: 0.711 MB / 0.7082 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/1.139, allocations: 61 kB / 0.7083 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.139, allocations: 6.703 kB / 0.7083 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.139, allocations: 5.188 kB / 0.7083 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/1.139, allocations: 111.8 kB / 0.7084 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/1.14, allocations: 14.17 kB / 0.7084 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/1.14, allocations: 87.88 kB / 0.7085 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/1.14, allocations: 22.94 kB / 0.7085 GB, free: 6.539 MB / 0.4981 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 (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 (60): * Single equations (assignments): 58 * 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.000311/1.14, allocations: 201.2 kB / 0.7087 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.141, allocations: 63.84 kB / 0.7088 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/1.142, allocations: 0.6735 MB / 0.7094 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.142, allocations: 11.14 kB / 0.7094 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.142, allocations: 0 / 0.7094 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.142, allocations: 3.984 kB / 0.7094 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/1.144, allocations: 1.338 MB / 0.7107 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.144, allocations: 2.938 kB / 0.7107 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/1.144, allocations: 78.06 kB / 0.7108 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.144, allocations: 6.891 kB / 0.7108 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/1.144, allocations: 15.61 kB / 0.7108 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.144, allocations: 3.094 kB / 0.7108 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.144, allocations: 7.312 kB / 0.7108 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/1.146, allocations: 0.9987 MB / 0.7118 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/1.146, allocations: 223.9 kB / 0.712 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.146, allocations: 13.17 kB / 0.712 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/1.147, allocations: 46.69 kB / 0.7121 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/1.147, allocations: 27.86 kB / 0.7121 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/1.147, allocations: 29.98 kB / 0.7121 GB, free: 5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005611/1.148, allocations: 450.3 kB / 0.7126 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.148, allocations: 3.938 kB / 0.7126 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001327/1.149, allocations: 362.5 kB / 0.7129 GB, free: 4.77 MB / 0.4981 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 (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.001074/1.15, allocations: 437.6 kB / 0.7133 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001249/1.151, allocations: 0.6248 MB / 0.714 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.151, allocations: 4.125 kB / 0.714 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004175/1.152, allocations: 275.4 kB / 0.7142 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.153, allocations: 352.1 kB / 0.7146 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/1.156, allocations: 1.663 MB / 0.7162 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/1.156, allocations: 0.925 MB / 0.7171 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005966/1.157, allocations: 156.2 kB / 0.7172 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/1.157, allocations: 57.77 kB / 0.7173 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/1.157, allocations: 0 / 0.7173 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of Templates: time 0.02944/1.186, allocations: 16.2 MB / 0.7331 GB, free: 2.777 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: