Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.52/1.52, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.75/1.75, allocations: 251.7 MB / 0.5092 GB, free: 3.16 MB / 414.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: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 0.6223 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6182/0.6204, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1991/0.8196, allocations: 167.7 MB / 0.8883 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007829/0.8275, allocations: 6.596 MB / 0.8947 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.8282, allocations: 11.94 kB / 0.8947 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.8289, allocations: 166.7 kB / 0.8949 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.8313, allocations: 0.844 MB / 0.8957 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.8325, allocations: 330 kB / 0.896 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009648/0.8335, allocations: 0.7408 MB / 0.8967 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.8339, allocations: 286.7 kB / 0.897 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.8351, allocations: 0.5604 MB / 0.8975 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.8355, allocations: 279 kB / 0.8978 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.8356, allocations: 31.94 kB / 0.8978 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00071/0.8363, allocations: 335.2 kB / 0.8982 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.8364, allocations: 115.7 kB / 0.8983 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.8366, allocations: 167.2 kB / 0.8984 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.8373, allocations: 482.5 kB / 0.8989 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.8373, allocations: 7.938 kB / 0.8989 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8373, allocations: 0 / 0.8989 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.8373, allocations: 4 kB / 0.8989 GB, free: 9.691 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009659/0.8383, allocations: 0.6272 MB / 0.8995 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.8383, allocations: 8.031 kB / 0.8995 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.8387, allocations: 63.58 kB / 0.8996 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.8391, allocations: 321.8 kB / 0.8999 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.8392, allocations: 20.56 kB / 0.8999 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.8392, allocations: 24 kB / 0.8999 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.8398, allocations: 308.2 kB / 0.9002 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.8398, allocations: 0 / 0.9002 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.8399, allocations: 8 kB / 0.9002 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.8399, allocations: 8 kB / 0.9002 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.8404, allocations: 225.5 kB / 0.9005 GB, free: 8.004 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.8419, allocations: 1.148 MB / 0.9016 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.8423, allocations: 193.9 kB / 0.9018 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.8426, allocations: 108.8 kB / 0.9019 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/0.8433, allocations: 307.2 kB / 0.9022 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.8434, allocations: 38.5 kB / 0.9022 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.8434, allocations: 0 / 0.9022 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0009018/0.8443, allocations: 341.4 kB / 0.9025 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.8444, allocations: 59.34 kB / 0.9026 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.8447, allocations: 304.5 kB / 0.9029 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.8448, allocations: 25.7 kB / 0.9029 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.8449, allocations: 172.2 kB / 0.9031 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.845, allocations: 67.03 kB / 0.9031 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.8451, allocations: 41.7 kB / 0.9032 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8452, allocations: 342.8 kB / 0.9035 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.8454, allocations: 79.94 kB / 0.9036 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.8456, allocations: 113.3 kB / 0.9037 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.846, allocations: 183.8 kB / 0.9038 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.846, allocations: 4 kB / 0.9039 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004867/0.8465, allocations: 249.1 kB / 0.9041 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8465, allocations: 8 kB / 0.9041 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.8465, allocations: 0 / 0.9041 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8465, allocations: 0 / 0.9041 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.8467, allocations: 43.97 kB / 0.9041 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8467, allocations: 0 / 0.9041 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.8469, allocations: 35.7 kB / 0.9042 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.8469, allocations: 15.94 kB / 0.9042 GB, free: 3.941 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 prepare postOptimizeDAE: time 0.0001524/0.8471, allocations: 145.8 kB / 0.9043 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.8472, allocations: 27.72 kB / 0.9044 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.8477, allocations: 271.8 kB / 0.9046 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.8477, allocations: 3.984 kB / 0.9046 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8477, allocations: 4 kB / 0.9046 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8478, allocations: 0 / 0.9046 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.849, allocations: 0.7654 MB / 0.9054 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.849, allocations: 0 / 0.9054 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.8492, allocations: 39.92 kB / 0.9054 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.8492, allocations: 4 kB / 0.9054 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.8492, allocations: 7.938 kB / 0.9054 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8492, allocations: 7.984 kB / 0.9054 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8492, allocations: 4 kB / 0.9054 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.8499, allocations: 0.4919 MB / 0.9059 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.8501, allocations: 124.7 kB / 0.906 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.8501, allocations: 11.94 kB / 0.906 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.8503, allocations: 7.984 kB / 0.906 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.8504, allocations: 15.98 kB / 0.9061 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.8504, allocations: 8 kB / 0.9061 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002053/0.8506, allocations: 223 kB / 0.9063 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.422e-06/0.8506, allocations: 4.062 kB / 0.9063 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003751/0.851, allocations: 83.78 kB / 0.9064 GB, free: 1.555 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.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 (19): * Single equations (assignments): 19 * 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.0004027/0.8514, allocations: 156.2 kB / 0.9065 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.8519, allocations: 211.7 kB / 0.9067 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8519, allocations: 0 / 0.9067 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.8521, allocations: 107.8 kB / 0.9068 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/0.853, allocations: 159.8 kB / 0.907 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.8542, allocations: 0.6829 MB / 0.9076 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4562/1.31, allocations: 0.7803 MB / 0.9084 GB, free: 185 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003612/1.311, allocations: 64.73 kB / 0.9085 GB, free: 185 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/1.311, allocations: 25.44 kB / 0.9085 GB, free: 185 MB / 0.7169 GB Notification: Performance of SimCode: time 8.72e-07/1.311, allocations: 0.75 kB / 0.9085 GB, free: 185 MB / 0.7169 GB Notification: Performance of Templates: time 0.01894/1.33, allocations: 5.39 MB / 0.9138 GB, free: 184.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)