Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.564/1.564, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 176.7 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 98.69 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.901e-05, allocations: 8 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7256, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.248/5.973, allocations: 2.061 GB / 3.026 GB, free: 99.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/5.973, allocations: 84.7 kB / 3.026 GB, free: 99.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.366/7.34, allocations: 294.1 MB / 3.313 GB, free: 190.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/7.34, allocations: 4 kB / 3.313 GB, free: 190.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.658e-05/7.34, allocations: 8 kB / 3.313 GB, free: 190.7 MB / 0.948 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.001539/7.342, allocations: 0.6431 MB / 3.314 GB, free: 190 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/7.342, allocations: 12.03 kB / 3.314 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/7.342, allocations: 60.36 kB / 3.314 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/7.343, allocations: 327 kB / 3.314 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/7.343, allocations: 11.95 kB / 3.314 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/7.343, allocations: 16 kB / 3.314 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003044/7.343, allocations: 141.1 kB / 3.314 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/7.344, allocations: 258.6 kB / 3.315 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/7.344, allocations: 4 kB / 3.315 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/7.344, allocations: 0 / 3.315 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/7.344, allocations: 8 kB / 3.315 GB, free: 189.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001381/7.345, allocations: 1.452 MB / 3.316 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/7.345, allocations: 86.56 kB / 3.316 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/7.345, allocations: 64.83 kB / 3.316 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/7.346, allocations: 299.3 kB / 3.316 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/7.346, allocations: 34.56 kB / 3.317 GB, free: 187 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/7.346, allocations: 0 / 3.317 GB, free: 187 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0007623/7.347, allocations: 198.4 kB / 3.317 GB, free: 186.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/7.347, allocations: 59.41 kB / 3.317 GB, free: 186.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/7.347, allocations: 186.1 kB / 3.317 GB, free: 186.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/7.347, allocations: 25.7 kB / 3.317 GB, free: 186.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/7.347, allocations: 196 kB / 3.317 GB, free: 186.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/7.347, allocations: 39.36 kB / 3.317 GB, free: 186.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/7.347, allocations: 3.938 kB / 3.317 GB, free: 186.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/7.347, allocations: 338.8 kB / 3.318 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-05/7.347, allocations: 39.98 kB / 3.318 GB, free: 185.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/7.347, allocations: 98.86 kB / 3.318 GB, free: 185.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/7.348, allocations: 92 kB / 3.318 GB, free: 185.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/7.348, allocations: 3.938 kB / 3.318 GB, free: 185.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003322/7.348, allocations: 190.2 kB / 3.318 GB, free: 185.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/7.348, allocations: 9.094 kB / 3.318 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/7.348, allocations: 0 / 3.318 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/7.348, allocations: 4 kB / 3.318 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/7.348, allocations: 40.08 kB / 3.318 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/7.348, allocations: 3.984 kB / 3.318 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/7.349, allocations: 27.83 kB / 3.318 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/7.349, allocations: 12 kB / 3.318 GB, free: 185.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.768e-05/7.349, allocations: 108.9 kB / 3.318 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002821/7.349, allocations: 170.3 kB / 3.318 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/7.349, allocations: 23.72 kB / 3.318 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/7.349, allocations: 188.2 kB / 3.318 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/7.349, allocations: 4 kB / 3.318 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/7.349, allocations: 0 / 3.318 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/7.349, allocations: 0 / 3.318 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/7.35, allocations: 0.6255 MB / 3.319 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/7.35, allocations: 4 kB / 3.319 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/7.35, allocations: 35.86 kB / 3.319 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/7.35, allocations: 4 kB / 3.319 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/7.35, allocations: 0 / 3.319 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/7.35, allocations: 8.219 kB / 3.319 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/7.35, allocations: 7.953 kB / 3.319 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/7.351, allocations: 397.6 kB / 3.32 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/7.351, allocations: 104.9 kB / 3.32 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/7.351, allocations: 12.08 kB / 3.32 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/7.351, allocations: 19.98 kB / 3.32 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/7.351, allocations: 11.92 kB / 3.32 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/7.351, allocations: 8 kB / 3.32 GB, free: 183.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001015/7.351, allocations: 154 kB / 3.32 GB, free: 183.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.351, allocations: 0 / 3.32 GB, free: 183.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007157/7.352, allocations: 155.7 kB / 3.32 GB, free: 183.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002628/7.355, allocations: 2.665 MB / 3.323 GB, free: 180.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002704/7.355, allocations: 119.9 kB / 3.323 GB, free: 180.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/7.355, allocations: 0 / 3.323 GB, free: 180.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/7.355, allocations: 63.86 kB / 3.323 GB, free: 180.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/7.356, allocations: 83.62 kB / 3.323 GB, free: 180.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/7.357, allocations: 433.6 kB / 3.323 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/7.357, allocations: 0.7914 MB / 3.324 GB, free: 178.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001951/7.357, allocations: 46.17 kB / 3.324 GB, free: 178.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/7.357, allocations: 91.41 kB / 3.324 GB, free: 178.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/7.357, allocations: 0 / 3.324 GB, free: 178.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/7.399, allocations: 14.72 MB / 3.339 GB, free: 164.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/7.399, allocations: 170 kB / 3.339 GB, free: 163.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/9.745, allocations: 0 / 3.339 GB, free: 163.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)