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.001259/0.001259, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001126/0.001126, allocations: 194.1 kB / 16.25 MB, free: 6.16 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.858/1.858, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.092/1.092, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002163, allocations: 68.08 kB / 0.505 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2635, allocations: 80.93 MB / 0.584 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.9427/1.206, allocations: 184.3 MB / 0.764 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01523/1.222, allocations: 4.538 MB / 0.7684 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/1.225, allocations: 27.81 kB / 0.7685 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002849/1.227, allocations: 358.1 kB / 0.7688 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/1.236, allocations: 1.261 MB / 0.77 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/1.24, allocations: 0.6879 MB / 0.7707 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00483/1.245, allocations: 1.962 MB / 0.7726 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/1.247, allocations: 0.6397 MB / 0.7732 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005794/1.252, allocations: 1.08 MB / 0.7743 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/1.254, allocations: 0.6118 MB / 0.7749 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002957/1.255, allocations: 64 kB / 0.775 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/1.26, allocations: 1.438 MB / 0.7764 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007632/1.261, allocations: 287.2 kB / 0.7766 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/1.262, allocations: 418.1 kB / 0.777 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004968/1.267, allocations: 1.546 MB / 0.7785 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.267, allocations: 0 / 0.7785 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/1.267, allocations: 0 / 0.7785 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.075e-05/1.267, allocations: 4 kB / 0.7785 GB, free: 6.07 MB / 0.5919 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.003405/1.27, allocations: 1.089 MB / 0.7796 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/1.27, allocations: 12.03 kB / 0.7796 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/1.271, allocations: 94.52 kB / 0.7797 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/1.273, allocations: 206.9 kB / 0.7799 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/1.275, allocations: 0.5831 MB / 0.7805 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/1.275, allocations: 37.31 kB / 0.7805 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/1.275, allocations: 55.91 kB / 0.7806 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/1.277, allocations: 0.6284 MB / 0.7812 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/1.277, allocations: 3.984 kB / 0.7812 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/1.278, allocations: 20 kB / 0.7812 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/1.278, allocations: 21.31 kB / 0.7812 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/1.279, allocations: 0.4891 MB / 0.7817 GB, free: 2.727 MB / 0.5919 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.005442/1.285, allocations: 2.385 MB / 0.784 GB, free: 136 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.286, allocations: 361.4 kB / 0.7844 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/1.286, allocations: 209.8 kB / 0.7846 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009989/1.287, allocations: 299.2 kB / 0.7849 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/1.287, allocations: 46.5 kB / 0.7849 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 4.388e-06/1.287, allocations: 0 / 0.7849 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.002165/1.29, allocations: 0.5449 MB / 0.7854 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/1.29, allocations: 55.41 kB / 0.7855 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.291, allocations: 0.5027 MB / 0.786 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/1.291, allocations: 33.7 kB / 0.786 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/1.291, allocations: 320.5 kB / 0.7863 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/1.292, allocations: 126.2 kB / 0.7864 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/1.292, allocations: 89.97 kB / 0.7865 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003735/1.292, allocations: 370.8 kB / 0.7869 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/1.293, allocations: 146.5 kB / 0.787 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/1.293, allocations: 268.6 kB / 0.7873 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.294, allocations: 402.9 kB / 0.7877 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.294, allocations: 4 kB / 0.7877 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001405/1.296, allocations: 485 kB / 0.7881 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.296, allocations: 4 kB / 0.7881 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.296, allocations: 4 kB / 0.7881 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.296, allocations: 11.92 kB / 0.7881 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.297, allocations: 106.2 kB / 0.7882 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006326/1.298, allocations: 0.6017 MB / 0.7888 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/1.299, allocations: 63.58 kB / 0.7889 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/1.299, allocations: 20.06 kB / 0.7889 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007859/1.3, allocations: 324.9 kB / 0.7892 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005763/1.3, allocations: 260.3 kB / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009831/1.301, allocations: 412.5 kB / 0.7899 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.446e-06/1.301, allocations: 4 kB / 0.7899 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001364/1.303, allocations: 484.4 kB / 0.7903 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.303, allocations: 5.719 kB / 0.7903 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.303, allocations: 4 kB / 0.7903 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/1.303, allocations: 4.281 kB / 0.7903 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/1.303, allocations: 91.89 kB / 0.7904 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.303, allocations: 4 kB / 0.7904 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.304, allocations: 59.72 kB / 0.7905 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.919e-05/1.305, allocations: 19.98 kB / 0.7905 GB, free: 9.188 MB / 0.6075 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.0003153/1.305, allocations: 212 kB / 0.7907 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/1.305, allocations: 55.34 kB / 0.7908 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/1.306, allocations: 437.4 kB / 0.7912 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.306, allocations: 4 kB / 0.7912 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.306, allocations: 0 / 0.7912 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.308, allocations: 0.661 MB / 0.7918 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/1.311, allocations: 1.2 MB / 0.793 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.311, allocations: 8.031 kB / 0.793 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/1.312, allocations: 99.5 kB / 0.7931 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/1.312, allocations: 4 kB / 0.7931 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/1.312, allocations: 8 kB / 0.7931 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000595/1.313, allocations: 0.5936 MB / 0.7937 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.313, allocations: 8.016 kB / 0.7937 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.315, allocations: 0.748 MB / 0.7944 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/1.315, allocations: 180.2 kB / 0.7946 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.315, allocations: 8 kB / 0.7946 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/1.316, allocations: 39.91 kB / 0.7947 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/1.316, allocations: 27.91 kB / 0.7947 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/1.316, allocations: 15.98 kB / 0.7947 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007747/1.317, allocations: 358.8 kB / 0.795 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.41e-07/1.317, allocations: 0 / 0.795 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001882/1.319, allocations: 351 kB / 0.7954 GB, free: 3.953 MB / 0.6075 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.002867/1.322, allocations: 1.361 MB / 0.7967 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002364/1.324, allocations: 0.6222 MB / 0.7973 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.324, allocations: 0 / 0.7973 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/1.325, allocations: 185.1 kB / 0.7975 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/1.328, allocations: 377.9 kB / 0.7978 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.342, allocations: 5.166 MB / 0.8029 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.343, allocations: 0.9451 MB / 0.8038 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001589/1.344, allocations: 204.9 kB / 0.804 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006413/1.345, allocations: 227.4 kB / 0.8042 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of SimCode: time 2.765e-06/1.345, allocations: 0 / 0.8042 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08472/1.43, allocations: 16.83 MB / 0.8207 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/1.43, allocations: 256.1 kB / 0.8209 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.761/5.192, allocations: 0 / 0.8209 GB, free: 9.934 MB / 0.6387 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/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)