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.001632/0.001632, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001683/0.001683, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.206/2.206, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.034/1.034, allocations: 132.3 MB / 423.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005749/0.0005752, allocations: 8 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7707, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.3302/1.101, allocations: 155.3 MB / 0.7346 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01205/1.113, allocations: 4.446 MB / 0.739 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/1.114, allocations: 27.75 kB / 0.739 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/1.117, allocations: 430.1 kB / 0.7394 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006088/1.123, allocations: 1.239 MB / 0.7406 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/1.127, allocations: 0.8564 MB / 0.7415 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003448/1.13, allocations: 1.116 MB / 0.7426 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.131, allocations: 0.4955 MB / 0.743 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/1.134, allocations: 0.732 MB / 0.7438 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009247/1.135, allocations: 370.5 kB / 0.7441 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/1.135, allocations: 28 kB / 0.7441 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/1.138, allocations: 0.6864 MB / 0.7448 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/1.138, allocations: 223.4 kB / 0.745 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/1.139, allocations: 173.3 kB / 0.7452 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/1.14, allocations: 0.9313 MB / 0.7461 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/1.14, allocations: 0 / 0.7461 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.484e-06/1.14, allocations: 0 / 0.7461 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.848e-06/1.14, allocations: 0 / 0.7461 GB, free: 9.152 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.002398/1.143, allocations: 0.9232 MB / 0.747 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/1.143, allocations: 16.03 kB / 0.747 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/1.143, allocations: 90.52 kB / 0.7471 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/1.146, allocations: 206.8 kB / 0.7473 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/1.147, allocations: 0.564 MB / 0.7479 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/1.147, allocations: 41.31 kB / 0.7479 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/1.148, allocations: 56 kB / 0.7479 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/1.149, allocations: 0.6089 MB / 0.7485 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.149, allocations: 0 / 0.7485 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/1.149, allocations: 20 kB / 0.7486 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/1.149, allocations: 17.31 kB / 0.7486 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/1.151, allocations: 0.493 MB / 0.7491 GB, free: 6.004 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.00516/1.156, allocations: 2.385 MB / 0.7514 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009451/1.157, allocations: 362.8 kB / 0.7517 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/1.158, allocations: 145 kB / 0.7519 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/1.158, allocations: 35.16 kB / 0.7519 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 3.576e-06/1.158, allocations: 4 kB / 0.7519 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.002029/1.16, allocations: 0.5472 MB / 0.7524 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/1.16, allocations: 55.41 kB / 0.7525 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.161, allocations: 0.4911 MB / 0.753 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/1.161, allocations: 33.7 kB / 0.753 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/1.162, allocations: 320.5 kB / 0.7533 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/1.162, allocations: 130.1 kB / 0.7534 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/1.162, allocations: 8 kB / 0.7534 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002817/1.162, allocations: 366.7 kB / 0.7538 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/1.163, allocations: 148.8 kB / 0.7539 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/1.163, allocations: 260.6 kB / 0.7542 GB, free: 428 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/1.164, allocations: 190.2 kB / 0.7544 GB, free: 240 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.164, allocations: 0 / 0.7544 GB, free: 240 kB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00132/1.165, allocations: 477.7 kB / 0.7548 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005918/1.166, allocations: 0.8808 MB / 0.7557 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.166, allocations: 0 / 0.7557 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/1.166, allocations: 8 kB / 0.7557 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.167, allocations: 103.8 kB / 0.7558 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006423/1.167, allocations: 0.5937 MB / 0.7564 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.169, allocations: 72.64 kB / 0.7564 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/1.169, allocations: 20 kB / 0.7565 GB, free: 14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.169, allocations: 5.875 kB / 0.7565 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/1.17, allocations: 407.8 kB / 0.7568 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/1.17, allocations: 0 / 0.7568 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.17, allocations: 8 kB / 0.7569 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.171, allocations: 91.89 kB / 0.7569 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.171, allocations: 7.938 kB / 0.757 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.172, allocations: 63.84 kB / 0.757 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/1.172, allocations: 16 kB / 0.757 GB, free: 13.41 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.0006948/1.172, allocations: 312.9 kB / 0.7573 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/1.173, allocations: 55.34 kB / 0.7574 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/1.174, allocations: 444.9 kB / 0.7578 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.174, allocations: 4 kB / 0.7578 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.174, allocations: 0 / 0.7578 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/1.175, allocations: 0.6545 MB / 0.7584 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/1.178, allocations: 1.203 MB / 0.7596 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.178, allocations: 0 / 0.7596 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/1.179, allocations: 91.89 kB / 0.7597 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/1.179, allocations: 4.219 kB / 0.7597 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/1.179, allocations: 15.98 kB / 0.7597 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005566/1.18, allocations: 0.5899 MB / 0.7603 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.18, allocations: 4.031 kB / 0.7603 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.181, allocations: 0.8183 MB / 0.7611 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/1.182, allocations: 184.3 kB / 0.7613 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.182, allocations: 12 kB / 0.7613 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/1.183, allocations: 39.91 kB / 0.7613 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/1.183, allocations: 31.84 kB / 0.7614 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/1.183, allocations: 12 kB / 0.7614 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007508/1.184, allocations: 354.8 kB / 0.7617 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/1.184, allocations: 0 / 0.7617 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001834/1.186, allocations: 351.1 kB / 0.762 GB, free: 7.965 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.003044/1.189, allocations: 1.924 MB / 0.7639 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.191, allocations: 0.5762 MB / 0.7645 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.191, allocations: 0 / 0.7645 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005965/1.191, allocations: 193 kB / 0.7647 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.195, allocations: 353.4 kB / 0.765 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.205, allocations: 5.023 MB / 0.7699 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009745/1.206, allocations: 0.9647 MB / 0.7709 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001492/1.207, allocations: 204.9 kB / 0.7711 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/1.208, allocations: 227.4 kB / 0.7713 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.565e-06/1.208, allocations: 0 / 0.7713 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06428/1.272, allocations: 16.9 MB / 0.7878 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003839/1.273, allocations: 230.7 kB / 0.788 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/4.457, allocations: 0 / 0.788 GB, free: 13.56 MB / 0.6231 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/linux/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) Environment - environmentSimulation: