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.005095/0.005095, allocations: 101.8 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.001132/0.001132, allocations: 182.7 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.475/1.475, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.615/1.615, allocations: 251.7 MB / 0.5094 GB, free: 3.098 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.001669/0.001669, allocations: 71.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2586, allocations: 104.7 MB / 0.8281 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7535/1.012, allocations: 167.7 MB / 0.9918 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007476/1.02, allocations: 6.604 MB / 0.9982 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/1.02, allocations: 15.81 kB / 0.9983 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/1.021, allocations: 169.6 kB / 0.9984 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/1.023, allocations: 0.8717 MB / 0.9993 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009686/1.024, allocations: 325.8 kB / 0.9996 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0007958/1.025, allocations: 0.7517 MB / 1 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/1.025, allocations: 278.5 kB / 1.001 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/1.026, allocations: 0.5794 MB / 1.001 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/1.027, allocations: 282.6 kB / 1.001 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/1.027, allocations: 27.25 kB / 1.001 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/1.028, allocations: 350.8 kB / 1.002 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/1.028, allocations: 108.3 kB / 1.002 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/1.028, allocations: 171.5 kB / 1.002 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006163/1.029, allocations: 498.7 kB / 1.003 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/1.029, allocations: 0 / 1.003 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.423e-06/1.029, allocations: 2.719 kB / 1.003 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.054e-06/1.029, allocations: 0 / 1.003 GB, free: 3.055 MB / 0.7481 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.0009085/1.03, allocations: 0.6302 MB / 1.003 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.03, allocations: 10.16 kB / 1.003 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/1.03, allocations: 58 kB / 1.003 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/1.03, allocations: 340.1 kB / 1.004 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.03, allocations: 18.78 kB / 1.004 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/1.03, allocations: 25.34 kB / 1.004 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/1.031, allocations: 305.1 kB / 1.004 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.031, allocations: 0 / 1.004 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.031, allocations: 10.94 kB / 1.004 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/1.031, allocations: 7.406 kB / 1.004 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/1.031, allocations: 219.7 kB / 1.004 GB, free: 1.836 MB / 0.7481 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.001442/1.033, allocations: 1.146 MB / 1.005 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/1.033, allocations: 195.6 kB / 1.005 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/1.034, allocations: 108.5 kB / 1.006 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/1.034, allocations: 304.6 kB / 1.006 GB, free: 356 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.034, allocations: 30.56 kB / 1.006 GB, free: 316 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 3.948e-06/1.034, allocations: 2.094 kB / 1.006 GB, free: 316 kB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.000812/1.035, allocations: 349.9 kB / 1.006 GB, free: 128 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/1.035, allocations: 54.16 kB / 1.006 GB, free: 64 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/1.035, allocations: 300.9 kB / 1.006 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/1.035, allocations: 25.7 kB / 1.007 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.036, allocations: 170.8 kB / 1.007 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/1.036, allocations: 69.42 kB / 1.007 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/1.036, allocations: 40.98 kB / 1.007 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.036, allocations: 342.4 kB / 1.007 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.036, allocations: 83.95 kB / 1.007 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/1.036, allocations: 110.7 kB / 1.007 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/1.037, allocations: 184.4 kB / 1.007 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.037, allocations: 4.812 kB / 1.007 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004537/1.037, allocations: 255.4 kB / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.037, allocations: 4.844 kB / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.037, allocations: 0 / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.037, allocations: 2.219 kB / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/1.037, allocations: 42.39 kB / 1.008 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.037, allocations: 0 / 1.008 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/1.037, allocations: 30.8 kB / 1.008 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/1.038, allocations: 15.56 kB / 1.008 GB, free: 14.86 MB / 0.7637 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.0001316/1.038, allocations: 148.7 kB / 1.008 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/1.038, allocations: 26.84 kB / 1.008 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/1.038, allocations: 271.9 kB / 1.008 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.038, allocations: 3 kB / 1.008 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.038, allocations: 0 / 1.008 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.038, allocations: 3.984 kB / 1.008 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/1.039, allocations: 0.7602 MB / 1.009 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.039, allocations: 6.156 kB / 1.009 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/1.04, allocations: 42.38 kB / 1.009 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.04, allocations: 2.719 kB / 1.009 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/1.04, allocations: 8.188 kB / 1.009 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.04, allocations: 6.562 kB / 1.009 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.04, allocations: 2.031 kB / 1.009 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/1.04, allocations: 0.4929 MB / 1.01 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/1.041, allocations: 132.1 kB / 1.01 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/1.041, allocations: 10.66 kB / 1.01 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/1.041, allocations: 10.83 kB / 1.01 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/1.041, allocations: 19.67 kB / 1.01 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.041, allocations: 4.969 kB / 1.01 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0001998/1.041, allocations: 220.3 kB / 1.01 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.041, allocations: 0 / 1.01 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003857/1.041, allocations: 82.36 kB / 1.01 GB, free: 13.22 MB / 0.7637 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.0003755/1.042, allocations: 157.1 kB / 1.01 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004578/1.042, allocations: 214.1 kB / 1.01 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.042, allocations: 0 / 1.01 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.043, allocations: 108.5 kB / 1.01 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/1.043, allocations: 152.6 kB / 1.011 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/1.044, allocations: 0.6818 MB / 1.011 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/1.045, allocations: 0.7897 MB / 1.012 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001964/1.045, allocations: 62.22 kB / 1.012 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/1.045, allocations: 31.41 kB / 1.012 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of SimCode: time 2.61e-07/1.045, allocations: 0 / 1.012 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.01063/1.056, allocations: 5.411 MB / 1.017 GB, free: 8.93 MB / 0.7637 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)