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.006298/0.006298, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001129/0.001129, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.422/1.422, allocations: 251.7 MB / 0.5094 GB, free: 436 kB / 430.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.00152/0.00152, allocations: 71.89 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.7582, allocations: 104.7 MB / 0.828 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2/0.9583, allocations: 167.7 MB / 0.9918 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007951/0.9663, allocations: 6.606 MB / 0.9982 GB, free: 3.664 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.967, allocations: 11.94 kB / 0.9982 GB, free: 3.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.9676, allocations: 170.7 kB / 0.9984 GB, free: 3.484 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.9702, allocations: 0.8752 MB / 0.9993 GB, free: 2.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.9713, allocations: 336.1 kB / 0.9996 GB, free: 2.281 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009694/0.9723, allocations: 0.7485 MB / 1 GB, free: 1.531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.9728, allocations: 279.3 kB / 1.001 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.9741, allocations: 0.5798 MB / 1.001 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.9745, allocations: 282.9 kB / 1.001 GB, free: 408 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.9745, allocations: 28 kB / 1.001 GB, free: 380 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.9752, allocations: 355.2 kB / 1.002 GB, free: 24 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.9754, allocations: 103.8 kB / 1.002 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.9756, allocations: 175.1 kB / 1.002 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.9763, allocations: 492.8 kB / 1.003 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9763, allocations: 0 / 1.003 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9763, allocations: 0 / 1.003 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.9763, allocations: 0 / 1.003 GB, free: 15.27 MB / 0.8106 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.0009406/0.9772, allocations: 0.6311 MB / 1.003 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9773, allocations: 12.03 kB / 1.003 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.9777, allocations: 59.56 kB / 1.003 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.9783, allocations: 345.7 kB / 1.004 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.9784, allocations: 16.56 kB / 1.004 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.9784, allocations: 28 kB / 1.004 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.979, allocations: 300.2 kB / 1.004 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.979, allocations: 3.984 kB / 1.004 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.9791, allocations: 16 kB / 1.004 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.9791, allocations: 4 kB / 1.004 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.9796, allocations: 221.5 kB / 1.004 GB, free: 13.55 MB / 0.8106 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.001488/0.9811, allocations: 1.145 MB / 1.005 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.9815, allocations: 186.5 kB / 1.005 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.9818, allocations: 116.8 kB / 1.006 GB, free: 12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.9823, allocations: 299.2 kB / 1.006 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.9824, allocations: 30.56 kB / 1.006 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 3.126e-06/0.9824, allocations: 4 kB / 1.006 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0008803/0.9833, allocations: 352.4 kB / 1.006 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.9834, allocations: 51.41 kB / 1.006 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.9837, allocations: 296.6 kB / 1.006 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.9837, allocations: 33.7 kB / 1.007 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.9838, allocations: 172.2 kB / 1.007 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.9839, allocations: 63.09 kB / 1.007 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.984, allocations: 41.66 kB / 1.007 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9841, allocations: 342.8 kB / 1.007 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.9843, allocations: 75.95 kB / 1.007 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.9845, allocations: 108.3 kB / 1.007 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.9849, allocations: 201.4 kB / 1.007 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9849, allocations: 0 / 1.007 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004559/0.9854, allocations: 248.8 kB / 1.008 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.9854, allocations: 4 kB / 1.008 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.9854, allocations: 4 kB / 1.008 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9854, allocations: 8.031 kB / 1.008 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.9856, allocations: 35.92 kB / 1.008 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.9856, allocations: 4 kB / 1.008 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.9858, allocations: 31.67 kB / 1.008 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.9859, allocations: 8 kB / 1.008 GB, free: 9.508 MB / 0.8106 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.0001581/0.986, allocations: 153.7 kB / 1.008 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.9861, allocations: 31.61 kB / 1.008 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.9866, allocations: 263.9 kB / 1.008 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.9867, allocations: 4 kB / 1.008 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9867, allocations: 0 / 1.008 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9867, allocations: 0 / 1.008 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.9879, allocations: 0.773 MB / 1.009 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9879, allocations: 4 kB / 1.009 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.9881, allocations: 35.97 kB / 1.009 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.9881, allocations: 7.938 kB / 1.009 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.9881, allocations: 11.94 kB / 1.009 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.9881, allocations: 8.219 kB / 1.009 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9881, allocations: 0 / 1.009 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.9889, allocations: 0.4893 MB / 1.01 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.989, allocations: 124.7 kB / 1.01 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.9891, allocations: 3.938 kB / 1.01 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.9893, allocations: 19.98 kB / 1.01 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.9894, allocations: 20.09 kB / 1.01 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.9894, allocations: 7.984 kB / 1.01 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002086/0.9896, allocations: 215.1 kB / 1.01 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9896, allocations: 0 / 1.01 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003897/0.99, allocations: 87.83 kB / 1.01 GB, free: 7.117 MB / 0.8106 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.0004853/0.9905, allocations: 149.2 kB / 1.01 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.991, allocations: 203.8 kB / 1.01 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.991, allocations: 0 / 1.01 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.9912, allocations: 124 kB / 1.01 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.9921, allocations: 147.6 kB / 1.011 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.9932, allocations: 0.6764 MB / 1.011 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.9936, allocations: 0.7873 MB / 1.012 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.9938, allocations: 62.94 kB / 1.012 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.9938, allocations: 31.42 kB / 1.012 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.9938, allocations: 0 / 1.012 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of Templates: time 0.01065/1.005, allocations: 5.421 MB / 1.017 GB, free: 15.54 MB / 0.8262 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)