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.001566/0.001566, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5177/0.5177, allocations: 91.97 MB / 108.5 MB, free: 13.08 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.553/1.553, allocations: 223.2 MB / 354.3 MB, free: 10.46 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.001257/0.001257, allocations: 106.6 kB / 427.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 16 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 72.31 MB / 0.5689 GB, free: 1.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.242/6.402, allocations: 1.882 GB / 2.451 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/6.403, allocations: 91.03 kB / 2.451 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.845/8.248, allocations: 489.8 MB / 2.93 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/8.248, allocations: 0 / 2.93 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.788e-05/8.248, allocations: 20.91 kB / 2.93 GB, free: 108.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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002032/8.25, allocations: 1.095 MB / 2.931 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/8.25, allocations: 10.41 kB / 2.931 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/8.25, allocations: 96.23 kB / 2.931 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/8.251, allocations: 202.2 kB / 2.931 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/8.253, allocations: 0.9232 MB / 2.932 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/8.253, allocations: 42.94 kB / 2.932 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/8.253, allocations: 59.3 kB / 2.932 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/8.254, allocations: 0.5966 MB / 2.933 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/8.254, allocations: 0 / 2.933 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/8.254, allocations: 19.94 kB / 2.933 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/8.254, allocations: 19.03 kB / 2.933 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/8.255, allocations: 478.4 kB / 2.933 GB, free: 107.7 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.002664/8.257, allocations: 2.411 MB / 2.936 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/8.258, allocations: 331.8 kB / 2.936 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005204/8.259, allocations: 303.4 kB / 2.936 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/8.259, allocations: 38.31 kB / 2.936 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.737e-06/8.259, allocations: 3.75 kB / 2.936 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001153/8.26, allocations: 0.5408 MB / 2.937 GB, free: 106 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/8.26, allocations: 54.81 kB / 2.937 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/8.26, allocations: 445 kB / 2.937 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/8.26, allocations: 33.2 kB / 2.937 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/8.261, allocations: 324.3 kB / 2.938 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/8.261, allocations: 129.9 kB / 2.938 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/8.261, allocations: 8.469 kB / 2.938 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001317/8.261, allocations: 366.5 kB / 2.938 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/8.261, allocations: 141.8 kB / 2.938 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/8.261, allocations: 275.2 kB / 2.938 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/8.262, allocations: 189 kB / 2.939 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/8.262, allocations: 3.953 kB / 2.939 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005915/8.262, allocations: 479.1 kB / 2.939 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/8.263, allocations: 0.8856 MB / 2.94 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/8.263, allocations: 2.75 kB / 2.94 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/8.263, allocations: 3.938 kB / 2.94 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/8.263, allocations: 97.41 kB / 2.94 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002799/8.263, allocations: 0.5938 MB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/8.264, allocations: 80.72 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/8.264, allocations: 18.47 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/8.264, allocations: 3.781 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005254/8.265, allocations: 403.6 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/8.265, allocations: 3.781 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/8.265, allocations: 7.859 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/8.265, allocations: 94.41 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/8.265, allocations: 3.969 kB / 2.941 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/8.265, allocations: 68.67 kB / 2.941 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/8.265, allocations: 23.97 kB / 2.941 GB, free: 103.5 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 (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.0003124/8.266, allocations: 304.6 kB / 2.942 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/8.266, allocations: 57.38 kB / 2.942 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/8.267, allocations: 444.7 kB / 2.942 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/8.267, allocations: 7.922 kB / 2.942 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/8.267, allocations: 0 / 2.942 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005303/8.267, allocations: 0.6513 MB / 2.943 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/8.269, allocations: 1.207 MB / 2.944 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/8.269, allocations: 0 / 2.944 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/8.269, allocations: 100.2 kB / 2.944 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/8.269, allocations: 3.469 kB / 2.944 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/8.269, allocations: 7.469 kB / 2.944 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001773/8.269, allocations: 0.591 MB / 2.945 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/8.269, allocations: 5.719 kB / 2.945 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/8.27, allocations: 0.7872 MB / 2.945 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/8.27, allocations: 178.9 kB / 2.946 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/8.27, allocations: 9.438 kB / 2.946 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/8.271, allocations: 48.83 kB / 2.946 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/8.271, allocations: 26.55 kB / 2.946 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/8.271, allocations: 18.8 kB / 2.946 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003351/8.271, allocations: 355.9 kB / 2.946 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/8.271, allocations: 0 / 2.946 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001318/8.273, allocations: 480.1 kB / 2.946 GB, free: 101.3 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 () * Number of clocked 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.002632/8.275, allocations: 3.09 MB / 2.949 GB, free: 99.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009471/8.276, allocations: 0.5655 MB / 2.95 GB, free: 99.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/8.276, allocations: 0 / 2.95 GB, free: 99.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/8.276, allocations: 186.6 kB / 2.95 GB, free: 99.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/8.278, allocations: 356.9 kB / 2.95 GB, free: 99.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/8.282, allocations: 5.051 MB / 2.955 GB, free: 97.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/8.283, allocations: 0.9598 MB / 2.956 GB, free: 96.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000704/8.283, allocations: 209 kB / 2.957 GB, free: 96.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/8.284, allocations: 216.5 kB / 2.957 GB, free: 96.36 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/8.284, allocations: 0 / 2.957 GB, free: 96.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05817/8.342, allocations: 37.96 MB / 2.994 GB, free: 93.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/8.342, allocations: 245.4 kB / 2.994 GB, free: 93.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/11.47, allocations: 0 / 2.994 GB, free: 93.53 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)