Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.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.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",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.000932/0.0009321, allocations: 179.4 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.4599/0.4599, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.294/1.294, allocations: 221.3 MB / 348.3 MB, free: 492 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.0008888/0.0008887, allocations: 96.5 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.124e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3815, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.081/4.463, allocations: 1.882 GB / 2.443 GB, free: 89.86 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/4.463, allocations: 92.69 kB / 2.443 GB, free: 89.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.553/6.016, allocations: 489.3 MB / 2.921 GB, free: 76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.92e-07/6.016, allocations: 0 / 2.921 GB, free: 76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-05/6.016, allocations: 20 kB / 2.921 GB, free: 75.98 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001607/6.018, allocations: 0.9848 MB / 2.922 GB, free: 74.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/6.018, allocations: 15.98 kB / 2.922 GB, free: 74.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/6.018, allocations: 94.5 kB / 2.922 GB, free: 74.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/6.019, allocations: 202.9 kB / 2.922 GB, free: 74.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/6.021, allocations: 0.9116 MB / 2.923 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/6.021, allocations: 41.31 kB / 2.923 GB, free: 73.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/6.021, allocations: 63.89 kB / 2.923 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/6.022, allocations: 0.5778 MB / 2.923 GB, free: 72.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/6.022, allocations: 3.938 kB / 2.923 GB, free: 72.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/6.022, allocations: 24 kB / 2.923 GB, free: 72.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/6.022, allocations: 25.3 kB / 2.924 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/6.022, allocations: 457.1 kB / 2.924 GB, free: 72.5 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.002164/6.025, allocations: 2.404 MB / 2.926 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/6.025, allocations: 329.1 kB / 2.927 GB, free: 69.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/6.025, allocations: 209.8 kB / 2.927 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004134/6.026, allocations: 299.3 kB / 2.927 GB, free: 69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/6.026, allocations: 42.5 kB / 2.927 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/6.026, allocations: 3.938 kB / 2.927 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.0007268/6.026, allocations: 413.2 kB / 2.928 GB, free: 68.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/6.026, allocations: 59.27 kB / 2.928 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/6.027, allocations: 448.7 kB / 2.928 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/6.027, allocations: 33.7 kB / 2.928 GB, free: 67.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/6.027, allocations: 316.5 kB / 2.928 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/6.027, allocations: 122.2 kB / 2.928 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/6.027, allocations: 8 kB / 2.928 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/6.027, allocations: 374.8 kB / 2.929 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/6.027, allocations: 136.8 kB / 2.929 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/6.028, allocations: 275.5 kB / 2.929 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/6.028, allocations: 185.4 kB / 2.929 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.028, allocations: 0 / 2.929 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005401/6.028, allocations: 470.6 kB / 2.93 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/6.029, allocations: 0.8771 MB / 2.931 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/6.029, allocations: 0 / 2.931 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/6.029, allocations: 8 kB / 2.931 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/6.029, allocations: 107.8 kB / 2.931 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002515/6.029, allocations: 0.5937 MB / 2.931 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/6.03, allocations: 83.55 kB / 2.931 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/6.03, allocations: 16 kB / 2.932 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/6.03, allocations: 4 kB / 2.932 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004666/6.03, allocations: 395.9 kB / 2.932 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/6.03, allocations: 3.984 kB / 2.932 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/6.03, allocations: 8 kB / 2.932 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/6.031, allocations: 87.84 kB / 2.932 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/6.031, allocations: 4 kB / 2.932 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/6.031, allocations: 75.91 kB / 2.932 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/6.031, allocations: 23.98 kB / 2.932 GB, free: 63.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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 9.534e-05/6.031, allocations: 130.2 kB / 2.932 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/6.031, allocations: 63.2 kB / 2.932 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/6.032, allocations: 435.7 kB / 2.933 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/6.032, allocations: 4 kB / 2.933 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/6.032, allocations: 0 / 2.933 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004244/6.032, allocations: 0.6441 MB / 2.933 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/6.034, allocations: 1.204 MB / 2.934 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/6.034, allocations: 0 / 2.934 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/6.034, allocations: 100.1 kB / 2.935 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/6.034, allocations: 8 kB / 2.935 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/6.034, allocations: 11.98 kB / 2.935 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001605/6.034, allocations: 0.5976 MB / 2.935 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/6.034, allocations: 4 kB / 2.935 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/6.035, allocations: 0.7751 MB / 2.936 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/6.035, allocations: 180.2 kB / 2.936 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/6.035, allocations: 12 kB / 2.936 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/6.036, allocations: 47.89 kB / 2.936 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/6.036, allocations: 19.98 kB / 2.936 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/6.036, allocations: 11.98 kB / 2.936 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002958/6.036, allocations: 353.5 kB / 2.937 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-07/6.036, allocations: 4 kB / 2.937 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001125/6.037, allocations: 475.2 kB / 2.937 GB, free: 58.36 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,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.002348/6.04, allocations: 3.093 MB / 2.94 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000868/6.04, allocations: 0.5748 MB / 2.941 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/6.04, allocations: 4.062 kB / 2.941 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/6.041, allocations: 183.8 kB / 2.941 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/6.042, allocations: 340.1 kB / 2.941 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/6.044, allocations: 1.272 MB / 2.942 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/6.044, allocations: 0.9582 MB / 2.943 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007113/6.045, allocations: 252.8 kB / 2.944 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/6.045, allocations: 203.4 kB / 2.944 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/6.045, allocations: 0 / 2.944 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/6.099, allocations: 42.42 MB / 2.985 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/6.099, allocations: 211.8 kB / 2.985 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/9.386, allocations: 0 / 2.985 GB, free: 8.906 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)