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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009978, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005997/0.005997, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.3 MB / 423.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 9.969 kB / 0.5041 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3342, allocations: 81.57 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.168/0.5023, allocations: 182.1 MB / 0.7616 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006457/0.5088, allocations: 4.582 MB / 0.7661 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.5094, allocations: 27.81 kB / 0.7661 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.5102, allocations: 342.1 kB / 0.7664 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.5127, allocations: 1.264 MB / 0.7676 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.5142, allocations: 0.6794 MB / 0.7683 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.5164, allocations: 2.744 MB / 0.771 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.517, allocations: 0.5349 MB / 0.7715 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.5192, allocations: 0.9449 MB / 0.7724 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/0.52, allocations: 0.5925 MB / 0.773 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.5201, allocations: 28 kB / 0.773 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.522, allocations: 1.551 MB / 0.7746 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.5222, allocations: 251.2 kB / 0.7748 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.5226, allocations: 391.8 kB / 0.7752 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.524, allocations: 1.499 MB / 0.7766 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.524, allocations: 0 / 0.7766 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.524, allocations: 0 / 0.7766 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.524, allocations: 0 / 0.7766 GB, free: 10.21 MB / 0.6075 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.001212/0.5252, allocations: 0.9505 MB / 0.7776 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5252, allocations: 8.031 kB / 0.7776 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.571e-05/0.5253, allocations: 94.52 kB / 0.7777 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.5265, allocations: 202.8 kB / 0.7779 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.5272, allocations: 0.5831 MB / 0.7784 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.5273, allocations: 45.31 kB / 0.7785 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.5273, allocations: 55.94 kB / 0.7785 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.5282, allocations: 0.6167 MB / 0.7791 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5282, allocations: 0 / 0.7791 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.5283, allocations: 27.94 kB / 0.7791 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.5283, allocations: 21.3 kB / 0.7792 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.529, allocations: 0.4892 MB / 0.7796 GB, free: 7.004 MB / 0.6075 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.002424/0.5315, allocations: 2.392 MB / 0.782 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.532, allocations: 354.8 kB / 0.7823 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.5322, allocations: 205.4 kB / 0.7825 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/0.5328, allocations: 319.2 kB / 0.7828 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.5328, allocations: 42.42 kB / 0.7829 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.5328, allocations: 0 / 0.7829 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0009544/0.5338, allocations: 0.5512 MB / 0.7834 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.5338, allocations: 55.41 kB / 0.7835 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.5343, allocations: 0.495 MB / 0.7839 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5343, allocations: 33.7 kB / 0.784 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.5345, allocations: 320.5 kB / 0.7843 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.5346, allocations: 130.1 kB / 0.7844 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.5347, allocations: 37.7 kB / 0.7844 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5348, allocations: 370.8 kB / 0.7848 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.535, allocations: 140.8 kB / 0.7849 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.5353, allocations: 268.6 kB / 0.7852 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.5359, allocations: 414.8 kB / 0.7856 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5359, allocations: 0 / 0.7856 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006325/0.5365, allocations: 485.2 kB / 0.786 GB, free: 44 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/0.5366, allocations: 165.1 kB / 0.7862 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5366, allocations: 4 kB / 0.7862 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5366, allocations: 4 kB / 0.7862 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.5371, allocations: 104 kB / 0.7863 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003083/0.5375, allocations: 0.5938 MB / 0.7869 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.538, allocations: 71.59 kB / 0.7869 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.538, allocations: 19.94 kB / 0.787 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.538, allocations: 4 kB / 0.787 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000555/0.5386, allocations: 399.8 kB / 0.7874 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5386, allocations: 8.062 kB / 0.7874 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5386, allocations: 4 kB / 0.7874 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.5389, allocations: 91.84 kB / 0.7875 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5389, allocations: 4 kB / 0.7875 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.5394, allocations: 67.55 kB / 0.7875 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.5394, allocations: 16 kB / 0.7875 GB, free: 14.45 MB / 0.6231 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.5397, allocations: 306.5 kB / 0.7878 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.5398, allocations: 59.28 kB / 0.7879 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.5404, allocations: 450.1 kB / 0.7883 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.5404, allocations: 11.98 kB / 0.7883 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.5404, allocations: 0 / 0.7883 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005579/0.541, allocations: 0.6533 MB / 0.789 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.5425, allocations: 1.199 MB / 0.7901 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5425, allocations: 3.984 kB / 0.7901 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.5429, allocations: 95.88 kB / 0.7902 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5429, allocations: 4 kB / 0.7902 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.543, allocations: 12 kB / 0.7902 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002719/0.5432, allocations: 0.5978 MB / 0.7908 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5433, allocations: 0 / 0.7908 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.5441, allocations: 0.7403 MB / 0.7916 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.5443, allocations: 188.2 kB / 0.7917 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.5444, allocations: 8 kB / 0.7917 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.5448, allocations: 39.97 kB / 0.7918 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.5448, allocations: 23.97 kB / 0.7918 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.5448, allocations: 19.92 kB / 0.7918 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003498/0.5452, allocations: 354.8 kB / 0.7922 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5452, allocations: 0 / 0.7922 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007329/0.5459, allocations: 355 kB / 0.7925 GB, free: 9.105 MB / 0.6231 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.5472, allocations: 1.366 MB / 0.7938 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009713/0.5482, allocations: 0.5829 MB / 0.7944 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5482, allocations: 1.125 kB / 0.7944 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.5485, allocations: 192.2 kB / 0.7946 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.5503, allocations: 358.9 kB / 0.7949 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.5559, allocations: 5.262 MB / 0.8001 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.5564, allocations: 0.9452 MB / 0.801 GB, free: 180 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000577/0.557, allocations: 208.9 kB / 0.8012 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.5573, allocations: 223.4 kB / 0.8014 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.5573, allocations: 0 / 0.8014 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.311/3.869, allocations: 16.28 MB / 0.8173 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/3.869, allocations: 256.3 kB / 0.8175 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/6.216, allocations: 1.781 kB / 0.8175 GB, free: 217.7 MB / 0.6387 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/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)