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.005346/0.005346, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001403/0.001402, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001884, allocations: 67.89 kB / 0.5858 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.412, allocations: 81.02 MB / 0.6649 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.221/0.633, allocations: 186.8 MB / 0.8473 GB, free: 5.418 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008367/0.6415, allocations: 4.561 MB / 0.8517 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.6426, allocations: 31.81 kB / 0.8518 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.6439, allocations: 405.5 kB / 0.8522 GB, free: 424 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.6476, allocations: 1.344 MB / 0.8535 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.6498, allocations: 0.7639 MB / 0.8542 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002832/0.6527, allocations: 1.96 MB / 0.8561 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.6537, allocations: 0.6529 MB / 0.8568 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.6568, allocations: 1.077 MB / 0.8578 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.6579, allocations: 0.5945 MB / 0.8584 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.658, allocations: 64 kB / 0.8585 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.6609, allocations: 1.384 MB / 0.8598 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.6613, allocations: 291.2 kB / 0.8601 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.6618, allocations: 410.2 kB / 0.8605 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.6644, allocations: 1.487 MB / 0.8619 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6644, allocations: 4 kB / 0.8619 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6644, allocations: 0 / 0.8619 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.6644, allocations: 0 / 0.8619 GB, free: 6.383 MB / 0.6856 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.00173/0.6662, allocations: 1.12 MB / 0.863 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6662, allocations: 8.031 kB / 0.863 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.6663, allocations: 98.45 kB / 0.8631 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.6676, allocations: 207.4 kB / 0.8633 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.6686, allocations: 0.6188 MB / 0.8639 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.6687, allocations: 49.25 kB / 0.864 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6688, allocations: 56 kB / 0.864 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6698, allocations: 0.6167 MB / 0.8646 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.6698, allocations: 4 kB / 0.8646 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.6699, allocations: 20 kB / 0.8647 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.6699, allocations: 21.25 kB / 0.8647 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.6708, allocations: 0.4931 MB / 0.8652 GB, free: 2.965 MB / 0.6856 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.003173/0.674, allocations: 2.397 MB / 0.8675 GB, free: 368 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3288/1.003, allocations: 359.4 kB / 0.8678 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/1.003, allocations: 211.7 kB / 0.8681 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/1.004, allocations: 304.9 kB / 0.8683 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/1.004, allocations: 36.95 kB / 0.8684 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 3.056e-06/1.004, allocations: 1 kB / 0.8684 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36): time 0.001327/1.005, allocations: 0.55 MB / 0.8689 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/1.005, allocations: 54.59 kB / 0.869 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/1.006, allocations: 0.4929 MB / 0.8694 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/1.006, allocations: 33.27 kB / 0.8695 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/1.006, allocations: 327.9 kB / 0.8698 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.559e-05/1.006, allocations: 133.6 kB / 0.8699 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.006, allocations: 82.27 kB / 0.87 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/1.007, allocations: 369.6 kB / 0.8704 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/1.007, allocations: 148.5 kB / 0.8705 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/1.007, allocations: 265 kB / 0.8707 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/1.008, allocations: 415.2 kB / 0.8711 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.008, allocations: 2 kB / 0.8711 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007082/1.008, allocations: 492.7 kB / 0.8716 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.008, allocations: 9.156 kB / 0.8716 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.008, allocations: 2.719 kB / 0.8716 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.008, allocations: 4.125 kB / 0.8716 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/1.009, allocations: 104.5 kB / 0.8717 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002569/1.009, allocations: 0.5914 MB / 0.8723 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/1.01, allocations: 48.97 kB / 0.8724 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/1.01, allocations: 18.47 kB / 0.8724 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004373/1.01, allocations: 327.6 kB / 0.8727 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003169/1.011, allocations: 264.8 kB / 0.8729 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005444/1.011, allocations: 405 kB / 0.8733 GB, free: 191 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/1.011, allocations: 1.953 kB / 0.8733 GB, free: 191 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007545/1.012, allocations: 475.1 kB / 0.8738 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.012, allocations: 6.625 kB / 0.8738 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.012, allocations: 4.156 kB / 0.8738 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/1.012, allocations: 9.328 kB / 0.8738 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/1.012, allocations: 90.34 kB / 0.8739 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.012, allocations: 8.828 kB / 0.8739 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/1.013, allocations: 36.78 kB / 0.8739 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/1.013, allocations: 17.94 kB / 0.8739 GB, free: 190.8 MB / 0.6856 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.0001308/1.013, allocations: 200.3 kB / 0.8741 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/1.013, allocations: 62.72 kB / 0.8742 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007545/1.014, allocations: 450.7 kB / 0.8746 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.014, allocations: 8.312 kB / 0.8746 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.014, allocations: 0 / 0.8746 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006038/1.014, allocations: 0.6569 MB / 0.8753 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/1.016, allocations: 1.206 MB / 0.8764 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.016, allocations: 2.469 kB / 0.8765 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/1.017, allocations: 89.8 kB / 0.8765 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.017, allocations: 4.797 kB / 0.8765 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/1.017, allocations: 13.72 kB / 0.8766 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001852/1.017, allocations: 0.5907 MB / 0.8771 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.017, allocations: 11.98 kB / 0.8771 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/1.018, allocations: 0.7422 MB / 0.8779 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/1.018, allocations: 181.2 kB / 0.878 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/1.018, allocations: 17.28 kB / 0.8781 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/1.018, allocations: 13.53 kB / 0.8781 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/1.019, allocations: 28.28 kB / 0.8781 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/1.019, allocations: 13.16 kB / 0.8781 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004431/1.019, allocations: 361.1 kB / 0.8785 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.019, allocations: 5.719 kB / 0.8785 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00105/1.02, allocations: 349.2 kB / 0.8788 GB, free: 187.7 MB / 0.6856 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.00164/1.022, allocations: 1.378 MB / 0.8801 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.023, allocations: 0.5864 MB / 0.8807 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.023, allocations: 0.5312 kB / 0.8807 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/1.023, allocations: 190.1 kB / 0.8809 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/1.025, allocations: 359 kB / 0.8812 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/1.03, allocations: 4.867 MB / 0.886 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/1.03, allocations: 0.9417 MB / 0.8869 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005305/1.031, allocations: 210.5 kB / 0.8871 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/1.031, allocations: 222.1 kB / 0.8873 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/1.031, allocations: 1.188 kB / 0.8873 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/1.075, allocations: 17.12 MB / 0.904 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.84, allocations: 14.56 kB / 0.9041 GB, free: 173.9 MB / 0.6856 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)