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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 170.8 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.578 GB, free: 20.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 93.61 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003743, allocations: 9 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8297/1.091, allocations: 163.3 MB / 1.06 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007741/1.099, allocations: 6.528 MB / 1.067 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/1.1, allocations: 13.78 kB / 1.067 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005882/1.1, allocations: 131.1 kB / 1.067 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/1.103, allocations: 0.7895 MB / 1.068 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/1.104, allocations: 293.1 kB / 1.068 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001395/1.105, allocations: 1.042 MB / 1.069 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005117/1.106, allocations: 242.4 kB / 1.069 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/1.107, allocations: 0.5107 MB / 1.07 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/1.108, allocations: 291.1 kB / 1.07 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/1.108, allocations: 15.34 kB / 1.07 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/1.109, allocations: 390.9 kB / 1.07 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/1.109, allocations: 106.6 kB / 1.07 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/1.109, allocations: 180.4 kB / 1.071 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000947/1.11, allocations: 489.7 kB / 1.071 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.11, allocations: 0.9062 kB / 1.071 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.265e-06/1.11, allocations: 0 / 1.071 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.385e-05/1.11, allocations: 0 / 1.071 GB, free: 17.72 MB / 0.7136 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.00136/1.111, allocations: 0.575 MB / 1.072 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.576e-05/1.112, allocations: 13 kB / 1.072 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/1.112, allocations: 62.61 kB / 1.072 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004762/1.112, allocations: 54.72 kB / 1.072 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/1.113, allocations: 326.2 kB / 1.072 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/1.113, allocations: 19.12 kB / 1.072 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/1.113, allocations: 24.94 kB / 1.072 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/1.114, allocations: 317.8 kB / 1.072 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.114, allocations: 1.031 kB / 1.072 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/1.114, allocations: 13.56 kB / 1.072 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/1.114, allocations: 6.625 kB / 1.072 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/1.115, allocations: 232.3 kB / 1.073 GB, free: 16.89 MB / 0.7136 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.002124/1.117, allocations: 1.148 MB / 1.074 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/1.118, allocations: 196.9 kB / 1.074 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/1.118, allocations: 118.4 kB / 1.074 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008199/1.119, allocations: 320.1 kB / 1.074 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.119, allocations: 39.42 kB / 1.074 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.355e-06/1.119, allocations: 0 / 1.074 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001173/1.12, allocations: 356.8 kB / 1.075 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.12, allocations: 55.91 kB / 1.075 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/1.12, allocations: 299.7 kB / 1.075 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/1.12, allocations: 30.67 kB / 1.075 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/1.121, allocations: 166.8 kB / 1.075 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/1.121, allocations: 63.41 kB / 1.075 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/1.121, allocations: 7.094 kB / 1.075 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.121, allocations: 343.2 kB / 1.076 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.121, allocations: 85.52 kB / 1.076 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/1.121, allocations: 116.2 kB / 1.076 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/1.122, allocations: 201.8 kB / 1.076 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.122, allocations: 0.6875 kB / 1.076 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005647/1.122, allocations: 258.3 kB / 1.076 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.122, allocations: 7.969 kB / 1.076 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.122, allocations: 1.469 kB / 1.076 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.122, allocations: 4.438 kB / 1.076 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/1.123, allocations: 38.34 kB / 1.076 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.123, allocations: 3.75 kB / 1.076 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/1.123, allocations: 48.45 kB / 1.076 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/1.123, allocations: 6.812 kB / 1.076 GB, free: 15.02 MB / 0.7136 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.0001718/1.123, allocations: 150.3 kB / 1.077 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/1.123, allocations: 28.05 kB / 1.077 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/1.124, allocations: 287.4 kB / 1.077 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.124, allocations: 5.844 kB / 1.077 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.124, allocations: 0.6875 kB / 1.077 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.124, allocations: 5.984 kB / 1.077 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/1.126, allocations: 0.7684 MB / 1.078 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.126, allocations: 5.312 kB / 1.078 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/1.126, allocations: 37.36 kB / 1.078 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.126, allocations: 4.172 kB / 1.078 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/1.126, allocations: 6.812 kB / 1.078 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/1.126, allocations: 8.688 kB / 1.078 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.126, allocations: 2.703 kB / 1.078 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/1.127, allocations: 0.5151 MB / 1.078 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/1.127, allocations: 127 kB / 1.078 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/1.127, allocations: 7.859 kB / 1.078 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/1.127, allocations: 22.19 kB / 1.078 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/1.127, allocations: 22.55 kB / 1.078 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/1.127, allocations: 8.375 kB / 1.078 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003139/1.128, allocations: 218.1 kB / 1.079 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.128, allocations: 0 / 1.079 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004555/1.128, allocations: 77.09 kB / 1.079 GB, free: 14.04 MB / 0.7136 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.001586/1.13, allocations: 1.103 MB / 1.08 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005538/1.13, allocations: 209.4 kB / 1.08 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.13, allocations: 0.7812 kB / 1.08 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/1.131, allocations: 120 kB / 1.08 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/1.132, allocations: 151.8 kB / 1.08 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/1.136, allocations: 3.213 MB / 1.083 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/1.136, allocations: 0.7921 MB / 1.084 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002862/1.137, allocations: 60.27 kB / 1.084 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/1.137, allocations: 91.33 kB / 1.084 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.137, allocations: 0 / 1.084 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/1.158, allocations: 7.935 MB / 1.092 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.159, allocations: 253.6 kB / 1.092 GB, free: 10 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.447, allocations: 11.69 kB / 1.092 GB, free: 9.996 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)