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.001749/0.001749, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5128/0.5128, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.615/1.615, allocations: 223.2 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 104.2 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 72.31 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.309/5.493, allocations: 1.879 GB / 2.448 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004443/5.494, allocations: 95.95 kB / 2.448 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.704/8.198, allocations: 491.9 MB / 2.928 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/8.198, allocations: 1.094 kB / 2.928 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.408e-05/8.198, allocations: 25.86 kB / 2.928 GB, free: 115.6 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.003217/8.201, allocations: 1.151 MB / 2.929 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/8.201, allocations: 8.25 kB / 2.929 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/8.201, allocations: 97.8 kB / 2.93 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/8.203, allocations: 267.8 kB / 2.93 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/8.205, allocations: 0.6109 MB / 2.93 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/8.205, allocations: 44.56 kB / 2.93 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/8.205, allocations: 59.25 kB / 2.931 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/8.206, allocations: 0.6093 MB / 2.931 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/8.207, allocations: 5.109 kB / 2.931 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/8.207, allocations: 25.09 kB / 2.931 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/8.207, allocations: 19.95 kB / 2.931 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/8.208, allocations: 0.5031 MB / 2.932 GB, free: 114.8 MB / 0.6042 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.003475/8.211, allocations: 2.426 MB / 2.934 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/8.212, allocations: 359.8 kB / 2.934 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/8.213, allocations: 306 kB / 2.935 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/8.213, allocations: 39.17 kB / 2.935 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 3.246e-06/8.213, allocations: 3.281 kB / 2.935 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.001515/8.214, allocations: 0.6091 MB / 2.935 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/8.214, allocations: 56.22 kB / 2.935 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/8.215, allocations: 449.6 kB / 2.936 GB, free: 113 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/8.215, allocations: 36.17 kB / 2.936 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/8.215, allocations: 322.7 kB / 2.936 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/8.215, allocations: 141.8 kB / 2.936 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/8.215, allocations: 10.16 kB / 2.936 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001108/8.215, allocations: 361.4 kB / 2.937 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/8.216, allocations: 173 kB / 2.937 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/8.216, allocations: 283.6 kB / 2.937 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/8.216, allocations: 213.3 kB / 2.937 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/8.216, allocations: 0 / 2.937 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001021/8.217, allocations: 0.5296 MB / 2.938 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/8.218, allocations: 0.8726 MB / 2.939 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/8.218, allocations: 3.094 kB / 2.939 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/8.218, allocations: 6.656 kB / 2.939 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/8.218, allocations: 117.5 kB / 2.939 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003422/8.219, allocations: 0.5909 MB / 2.939 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/8.219, allocations: 86.92 kB / 2.939 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/8.22, allocations: 18.75 kB / 2.939 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/8.22, allocations: 3.156 kB / 2.939 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008813/8.22, allocations: 459.7 kB / 2.94 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/8.22, allocations: 3 kB / 2.94 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/8.22, allocations: 4.438 kB / 2.94 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/8.221, allocations: 100.1 kB / 2.94 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/8.221, allocations: 8.016 kB / 2.94 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/8.222, allocations: 89.28 kB / 2.94 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/8.222, allocations: 18.75 kB / 2.94 GB, free: 110.7 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 () * Number of clocked 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.0004954/8.222, allocations: 306 kB / 2.94 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/8.222, allocations: 56.31 kB / 2.94 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009732/8.223, allocations: 479.9 kB / 2.941 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/8.223, allocations: 7.156 kB / 2.941 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/8.223, allocations: 1.031 kB / 2.941 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007987/8.224, allocations: 0.7133 MB / 2.942 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/8.227, allocations: 1.275 MB / 2.943 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/8.227, allocations: 1.469 kB / 2.943 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/8.227, allocations: 115.8 kB / 2.943 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/8.227, allocations: 8.344 kB / 2.943 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/8.227, allocations: 10.53 kB / 2.943 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002682/8.228, allocations: 0.5872 MB / 2.944 GB, free: 109 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/8.228, allocations: 2.125 kB / 2.944 GB, free: 109 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/8.229, allocations: 0.8778 MB / 2.944 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/8.229, allocations: 178.2 kB / 2.945 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/8.229, allocations: 12.03 kB / 2.945 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/8.23, allocations: 52.39 kB / 2.945 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/8.23, allocations: 34.34 kB / 2.945 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/8.23, allocations: 18.55 kB / 2.945 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005093/8.231, allocations: 347.3 kB / 2.945 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/8.231, allocations: 1.062 kB / 2.945 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002011/8.233, allocations: 487.5 kB / 2.945 GB, free: 108.4 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 () * Number of clocked 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.004282/8.237, allocations: 3.184 MB / 2.949 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001625/8.239, allocations: 0.6634 MB / 2.949 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/8.239, allocations: 1.312 kB / 2.949 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/8.239, allocations: 218.3 kB / 2.949 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/8.241, allocations: 348.9 kB / 2.95 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/8.248, allocations: 5.171 MB / 2.955 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/8.248, allocations: 0.968 MB / 2.956 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008937/8.249, allocations: 203.4 kB / 2.956 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/8.249, allocations: 225.3 kB / 2.956 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.984e-06/8.249, allocations: 0 / 2.956 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07341/8.323, allocations: 38.16 MB / 2.993 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/8.323, allocations: 234.5 kB / 2.994 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/11.68, allocations: 0 / 2.994 GB, free: 102.3 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)