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.008401/0.008402, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.002035/0.002035, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.739/0.739, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 66.31 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5506/0.7023, allocations: 186.8 MB / 0.8416 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00735/0.7097, allocations: 4.55 MB / 0.846 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009672/0.7107, allocations: 33.75 kB / 0.8461 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.7118, allocations: 420 kB / 0.8465 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.7152, allocations: 1.402 MB / 0.8478 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.7172, allocations: 0.7595 MB / 0.8486 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0023/0.7195, allocations: 1.962 MB / 0.8505 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.7203, allocations: 0.6587 MB / 0.8511 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.7231, allocations: 1.114 MB / 0.8522 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.724, allocations: 0.5922 MB / 0.8528 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/0.7241, allocations: 63.69 kB / 0.8529 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.7265, allocations: 1.392 MB / 0.8542 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.7268, allocations: 288.3 kB / 0.8545 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.7272, allocations: 413.8 kB / 0.8549 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.729, allocations: 1.484 MB / 0.8563 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.729, allocations: 0 / 0.8563 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.312e-06/0.729, allocations: 0 / 0.8563 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7291, allocations: 2.406 kB / 0.8564 GB, free: 11.89 MB / 0.6231 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.001495/0.7306, allocations: 1.096 MB / 0.8574 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7306, allocations: 9.938 kB / 0.8574 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.7308, allocations: 92.55 kB / 0.8575 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.7322, allocations: 208.3 kB / 0.8577 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/0.733, allocations: 0.6105 MB / 0.8583 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.7331, allocations: 45.31 kB / 0.8584 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.7332, allocations: 59.88 kB / 0.8584 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.7341, allocations: 0.6206 MB / 0.859 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.7341, allocations: 3.938 kB / 0.859 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.7341, allocations: 20 kB / 0.859 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.7342, allocations: 17.31 kB / 0.8591 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.7349, allocations: 0.4892 MB / 0.8595 GB, free: 8.883 MB / 0.6231 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.002498/0.7374, allocations: 2.392 MB / 0.8619 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.7379, allocations: 354.8 kB / 0.8622 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.7382, allocations: 216.7 kB / 0.8624 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005282/0.7387, allocations: 315.2 kB / 0.8627 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.7388, allocations: 30.56 kB / 0.8627 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.7388, allocations: 0 / 0.8627 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.001023/0.7398, allocations: 0.5528 MB / 0.8633 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.7398, allocations: 55.41 kB / 0.8633 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.7403, allocations: 0.495 MB / 0.8638 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.7404, allocations: 41.7 kB / 0.8639 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.7406, allocations: 320.4 kB / 0.8642 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.7407, allocations: 126.2 kB / 0.8643 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.7408, allocations: 86.03 kB / 0.8644 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.741, allocations: 362.8 kB / 0.8647 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.7412, allocations: 158.5 kB / 0.8649 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.7415, allocations: 260.6 kB / 0.8651 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.742, allocations: 402.2 kB / 0.8655 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.742, allocations: 0 / 0.8655 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006563/0.7427, allocations: 497.1 kB / 0.866 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7427, allocations: 4 kB / 0.866 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7427, allocations: 7.938 kB / 0.866 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.7427, allocations: 8.812 kB / 0.866 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.7433, allocations: 99.88 kB / 0.8661 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003278/0.7436, allocations: 0.598 MB / 0.8667 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.744, allocations: 44.02 kB / 0.8667 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.7441, allocations: 16 kB / 0.8667 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003805/0.7445, allocations: 333.8 kB / 0.867 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002825/0.7448, allocations: 262 kB / 0.8673 GB, free: 452 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004703/0.7452, allocations: 400.6 kB / 0.8677 GB, free: 20 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-06/0.7452, allocations: 0 / 0.8677 GB, free: 20 kB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006411/0.7459, allocations: 492.5 kB / 0.8682 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.7459, allocations: 8 kB / 0.8682 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.7459, allocations: 0 / 0.8682 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.7459, allocations: 5.125 kB / 0.8682 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.7463, allocations: 83.89 kB / 0.8682 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7463, allocations: 11.94 kB / 0.8683 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.7467, allocations: 31.73 kB / 0.8683 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.7467, allocations: 20.28 kB / 0.8683 GB, free: 15.37 MB / 0.6387 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.0001323/0.7468, allocations: 212.1 kB / 0.8685 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.7469, allocations: 55.34 kB / 0.8686 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.7476, allocations: 447.4 kB / 0.869 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7476, allocations: 4 kB / 0.869 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.7476, allocations: 0 / 0.869 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005626/0.7482, allocations: 0.6495 MB / 0.8696 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.7497, allocations: 1.206 MB / 0.8708 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7497, allocations: 4 kB / 0.8708 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.7501, allocations: 104.2 kB / 0.8709 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7501, allocations: 4 kB / 0.8709 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.7502, allocations: 8 kB / 0.8709 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002906/0.7505, allocations: 0.5938 MB / 0.8715 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7505, allocations: 0 / 0.8715 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.7513, allocations: 0.747 MB / 0.8722 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.7515, allocations: 172.4 kB / 0.8724 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.7516, allocations: 11.83 kB / 0.8724 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.7519, allocations: 22.8 kB / 0.8724 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.752, allocations: 27.91 kB / 0.8725 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.752, allocations: 12 kB / 0.8725 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003615/0.7524, allocations: 362.8 kB / 0.8728 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7524, allocations: 7.938 kB / 0.8728 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008287/0.7532, allocations: 339.2 kB / 0.8731 GB, free: 10.16 MB / 0.6387 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.001403/0.7547, allocations: 1.37 MB / 0.8745 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.7557, allocations: 0.5822 MB / 0.875 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7557, allocations: 0 / 0.875 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.756, allocations: 192.8 kB / 0.8752 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.7574, allocations: 366.5 kB / 0.8756 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.7629, allocations: 4.85 MB / 0.8803 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.7634, allocations: 0.949 MB / 0.8812 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005469/0.764, allocations: 204.9 kB / 0.8814 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.7643, allocations: 227.4 kB / 0.8817 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.7643, allocations: 7.938 kB / 0.8817 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.8086, allocations: 17.09 MB / 0.8984 GB, free: 416 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.72, allocations: 9 kB / 0.8984 GB, free: 408 kB / 0.6544 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)