Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 174.9 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.499/0.499, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.5 MB / 343.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.000887, allocations: 95.27 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.062e-05, allocations: 8 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.738/4.883, allocations: 1.82 GB / 2.374 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/4.883, allocations: 87.39 kB / 2.374 GB, free: 84.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.922/5.805, allocations: 296.8 MB / 2.664 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804e-06/5.806, allocations: 4 kB / 2.664 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.818e-05/5.806, allocations: 4.188 kB / 2.664 GB, free: 34.38 MB / 0.6042 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.001044/5.807, allocations: 0.6579 MB / 2.664 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/5.807, allocations: 16.02 kB / 2.664 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/5.807, allocations: 59.5 kB / 2.664 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/5.807, allocations: 325.9 kB / 2.665 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/5.807, allocations: 8 kB / 2.665 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/5.807, allocations: 16 kB / 2.665 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000241/5.808, allocations: 141.1 kB / 2.665 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/5.808, allocations: 258.8 kB / 2.665 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/5.808, allocations: 0 / 2.665 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/5.808, allocations: 0 / 2.665 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/5.808, allocations: 8 kB / 2.665 GB, free: 32.79 MB / 0.6042 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.001076/5.809, allocations: 1.456 MB / 2.667 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/5.809, allocations: 86.55 kB / 2.667 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/5.809, allocations: 60.84 kB / 2.667 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/5.81, allocations: 303.3 kB / 2.667 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/5.81, allocations: 38.55 kB / 2.667 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/5.81, allocations: 0 / 2.667 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0005086/5.81, allocations: 195.2 kB / 2.667 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/5.81, allocations: 55.41 kB / 2.667 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/5.811, allocations: 190.1 kB / 2.667 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/5.811, allocations: 37.64 kB / 2.667 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/5.811, allocations: 184 kB / 2.668 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/5.811, allocations: 47.3 kB / 2.668 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/5.811, allocations: 0 / 2.668 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/5.811, allocations: 330.8 kB / 2.668 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/5.811, allocations: 39.98 kB / 2.668 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/5.811, allocations: 104.1 kB / 2.668 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/5.811, allocations: 83.81 kB / 2.668 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/5.811, allocations: 0 / 2.668 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002731/5.811, allocations: 193.4 kB / 2.668 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/5.811, allocations: 8 kB / 2.668 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/5.811, allocations: 0 / 2.668 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/5.811, allocations: 4 kB / 2.668 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/5.812, allocations: 39.91 kB / 2.668 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/5.812, allocations: 0 / 2.668 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/5.812, allocations: 31.91 kB / 2.668 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/5.812, allocations: 15.98 kB / 2.668 GB, free: 29.06 MB / 0.6042 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 5.803e-05/5.812, allocations: 104.9 kB / 2.669 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002914/5.812, allocations: 169.6 kB / 2.669 GB, free: 28.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/5.812, allocations: 23.72 kB / 2.669 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/5.813, allocations: 187.5 kB / 2.669 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/5.813, allocations: 7.891 kB / 2.669 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/5.813, allocations: 0 / 2.669 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/5.813, allocations: 4 kB / 2.669 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/5.813, allocations: 0.6255 MB / 2.67 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/5.813, allocations: 4.219 kB / 2.67 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/5.813, allocations: 31.92 kB / 2.67 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/5.813, allocations: 4 kB / 2.67 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/5.813, allocations: 4 kB / 2.67 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/5.813, allocations: 0 / 2.67 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/5.813, allocations: 7.984 kB / 2.67 GB, free: 27.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/5.814, allocations: 401.8 kB / 2.67 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/5.814, allocations: 108.8 kB / 2.67 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/5.814, allocations: 7.984 kB / 2.67 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/5.814, allocations: 23.97 kB / 2.67 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/5.814, allocations: 11.98 kB / 2.67 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/5.814, allocations: 8 kB / 2.67 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.907e-05/5.814, allocations: 153.9 kB / 2.67 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/5.814, allocations: 0 / 2.67 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005596/5.815, allocations: 155.7 kB / 2.67 GB, free: 26.86 MB / 0.6042 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.002062/5.817, allocations: 2.662 MB / 2.673 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002148/5.817, allocations: 107.9 kB / 2.673 GB, free: 24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/5.817, allocations: 0 / 2.673 GB, free: 24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/5.817, allocations: 68.47 kB / 2.673 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/5.818, allocations: 76.58 kB / 2.673 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/5.818, allocations: 449.4 kB / 2.674 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/5.819, allocations: 0.7867 MB / 2.674 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001416/5.819, allocations: 42.05 kB / 2.675 GB, free: 22.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/5.819, allocations: 87.41 kB / 2.675 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/5.819, allocations: 0 / 2.675 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/5.853, allocations: 14.75 MB / 2.689 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/5.853, allocations: 164.1 kB / 2.689 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/8.064, allocations: 4 kB / 2.689 GB, free: 7.539 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)