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.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001405/0.001405, allocations: 173.3 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.00117/0.00117, allocations: 99.66 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.217/6.468, allocations: 2.18 GB / 3.08 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/6.468, allocations: 93.84 kB / 3.081 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5396/7.008, allocations: 288.8 MB / 3.363 GB, free: 53.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.864e-06/7.008, allocations: 0 / 3.363 GB, free: 53.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.875e-05/7.008, allocations: 15.98 kB / 3.363 GB, free: 53.89 MB / 0.8855 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.001313/7.009, allocations: 0.6938 MB / 3.363 GB, free: 53.15 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/7.009, allocations: 11.97 kB / 3.363 GB, free: 53.14 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/7.009, allocations: 62.53 kB / 3.363 GB, free: 53.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/7.01, allocations: 59.5 kB / 3.363 GB, free: 53.01 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/7.01, allocations: 337.8 kB / 3.364 GB, free: 52.63 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/7.01, allocations: 20.56 kB / 3.364 GB, free: 52.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/7.01, allocations: 31.95 kB / 3.364 GB, free: 52.58 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/7.011, allocations: 300.2 kB / 3.364 GB, free: 52.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/7.011, allocations: 0 / 3.364 GB, free: 52.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/7.011, allocations: 12 kB / 3.364 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/7.011, allocations: 4 kB / 3.364 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/7.011, allocations: 225.5 kB / 3.364 GB, free: 52.04 MB / 0.8855 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.001151/7.012, allocations: 1.133 MB / 3.365 GB, free: 50.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/7.013, allocations: 174.5 kB / 3.366 GB, free: 50.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004344/7.013, allocations: 299.3 kB / 3.366 GB, free: 50.28 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/7.013, allocations: 46.44 kB / 3.366 GB, free: 50.22 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/7.013, allocations: 0 / 3.366 GB, free: 50.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0007127/7.014, allocations: 329.5 kB / 3.366 GB, free: 49.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/7.014, allocations: 51.41 kB / 3.366 GB, free: 49.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/7.014, allocations: 263.7 kB / 3.367 GB, free: 49.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/7.014, allocations: 33.7 kB / 3.367 GB, free: 49.53 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/7.014, allocations: 168.3 kB / 3.367 GB, free: 49.36 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/7.014, allocations: 67.03 kB / 3.367 GB, free: 49.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/7.014, allocations: 8 kB / 3.367 GB, free: 49.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/7.014, allocations: 338.8 kB / 3.367 GB, free: 48.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/7.014, allocations: 76.33 kB / 3.367 GB, free: 48.87 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/7.015, allocations: 116.1 kB / 3.367 GB, free: 48.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/7.015, allocations: 89.98 kB / 3.367 GB, free: 48.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/7.015, allocations: 0 / 3.367 GB, free: 48.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003711/7.015, allocations: 249.2 kB / 3.368 GB, free: 48.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/7.015, allocations: 4 kB / 3.368 GB, free: 48.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/7.015, allocations: 3.938 kB / 3.368 GB, free: 48.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/7.015, allocations: 4 kB / 3.368 GB, free: 48.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/7.015, allocations: 43.95 kB / 3.368 GB, free: 48.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/7.015, allocations: 0 / 3.368 GB, free: 48.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/7.016, allocations: 39.72 kB / 3.368 GB, free: 48.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/7.016, allocations: 8 kB / 3.368 GB, free: 48.31 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/7.016, allocations: 153.8 kB / 3.368 GB, free: 48.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/7.016, allocations: 31.67 kB / 3.368 GB, free: 48.12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/7.016, allocations: 266.1 kB / 3.368 GB, free: 47.85 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/7.016, allocations: 7.984 kB / 3.368 GB, free: 47.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/7.016, allocations: 0 / 3.368 GB, free: 47.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/7.016, allocations: 4 kB / 3.368 GB, free: 47.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/7.017, allocations: 0.742 MB / 3.369 GB, free: 47.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/7.017, allocations: 4 kB / 3.369 GB, free: 47.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/7.017, allocations: 39.98 kB / 3.369 GB, free: 46.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/7.017, allocations: 4 kB / 3.369 GB, free: 46.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/7.017, allocations: 4 kB / 3.369 GB, free: 46.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/7.017, allocations: 8.156 kB / 3.369 GB, free: 46.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/7.017, allocations: 4 kB / 3.369 GB, free: 46.96 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/7.018, allocations: 0.5715 MB / 3.369 GB, free: 46.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/7.018, allocations: 120.7 kB / 3.37 GB, free: 46.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/7.018, allocations: 11.98 kB / 3.37 GB, free: 46.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/7.018, allocations: 24.05 kB / 3.37 GB, free: 46.13 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/7.018, allocations: 19.94 kB / 3.37 GB, free: 46.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/7.018, allocations: 4 kB / 3.37 GB, free: 46.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001614/7.019, allocations: 219 kB / 3.37 GB, free: 45.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/7.019, allocations: 3.938 kB / 3.37 GB, free: 45.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008001/7.019, allocations: 187.8 kB / 3.37 GB, free: 45.71 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002482/7.022, allocations: 2.675 MB / 3.373 GB, free: 42.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003878/7.022, allocations: 195.8 kB / 3.373 GB, free: 42.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/7.022, allocations: 0 / 3.373 GB, free: 42.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/7.023, allocations: 111.8 kB / 3.373 GB, free: 42.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/7.023, allocations: 158 kB / 3.373 GB, free: 42.49 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/7.025, allocations: 2.007 MB / 3.375 GB, free: 40.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/7.026, allocations: 0.7917 MB / 3.376 GB, free: 39.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001983/7.026, allocations: 62.94 kB / 3.376 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/7.026, allocations: 91.41 kB / 3.376 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/7.026, allocations: 0 / 3.376 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/7.067, allocations: 26.61 MB / 3.402 GB, free: 13 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/7.067, allocations: 227.7 kB / 3.402 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/10, allocations: 0 / 3.402 GB, free: 12.76 MB / 0.8855 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)