Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008137, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009644/0.0009643, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9823/0.9823, allocations: 135.3 MB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 8 kB / 0.5071 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 82.31 MB / 0.5875 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.4674/0.6498, allocations: 169.9 MB / 0.7534 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007664/0.6575, allocations: 4.287 MB / 0.7576 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.6585, allocations: 27.81 kB / 0.7576 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009434/0.6595, allocations: 286.2 kB / 0.7579 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.6626, allocations: 0.9914 MB / 0.7588 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.6646, allocations: 0.5794 MB / 0.7594 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003344/0.668, allocations: 2.312 MB / 0.7617 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009757/0.669, allocations: 499.5 kB / 0.7621 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.6718, allocations: 0.8559 MB / 0.763 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.673, allocations: 0.5603 MB / 0.7635 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.673, allocations: 28 kB / 0.7635 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.6759, allocations: 0.873 MB / 0.7644 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.6762, allocations: 247.2 kB / 0.7646 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.6765, allocations: 169.3 kB / 0.7648 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.678, allocations: 1.005 MB / 0.7658 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.678, allocations: 0 / 0.7658 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.028e-06/0.678, allocations: 0 / 0.7658 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.678, allocations: 0 / 0.7658 GB, free: 6.406 MB / 0.5762 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.001646/0.6797, allocations: 0.9565 MB / 0.7667 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.6797, allocations: 12.02 kB / 0.7667 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.6799, allocations: 94.52 kB / 0.7668 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.6811, allocations: 210.8 kB / 0.767 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.682, allocations: 0.5563 MB / 0.7675 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.6821, allocations: 45.25 kB / 0.7676 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.6822, allocations: 55.98 kB / 0.7676 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.6831, allocations: 0.6167 MB / 0.7682 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6832, allocations: 4 kB / 0.7683 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.6832, allocations: 20 kB / 0.7683 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.6833, allocations: 21.25 kB / 0.7683 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/0.684, allocations: 0.4892 MB / 0.7688 GB, free: 3.223 MB / 0.5762 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.00301/0.6871, allocations: 2.381 MB / 0.7711 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.6876, allocations: 350.8 kB / 0.7714 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.6879, allocations: 214 kB / 0.7716 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005773/0.6885, allocations: 323.2 kB / 0.7719 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.6885, allocations: 42.83 kB / 0.772 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.6885, allocations: 0 / 0.772 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001094/0.6896, allocations: 0.5404 MB / 0.7725 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.6897, allocations: 59.39 kB / 0.7726 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.6903, allocations: 0.495 MB / 0.773 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.6903, allocations: 41.7 kB / 0.7731 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.6906, allocations: 312.6 kB / 0.7734 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.6907, allocations: 138 kB / 0.7735 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.6907, allocations: 8 kB / 0.7735 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6909, allocations: 366.8 kB / 0.7739 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.6911, allocations: 140.8 kB / 0.774 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.6915, allocations: 260.6 kB / 0.7743 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.6918, allocations: 193.5 kB / 0.7744 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6918, allocations: 0 / 0.7744 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007048/0.6925, allocations: 482.1 kB / 0.7749 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.6926, allocations: 157 kB / 0.7751 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6926, allocations: 3.938 kB / 0.7751 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6927, allocations: 4 kB / 0.7751 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.6933, allocations: 107.8 kB / 0.7752 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003833/0.6937, allocations: 0.5882 MB / 0.7757 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.6942, allocations: 75.58 kB / 0.7758 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.6943, allocations: 20 kB / 0.7758 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.6943, allocations: 0 / 0.7758 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006064/0.6949, allocations: 403.5 kB / 0.7762 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.695, allocations: 0 / 0.7762 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.695, allocations: 4 kB / 0.7762 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.6953, allocations: 91.83 kB / 0.7763 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6953, allocations: 4 kB / 0.7763 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.6958, allocations: 67.8 kB / 0.7764 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.6959, allocations: 23.98 kB / 0.7764 GB, free: 10.98 MB / 0.5919 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.0004093/0.6963, allocations: 301 kB / 0.7767 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.6964, allocations: 55.34 kB / 0.7767 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.6971, allocations: 445.2 kB / 0.7772 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6972, allocations: 4 kB / 0.7772 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6972, allocations: 0 / 0.7772 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006359/0.6978, allocations: 0.6533 MB / 0.7778 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.6996, allocations: 1.203 MB / 0.779 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6996, allocations: 4 kB / 0.779 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.7001, allocations: 98.95 kB / 0.7791 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.7001, allocations: 4 kB / 0.7791 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.7001, allocations: 16.22 kB / 0.7791 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003204/0.7005, allocations: 0.5821 MB / 0.7797 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.7005, allocations: 8.047 kB / 0.7797 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.7014, allocations: 0.7406 MB / 0.7804 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.7016, allocations: 184.3 kB / 0.7806 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.7017, allocations: 12.03 kB / 0.7806 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.7021, allocations: 41.17 kB / 0.7806 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.7022, allocations: 27.95 kB / 0.7806 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.7022, allocations: 23.94 kB / 0.7807 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003966/0.7026, allocations: 354.8 kB / 0.781 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7026, allocations: 3.938 kB / 0.781 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000937/0.7036, allocations: 351.1 kB / 0.7813 GB, free: 5.648 MB / 0.5919 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 () * 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.001554/0.7051, allocations: 1.348 MB / 0.7827 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.7063, allocations: 0.5792 MB / 0.7832 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7064, allocations: 4 kB / 0.7832 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.7067, allocations: 183.7 kB / 0.7834 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.7085, allocations: 368.5 kB / 0.7838 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/0.7145, allocations: 3.708 MB / 0.7874 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.7151, allocations: 0.9414 MB / 0.7883 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008834/0.716, allocations: 200.9 kB / 0.7885 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.7164, allocations: 223.3 kB / 0.7887 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/0.7164, allocations: 0 / 0.7887 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.7508, allocations: 16.94 MB / 0.8052 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.7511, allocations: 233.5 kB / 0.8055 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.922, allocations: 3.938 kB / 0.8055 GB, free: 13.13 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: