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.00103/0.00103, allocations: 180.9 kB / 8.006 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.505/0.505, allocations: 90.91 MB / 99.34 MB, free: 2.164 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.428/1.428, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.0008445/0.0008445, allocations: 98.42 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.052e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.59/4.741, allocations: 1.882 GB / 2.435 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/4.742, allocations: 87.95 kB / 2.435 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.735/6.477, allocations: 483.8 MB / 2.908 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/6.477, allocations: 0 / 2.908 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001009/6.477, allocations: 27.98 kB / 2.908 GB, free: 48.37 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.002792/6.48, allocations: 0.9917 MB / 2.909 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/6.48, allocations: 12.03 kB / 2.909 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/6.481, allocations: 199.2 kB / 2.909 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/6.484, allocations: 0.9174 MB / 2.91 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/6.484, allocations: 16 kB / 2.91 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/6.484, allocations: 36 kB / 2.91 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008599/6.485, allocations: 434.5 kB / 2.91 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/6.486, allocations: 0.5088 MB / 2.911 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/6.486, allocations: 0 / 2.911 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/6.486, allocations: 3.938 kB / 2.911 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/6.486, allocations: 17.31 kB / 2.911 GB, free: 45.14 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.002923/6.489, allocations: 2.3 MB / 2.913 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/6.489, allocations: 310.7 kB / 2.914 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/6.49, allocations: 190.3 kB / 2.914 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/6.49, allocations: 307.2 kB / 2.914 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/6.49, allocations: 34.56 kB / 2.914 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 1.884e-06/6.49, allocations: 0 / 2.914 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.0009898/6.491, allocations: 417.2 kB / 2.914 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/6.491, allocations: 59.41 kB / 2.915 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/6.492, allocations: 365.2 kB / 2.915 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/6.492, allocations: 25.7 kB / 2.915 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/6.492, allocations: 324.3 kB / 2.915 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/6.492, allocations: 126.1 kB / 2.915 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/6.492, allocations: 0 / 2.915 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001014/6.492, allocations: 358.8 kB / 2.916 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/6.492, allocations: 132.8 kB / 2.916 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/6.493, allocations: 258.3 kB / 2.916 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/6.493, allocations: 205.4 kB / 2.916 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/6.493, allocations: 0 / 2.916 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006573/6.494, allocations: 462.6 kB / 2.917 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/6.494, allocations: 0.8894 MB / 2.918 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.693e-05/6.494, allocations: 0 / 2.918 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/6.494, allocations: 4 kB / 2.918 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/6.494, allocations: 103.9 kB / 2.918 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003043/6.495, allocations: 0.6055 MB / 2.918 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/6.495, allocations: 63.64 kB / 2.918 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/6.495, allocations: 20 kB / 2.918 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/6.495, allocations: 4 kB / 2.918 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000577/6.496, allocations: 367.6 kB / 2.919 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/6.496, allocations: 8.266 kB / 2.919 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/6.496, allocations: 8 kB / 2.919 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/6.496, allocations: 87.89 kB / 2.919 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/6.496, allocations: 4 kB / 2.919 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/6.497, allocations: 71.58 kB / 2.919 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/6.497, allocations: 16 kB / 2.919 GB, free: 36.64 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 0.0001213/6.497, allocations: 116.8 kB / 2.919 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005483/6.498, allocations: 385 kB / 2.919 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/6.498, allocations: 51.34 kB / 2.919 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/6.498, allocations: 423.5 kB / 2.92 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/6.498, allocations: 4 kB / 2.92 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/6.498, allocations: 0 / 2.92 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004763/6.499, allocations: 0.6406 MB / 2.92 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/6.5, allocations: 1.119 MB / 2.922 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/6.5, allocations: 0 / 2.922 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/6.501, allocations: 91.89 kB / 2.922 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/6.501, allocations: 0 / 2.922 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/6.501, allocations: 11.98 kB / 2.922 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001987/6.501, allocations: 0.5979 MB / 2.922 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.501, allocations: 0 / 2.922 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/6.502, allocations: 0.7712 MB / 2.923 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/6.502, allocations: 180.3 kB / 2.923 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/6.502, allocations: 0 / 2.923 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/6.503, allocations: 35.97 kB / 2.923 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/6.503, allocations: 19.97 kB / 2.923 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/6.503, allocations: 16 kB / 2.923 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000275/6.503, allocations: 282.9 kB / 2.923 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/6.503, allocations: 0 / 2.923 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001273/6.504, allocations: 431 kB / 2.924 GB, free: 31.21 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.003184/6.508, allocations: 3.251 MB / 2.927 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009588/6.508, allocations: 0.5458 MB / 2.928 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/6.509, allocations: 4.297 kB / 2.928 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/6.509, allocations: 175.8 kB / 2.928 GB, free: 27.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/6.51, allocations: 317 kB / 2.928 GB, free: 26.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/6.512, allocations: 1.205 MB / 2.929 GB, free: 25.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/6.513, allocations: 0.9616 MB / 2.93 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008283/6.514, allocations: 228.6 kB / 2.93 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/6.514, allocations: 215.4 kB / 2.931 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of SimCode: time 9.31e-07/6.514, allocations: 0 / 2.931 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4408/6.955, allocations: 25.96 MB / 2.956 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/6.955, allocations: 155.8 kB / 2.956 GB, free: 112 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/9.899, allocations: 1.031 kB / 2.956 GB, free: 112 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)