Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.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.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",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.001074/0.001074, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4596/0.4596, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009411, allocations: 99.11 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.611e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4043, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.013/4.418, allocations: 1.879 GB / 2.439 GB, free: 93.41 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/4.418, allocations: 83.77 kB / 2.439 GB, free: 93.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.511/5.93, allocations: 491.4 MB / 2.919 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/5.93, allocations: 4 kB / 2.919 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.25e-05/5.93, allocations: 24 kB / 2.919 GB, free: 77.29 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00219/5.932, allocations: 1.035 MB / 2.92 GB, free: 76.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/5.932, allocations: 11.98 kB / 2.92 GB, free: 76.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/5.932, allocations: 98.5 kB / 2.92 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/5.934, allocations: 262.8 kB / 2.921 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/5.935, allocations: 0.6227 MB / 2.921 GB, free: 75.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/5.935, allocations: 37.31 kB / 2.921 GB, free: 75.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/5.935, allocations: 56 kB / 2.921 GB, free: 75.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/5.936, allocations: 0.5894 MB / 2.922 GB, free: 74.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/5.936, allocations: 4 kB / 2.922 GB, free: 74.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/5.936, allocations: 24 kB / 2.922 GB, free: 74.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/5.936, allocations: 21.31 kB / 2.922 GB, free: 74.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/5.937, allocations: 473 kB / 2.922 GB, free: 73.96 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.002358/5.939, allocations: 2.424 MB / 2.925 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/5.94, allocations: 327.6 kB / 2.925 GB, free: 71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/5.94, allocations: 210.7 kB / 2.925 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/5.94, allocations: 319.5 kB / 2.926 GB, free: 70.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/5.94, allocations: 30.89 kB / 2.926 GB, free: 70.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/5.94, allocations: 8 kB / 2.926 GB, free: 70.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0007743/5.941, allocations: 426.7 kB / 2.926 GB, free: 69.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/5.941, allocations: 63.3 kB / 2.926 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/5.942, allocations: 432.8 kB / 2.927 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/5.942, allocations: 37.7 kB / 2.927 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/5.942, allocations: 324.5 kB / 2.927 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/5.942, allocations: 141.9 kB / 2.927 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/5.942, allocations: 12 kB / 2.927 GB, free: 68.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/5.942, allocations: 370.8 kB / 2.927 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/5.942, allocations: 140.8 kB / 2.927 GB, free: 68.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/5.942, allocations: 269.1 kB / 2.928 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/5.943, allocations: 194 kB / 2.928 GB, free: 67.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/5.943, allocations: 3.938 kB / 2.928 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005941/5.943, allocations: 492.5 kB / 2.928 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/5.944, allocations: 0.8732 MB / 2.929 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/5.944, allocations: 4 kB / 2.929 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/5.944, allocations: 4 kB / 2.929 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/5.944, allocations: 115.8 kB / 2.929 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000269/5.944, allocations: 0.5977 MB / 2.93 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/5.945, allocations: 87.56 kB / 2.93 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/5.945, allocations: 20 kB / 2.93 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/5.945, allocations: 8.938 kB / 2.93 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005215/5.946, allocations: 407.9 kB / 2.93 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/5.946, allocations: 8 kB / 2.93 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/5.946, allocations: 4 kB / 2.93 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/5.946, allocations: 99.83 kB / 2.931 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/5.946, allocations: 8.281 kB / 2.931 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/5.947, allocations: 83.53 kB / 2.931 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/5.947, allocations: 20 kB / 2.931 GB, free: 65.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/5.947, allocations: 136.8 kB / 2.931 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/5.947, allocations: 63.33 kB / 2.931 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/5.948, allocations: 427 kB / 2.931 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/5.948, allocations: 7.984 kB / 2.931 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/5.948, allocations: 4 kB / 2.931 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000538/5.948, allocations: 0.6759 MB / 2.932 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/5.95, allocations: 1.235 MB / 2.933 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/5.95, allocations: 0 / 2.933 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/5.95, allocations: 99.88 kB / 2.933 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/5.95, allocations: 4 kB / 2.933 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/5.95, allocations: 23.92 kB / 2.933 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002544/5.951, allocations: 0.5939 MB / 2.934 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/5.951, allocations: 0 / 2.934 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/5.951, allocations: 0.8178 MB / 2.935 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/5.952, allocations: 180.3 kB / 2.935 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/5.952, allocations: 19.98 kB / 2.935 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/5.952, allocations: 47.88 kB / 2.935 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/5.952, allocations: 27.95 kB / 2.935 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/5.952, allocations: 16 kB / 2.935 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003327/5.953, allocations: 341.5 kB / 2.935 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.002e-06/5.953, allocations: 0 / 2.935 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00147/5.954, allocations: 499 kB / 2.936 GB, free: 59.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002779/5.957, allocations: 3.116 MB / 2.939 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001028/5.958, allocations: 0.6199 MB / 2.939 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/5.958, allocations: 1.125 kB / 2.939 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/5.958, allocations: 200.3 kB / 2.94 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/5.96, allocations: 354.6 kB / 2.94 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/5.962, allocations: 1.286 MB / 2.941 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/5.962, allocations: 0.9665 MB / 2.942 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007638/5.963, allocations: 248.9 kB / 2.942 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/5.963, allocations: 223.4 kB / 2.943 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/5.963, allocations: 4 kB / 2.943 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0514/6.014, allocations: 42.67 MB / 2.984 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/6.015, allocations: 200.5 kB / 2.984 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/9.281, allocations: 4.062 kB / 2.984 GB, free: 9.691 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)