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.001209/0.001209, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6905/0.6905, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 73.03 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4385, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.2018/0.6403, allocations: 186.8 MB / 0.7626 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007527/0.6479, allocations: 4.561 MB / 0.7671 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009001/0.6488, allocations: 31.81 kB / 0.7671 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.65, allocations: 413.4 kB / 0.7675 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.6535, allocations: 1.331 MB / 0.7688 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.6555, allocations: 0.7605 MB / 0.7695 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001967/0.6574, allocations: 1.96 MB / 0.7714 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.6583, allocations: 0.6554 MB / 0.7721 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.6608, allocations: 1.073 MB / 0.7731 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.6615, allocations: 0.5796 MB / 0.7737 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.6616, allocations: 64 kB / 0.7737 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.664, allocations: 1.384 MB / 0.7751 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.6643, allocations: 291.2 kB / 0.7754 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.6647, allocations: 414.1 kB / 0.7758 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.6668, allocations: 1.465 MB / 0.7772 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6668, allocations: 0 / 0.7772 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6668, allocations: 0 / 0.7772 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.6668, allocations: 0 / 0.7772 GB, free: 7.117 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.001613/0.6684, allocations: 1.098 MB / 0.7783 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6685, allocations: 8.031 kB / 0.7783 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.6686, allocations: 94.52 kB / 0.7784 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.6698, allocations: 206.9 kB / 0.7786 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/0.6707, allocations: 0.5754 MB / 0.7791 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.6707, allocations: 45.25 kB / 0.7792 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.6708, allocations: 59.84 kB / 0.7792 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/0.6717, allocations: 0.6206 MB / 0.7798 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.6718, allocations: 4 kB / 0.7798 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.6718, allocations: 20 kB / 0.7799 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.6719, allocations: 17.31 kB / 0.7799 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.6726, allocations: 0.4892 MB / 0.7804 GB, free: 3.773 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.002657/0.6753, allocations: 2.412 MB / 0.7827 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.6758, allocations: 350.7 kB / 0.783 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.6761, allocations: 216.7 kB / 0.7833 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.6767, allocations: 311.8 kB / 0.7835 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.6767, allocations: 38.56 kB / 0.7836 GB, free: 184 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.6767, allocations: 0 / 0.7836 GB, free: 184 kB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001133/0.6779, allocations: 0.552 MB / 0.7841 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.6779, allocations: 55.41 kB / 0.7842 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.6785, allocations: 0.495 MB / 0.7847 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.6785, allocations: 33.7 kB / 0.7847 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.6788, allocations: 320.5 kB / 0.785 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.6789, allocations: 126.2 kB / 0.7851 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.679, allocations: 86.03 kB / 0.7852 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6792, allocations: 366.8 kB / 0.7856 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.6794, allocations: 154.5 kB / 0.7857 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.6797, allocations: 264.6 kB / 0.786 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.6803, allocations: 414.8 kB / 0.7863 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6803, allocations: 0 / 0.7863 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000676/0.681, allocations: 484.9 kB / 0.7868 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.681, allocations: 4 kB / 0.7868 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.681, allocations: 7.938 kB / 0.7868 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.681, allocations: 4.281 kB / 0.7868 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.6816, allocations: 103.8 kB / 0.7869 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003456/0.682, allocations: 0.5977 MB / 0.7875 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.6825, allocations: 39.61 kB / 0.7875 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.6825, allocations: 16 kB / 0.7876 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004098/0.6829, allocations: 330.5 kB / 0.7879 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003161/0.6833, allocations: 264.4 kB / 0.7881 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005095/0.6838, allocations: 408.6 kB / 0.7885 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.6838, allocations: 3.984 kB / 0.7885 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006706/0.6845, allocations: 488.3 kB / 0.789 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.6845, allocations: 9.875 kB / 0.789 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.6845, allocations: 0 / 0.789 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.6845, allocations: 4 kB / 0.789 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.6848, allocations: 96.11 kB / 0.7891 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6849, allocations: 8 kB / 0.7891 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.6853, allocations: 35.81 kB / 0.7891 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.6854, allocations: 16 kB / 0.7891 GB, free: 10.24 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.0001438/0.6855, allocations: 212 kB / 0.7894 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.6856, allocations: 59.25 kB / 0.7894 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006906/0.6863, allocations: 437.4 kB / 0.7898 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6863, allocations: 8 kB / 0.7898 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6863, allocations: 0 / 0.7898 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006175/0.687, allocations: 0.657 MB / 0.7905 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.6886, allocations: 1.208 MB / 0.7917 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.6886, allocations: 4 kB / 0.7917 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.6891, allocations: 91.89 kB / 0.7917 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.6891, allocations: 4 kB / 0.7917 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.6891, allocations: 11.94 kB / 0.7918 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003031/0.6894, allocations: 0.5939 MB / 0.7923 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6895, allocations: 8.062 kB / 0.7923 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/0.6903, allocations: 0.7355 MB / 0.7931 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.6905, allocations: 172.4 kB / 0.7932 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.6906, allocations: 12 kB / 0.7932 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.691, allocations: 11.98 kB / 0.7933 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.691, allocations: 23.97 kB / 0.7933 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.6911, allocations: 19.94 kB / 0.7933 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003767/0.6915, allocations: 362.8 kB / 0.7936 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6915, allocations: 0 / 0.7936 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008294/0.6923, allocations: 343.1 kB / 0.794 GB, free: 5.051 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.001401/0.6937, allocations: 1.374 MB / 0.7953 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.6949, allocations: 0.622 MB / 0.7959 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6949, allocations: 4.375 kB / 0.7959 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.6952, allocations: 184.5 kB / 0.7961 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.6969, allocations: 364.3 kB / 0.7964 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.7027, allocations: 4.969 MB / 0.8013 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.7031, allocations: 0.9414 MB / 0.8022 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006646/0.7038, allocations: 204.9 kB / 0.8024 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.7041, allocations: 227.4 kB / 0.8026 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.7041, allocations: 0 / 0.8026 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3251/1.029, allocations: 16.94 MB / 0.8192 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.32, allocations: 7.953 kB / 0.8192 GB, free: 220.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)