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.001215/0.001215, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.009893/0.009894, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.614/1.614, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.596/1.596, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0005791/0.0005792, allocations: 12 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6344/0.635, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2124/0.8474, allocations: 163.3 MB / 0.8882 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007604/0.8551, allocations: 6.523 MB / 0.8945 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.8555, allocations: 7.938 kB / 0.8945 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.8562, allocations: 135.1 kB / 0.8947 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.8583, allocations: 0.7938 MB / 0.8954 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.8592, allocations: 282.5 kB / 0.8957 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.8603, allocations: 1.037 MB / 0.8967 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.8607, allocations: 242.1 kB / 0.897 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.8618, allocations: 0.5136 MB / 0.8975 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.8623, allocations: 290.8 kB / 0.8977 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.8623, allocations: 15.94 kB / 0.8978 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007922/0.8631, allocations: 391 kB / 0.8981 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.8633, allocations: 103.7 kB / 0.8982 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.8635, allocations: 180.9 kB / 0.8984 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.8641, allocations: 486.4 kB / 0.8989 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8641, allocations: 0 / 0.8989 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8642, allocations: 4 kB / 0.8989 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.8642, allocations: 0 / 0.8989 GB, free: 12.4 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.00099/0.8652, allocations: 0.5765 MB / 0.8994 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.8652, allocations: 8.031 kB / 0.8994 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.8656, allocations: 67.52 kB / 0.8995 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.866, allocations: 317.8 kB / 0.8998 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.866, allocations: 20.56 kB / 0.8998 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.8661, allocations: 24 kB / 0.8998 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.8667, allocations: 308.3 kB / 0.9001 GB, free: 11 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8667, allocations: 4 kB / 0.9001 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.8667, allocations: 12 kB / 0.9002 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.8667, allocations: 4 kB / 0.9002 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.8672, allocations: 237.5 kB / 0.9004 GB, free: 10.75 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.001441/0.8687, allocations: 1.149 MB / 0.9015 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.8691, allocations: 202.5 kB / 0.9017 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.8694, allocations: 116.8 kB / 0.9018 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/0.87, allocations: 315.2 kB / 0.9021 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.87, allocations: 38.5 kB / 0.9022 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.87, allocations: 0 / 0.9022 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0009439/0.871, allocations: 355.8 kB / 0.9025 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.8711, allocations: 59.41 kB / 0.9025 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.8714, allocations: 304.5 kB / 0.9028 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.8715, allocations: 25.7 kB / 0.9029 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.8716, allocations: 172.2 kB / 0.903 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/0.8717, allocations: 67.09 kB / 0.9031 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.8717, allocations: 21.7 kB / 0.9031 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.872, allocations: 338.8 kB / 0.9034 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.8722, allocations: 91.88 kB / 0.9035 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.8724, allocations: 112.3 kB / 0.9036 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.8728, allocations: 201.6 kB / 0.9038 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8728, allocations: 0 / 0.9038 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004836/0.8733, allocations: 259.4 kB / 0.9041 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8733, allocations: 12 kB / 0.9041 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8733, allocations: 0 / 0.9041 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.8734, allocations: 0 / 0.9041 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.8735, allocations: 47.91 kB / 0.9041 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8736, allocations: 7.938 kB / 0.9041 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.8738, allocations: 43.67 kB / 0.9042 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.8738, allocations: 4 kB / 0.9042 GB, free: 6.621 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.0001734/0.874, allocations: 153.8 kB / 0.9043 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.8741, allocations: 27.7 kB / 0.9044 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.8747, allocations: 275.8 kB / 0.9046 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8747, allocations: 4 kB / 0.9046 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8747, allocations: 0 / 0.9046 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.8747, allocations: 0 / 0.9046 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.876, allocations: 0.7809 MB / 0.9054 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8761, allocations: 0 / 0.9054 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.8763, allocations: 48.12 kB / 0.9054 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.8763, allocations: 4.047 kB / 0.9054 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.8763, allocations: 15.92 kB / 0.9054 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.8763, allocations: 4 kB / 0.9054 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8763, allocations: 0 / 0.9054 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.8771, allocations: 0.5114 MB / 0.9059 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.8773, allocations: 124.7 kB / 0.9061 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.8773, allocations: 7.938 kB / 0.9061 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.8775, allocations: 19.98 kB / 0.9061 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.8776, allocations: 23.98 kB / 0.9061 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.8776, allocations: 12 kB / 0.9061 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000209/0.8778, allocations: 219 kB / 0.9063 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8778, allocations: 0 / 0.9063 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003829/0.8782, allocations: 79.84 kB / 0.9064 GB, free: 4.18 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.0004223/0.8786, allocations: 152.3 kB / 0.9066 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.8791, allocations: 207.8 kB / 0.9068 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8791, allocations: 0 / 0.9068 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.8794, allocations: 119.8 kB / 0.9069 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/0.8803, allocations: 153.2 kB / 0.907 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.8816, allocations: 0.8256 MB / 0.9078 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.882, allocations: 0.7876 MB / 0.9086 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.8822, allocations: 66.88 kB / 0.9087 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.8823, allocations: 27.44 kB / 0.9087 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.8823, allocations: 0 / 0.9087 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.4916/1.374, allocations: 5.058 MB / 0.9136 GB, free: 183.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: