Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_IDEAS_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.003141/0.003141, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7682/0.7682, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 400.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 90.64 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.214e-05, allocations: 3.438 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/4.622, allocations: 1.892 GB / 2.532 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/4.622, allocations: 86.7 kB / 2.532 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.025/6.647, allocations: 487.7 MB / 3.009 GB, free: 60.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/6.647, allocations: 0 / 3.009 GB, free: 60.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001027/6.647, allocations: 16 kB / 3.009 GB, free: 60.25 MB / 0.6823 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.002691/6.65, allocations: 1.002 MB / 3.01 GB, free: 59.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/6.65, allocations: 8.031 kB / 3.01 GB, free: 59.19 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002813/6.65, allocations: 98.5 kB / 3.01 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/6.652, allocations: 202.8 kB / 3.01 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/6.654, allocations: 0.9078 MB / 3.011 GB, free: 57.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/6.654, allocations: 41.31 kB / 3.011 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/6.654, allocations: 52 kB / 3.011 GB, free: 57.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/6.655, allocations: 0.5894 MB / 3.012 GB, free: 57.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/6.655, allocations: 4 kB / 3.012 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/6.655, allocations: 23.94 kB / 3.012 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/6.656, allocations: 17.31 kB / 3.012 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/6.656, allocations: 465 kB / 3.012 GB, free: 56.74 MB / 0.6823 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.003057/6.659, allocations: 2.404 MB / 3.014 GB, free: 54.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/6.66, allocations: 317.2 kB / 3.015 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/6.66, allocations: 201.6 kB / 3.015 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/6.661, allocations: 307.2 kB / 3.015 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/6.661, allocations: 35.16 kB / 3.015 GB, free: 53.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.935e-06/6.661, allocations: 4 kB / 3.015 GB, free: 53.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.000892/6.661, allocations: 404.6 kB / 3.016 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/6.662, allocations: 59.39 kB / 3.016 GB, free: 52.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/6.662, allocations: 440.8 kB / 3.016 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/6.662, allocations: 37.7 kB / 3.016 GB, free: 52.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/6.662, allocations: 316.5 kB / 3.016 GB, free: 51.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/6.662, allocations: 134.1 kB / 3.017 GB, free: 51.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/6.662, allocations: 8 kB / 3.017 GB, free: 51.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001011/6.663, allocations: 370.7 kB / 3.017 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/6.663, allocations: 140.8 kB / 3.017 GB, free: 51.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/6.663, allocations: 272.1 kB / 3.017 GB, free: 50.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/6.663, allocations: 189.8 kB / 3.017 GB, free: 50.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/6.663, allocations: 0 / 3.017 GB, free: 50.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006384/6.664, allocations: 474.5 kB / 3.018 GB, free: 50.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/6.664, allocations: 0.8887 MB / 3.019 GB, free: 49.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/6.664, allocations: 0 / 3.019 GB, free: 49.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/6.664, allocations: 4 kB / 3.019 GB, free: 49.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/6.665, allocations: 95.89 kB / 3.019 GB, free: 49.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003081/6.665, allocations: 0.5899 MB / 3.019 GB, free: 48.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/6.666, allocations: 71.67 kB / 3.02 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/6.666, allocations: 19.95 kB / 3.02 GB, free: 48.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/6.666, allocations: 4.781 kB / 3.02 GB, free: 48.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005526/6.666, allocations: 387.6 kB / 3.02 GB, free: 48.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/6.666, allocations: 7.938 kB / 3.02 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/6.666, allocations: 4 kB / 3.02 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/6.667, allocations: 91.83 kB / 3.02 GB, free: 48.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/6.667, allocations: 7.984 kB / 3.02 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/6.667, allocations: 67.88 kB / 3.02 GB, free: 48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/6.667, allocations: 20 kB / 3.02 GB, free: 47.98 MB / 0.6823 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.0001265/6.668, allocations: 132.8 kB / 3.02 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/6.668, allocations: 67.2 kB / 3.02 GB, free: 47.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/6.668, allocations: 427.9 kB / 3.021 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/6.668, allocations: 7.938 kB / 3.021 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/6.668, allocations: 0 / 3.021 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004699/6.669, allocations: 0.6517 MB / 3.021 GB, free: 46.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/6.67, allocations: 1.204 MB / 3.023 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/6.67, allocations: 4 kB / 3.023 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/6.671, allocations: 91.89 kB / 3.023 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/6.671, allocations: 4 kB / 3.023 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/6.671, allocations: 8 kB / 3.023 GB, free: 45.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002163/6.671, allocations: 0.6017 MB / 3.023 GB, free: 44.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/6.671, allocations: 8.016 kB / 3.023 GB, free: 44.58 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/6.672, allocations: 0.7991 MB / 3.024 GB, free: 43.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/6.672, allocations: 180.2 kB / 3.024 GB, free: 43.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/6.672, allocations: 11.95 kB / 3.024 GB, free: 43.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/6.673, allocations: 35.97 kB / 3.024 GB, free: 43.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/6.673, allocations: 23.97 kB / 3.024 GB, free: 43.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/6.673, allocations: 15.98 kB / 3.024 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003917/6.673, allocations: 349.5 kB / 3.025 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/6.673, allocations: 3.938 kB / 3.025 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001821/6.675, allocations: 479.1 kB / 3.025 GB, free: 42.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.003408/6.679, allocations: 3.112 MB / 3.028 GB, free: 39.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00103/6.68, allocations: 0.5738 MB / 3.029 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/6.68, allocations: 0 / 3.029 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/6.68, allocations: 192.1 kB / 3.029 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/6.682, allocations: 354.8 kB / 3.029 GB, free: 38.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/6.684, allocations: 1.245 MB / 3.03 GB, free: 36.97 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/6.684, allocations: 0.9549 MB / 3.031 GB, free: 35.99 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008887/6.685, allocations: 256.8 kB / 3.032 GB, free: 35.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/6.685, allocations: 215.4 kB / 3.032 GB, free: 35.53 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/6.685, allocations: 4 kB / 3.032 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6218/7.307, allocations: 42.42 MB / 3.073 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/7.308, allocations: 200.3 kB / 3.073 GB, free: 140 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.477/10.79, allocations: 2.812 kB / 3.073 GB, free: 140 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)