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.284/1.284, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.000937/0.000937, allocations: 170.3 kB / 325.8 MB, free: 2.711 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.662/1.662, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007158/0.0007159, allocations: 95.98 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 8.781 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7538/0.9926, allocations: 165.1 MB / 1.057 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006903/0.9996, allocations: 6.612 MB / 1.064 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.9999, allocations: 11.53 kB / 1.064 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004945/1, allocations: 132.2 kB / 1.064 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/1.002, allocations: 0.7886 MB / 1.065 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007741/1.003, allocations: 289.8 kB / 1.065 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001013/1.004, allocations: 1.038 MB / 1.066 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/1.005, allocations: 232.4 kB / 1.066 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/1.006, allocations: 0.5181 MB / 1.067 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/1.006, allocations: 282.5 kB / 1.067 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/1.006, allocations: 19.09 kB / 1.067 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000806/1.007, allocations: 395.9 kB / 1.067 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/1.007, allocations: 96.05 kB / 1.068 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/1.007, allocations: 155.1 kB / 1.068 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008319/1.008, allocations: 0.4908 MB / 1.068 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.008, allocations: 1.031 kB / 1.068 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.008, allocations: 0 / 1.068 GB, free: 1.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.008, allocations: 0 / 1.068 GB, free: 1.723 MB / 0.698 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.001119/1.009, allocations: 0.5695 MB / 1.069 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.01, allocations: 9.469 kB / 1.069 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.146e-05/1.01, allocations: 62.67 kB / 1.069 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/1.01, allocations: 60.14 kB / 1.069 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/1.01, allocations: 323.9 kB / 1.069 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/1.01, allocations: 22.62 kB / 1.069 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/1.011, allocations: 31.03 kB / 1.069 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/1.011, allocations: 309.2 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.011, allocations: 0.6875 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/1.011, allocations: 10 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/1.011, allocations: 10.06 kB / 1.07 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/1.012, allocations: 238.2 kB / 1.07 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.00176/1.014, allocations: 1.146 MB / 1.071 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/1.014, allocations: 195.5 kB / 1.071 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/1.014, allocations: 120.5 kB / 1.071 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/1.015, allocations: 320 kB / 1.071 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.015, allocations: 39.5 kB / 1.072 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/1.015, allocations: 0 / 1.072 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0009519/1.016, allocations: 355.1 kB / 1.072 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/1.016, allocations: 54.22 kB / 1.072 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/1.017, allocations: 298.5 kB / 1.072 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/1.017, allocations: 32.77 kB / 1.072 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.017, allocations: 176.5 kB / 1.072 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/1.017, allocations: 64.58 kB / 1.072 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/1.017, allocations: 23.48 kB / 1.072 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.017, allocations: 338.9 kB / 1.073 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/1.017, allocations: 81.09 kB / 1.073 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.018, allocations: 123.5 kB / 1.073 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/1.018, allocations: 199.2 kB / 1.073 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.018, allocations: 4.969 kB / 1.073 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005326/1.019, allocations: 256.8 kB / 1.073 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.019, allocations: 5.125 kB / 1.073 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.019, allocations: 0.875 kB / 1.073 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.019, allocations: 1.438 kB / 1.073 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/1.019, allocations: 43.42 kB / 1.074 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.019, allocations: 1.062 kB / 1.074 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/1.019, allocations: 37.38 kB / 1.074 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/1.019, allocations: 9.031 kB / 1.074 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.0001628/1.019, allocations: 164.7 kB / 1.074 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/1.019, allocations: 27.14 kB / 1.074 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/1.02, allocations: 282.6 kB / 1.074 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/1.02, allocations: 2.281 kB / 1.074 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.02, allocations: 4 kB / 1.074 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/1.02, allocations: 0.75 kB / 1.074 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/1.021, allocations: 0.7736 MB / 1.075 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.021, allocations: 1.719 kB / 1.075 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/1.021, allocations: 38.44 kB / 1.075 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.021, allocations: 6.719 kB / 1.075 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/1.022, allocations: 16.53 kB / 1.075 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/1.022, allocations: 2.469 kB / 1.075 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.022, allocations: 2.469 kB / 1.075 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/1.022, allocations: 0.5113 MB / 1.075 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/1.022, allocations: 128.6 kB / 1.075 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/1.023, allocations: 7.781 kB / 1.075 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/1.023, allocations: 16.41 kB / 1.075 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/1.023, allocations: 19.31 kB / 1.075 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/1.023, allocations: 7.125 kB / 1.075 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002283/1.023, allocations: 221.7 kB / 1.076 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.023, allocations: 0 / 1.076 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004098/1.023, allocations: 82.38 kB / 1.076 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.001453/1.025, allocations: 1.098 MB / 1.077 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005254/1.025, allocations: 208.2 kB / 1.077 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.026, allocations: 1.094 kB / 1.077 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/1.026, allocations: 119.9 kB / 1.077 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/1.027, allocations: 140.4 kB / 1.077 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/1.031, allocations: 3.179 MB / 1.08 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/1.031, allocations: 0.7887 MB / 1.081 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002609/1.032, allocations: 68.22 kB / 1.081 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/1.032, allocations: 95.25 kB / 1.081 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/1.032, allocations: 0 / 1.081 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4295/1.461, allocations: 7.935 MB / 1.089 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/1.462, allocations: 249.1 kB / 1.089 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/3.61, allocations: 3.938 kB / 1.089 GB, free: 10.01 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)