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.0008535/0.0008534, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00102/0.00102, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 8.781 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.435, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.1906/0.6256, allocations: 169.9 MB / 0.7491 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0069/0.6325, allocations: 4.29 MB / 0.7533 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.6333, allocations: 35.75 kB / 0.7533 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008896/0.6342, allocations: 270.2 kB / 0.7536 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.6367, allocations: 0.9991 MB / 0.7545 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.6383, allocations: 0.5853 MB / 0.7551 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.6405, allocations: 2.299 MB / 0.7573 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.6412, allocations: 499.3 kB / 0.7578 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.6429, allocations: 0.852 MB / 0.7587 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.6436, allocations: 0.5603 MB / 0.7592 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.6437, allocations: 32 kB / 0.7592 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.6455, allocations: 0.8691 MB / 0.7601 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.6458, allocations: 247.3 kB / 0.7603 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.6459, allocations: 173.3 kB / 0.7605 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.647, allocations: 1.005 MB / 0.7615 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.647, allocations: 0 / 0.7615 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.647, allocations: 0 / 0.7615 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.647, allocations: 0 / 0.7615 GB, free: 9.477 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.00147/0.6485, allocations: 0.9582 MB / 0.7624 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6485, allocations: 8.031 kB / 0.7624 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.6487, allocations: 98.52 kB / 0.7625 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6498, allocations: 210.8 kB / 0.7627 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.6507, allocations: 0.5524 MB / 0.7632 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.6507, allocations: 41.3 kB / 0.7633 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.6508, allocations: 63.98 kB / 0.7633 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.6517, allocations: 0.6128 MB / 0.7639 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.6518, allocations: 0 / 0.7639 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.6518, allocations: 27.98 kB / 0.764 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.6519, allocations: 17.31 kB / 0.764 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.6526, allocations: 0.4892 MB / 0.7645 GB, free: 6.285 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.002685/0.6553, allocations: 2.388 MB / 0.7668 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.6558, allocations: 354.8 kB / 0.7671 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.6561, allocations: 205.4 kB / 0.7673 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.6566, allocations: 323.2 kB / 0.7676 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.6567, allocations: 42.42 kB / 0.7677 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.6567, allocations: 0 / 0.7677 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.00102/0.6577, allocations: 0.5396 MB / 0.7682 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6578, allocations: 59.36 kB / 0.7683 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.6583, allocations: 0.4989 MB / 0.7687 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.6583, allocations: 29.7 kB / 0.7688 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.6586, allocations: 320.5 kB / 0.7691 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6587, allocations: 134.1 kB / 0.7692 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.885e-05/0.6587, allocations: 4 kB / 0.7692 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6589, allocations: 370.8 kB / 0.7696 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.6591, allocations: 140.7 kB / 0.7697 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.6594, allocations: 264.5 kB / 0.77 GB, free: 296 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.6597, allocations: 190.1 kB / 0.7701 GB, free: 108 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6597, allocations: 4 kB / 0.7701 GB, free: 104 kB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006836/0.6604, allocations: 481.6 kB / 0.7706 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.6605, allocations: 153 kB / 0.7707 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6605, allocations: 4 kB / 0.7707 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.6606, allocations: 7.953 kB / 0.7708 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.6611, allocations: 99.88 kB / 0.7709 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003725/0.6615, allocations: 0.5899 MB / 0.7714 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.662, allocations: 72.97 kB / 0.7715 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.662, allocations: 19.98 kB / 0.7715 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.6621, allocations: 8 kB / 0.7715 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005762/0.6626, allocations: 399.8 kB / 0.7719 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.6627, allocations: 4 kB / 0.7719 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.6627, allocations: 4 kB / 0.7719 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.663, allocations: 83.91 kB / 0.772 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.663, allocations: 16.16 kB / 0.772 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.6634, allocations: 67.56 kB / 0.7721 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.6635, allocations: 16 kB / 0.7721 GB, free: 14.04 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 (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.0002987/0.6638, allocations: 314.5 kB / 0.7724 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.6639, allocations: 55.34 kB / 0.7724 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006627/0.6646, allocations: 442.1 kB / 0.7729 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6646, allocations: 4 kB / 0.7729 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6646, allocations: 3.953 kB / 0.7729 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005626/0.6652, allocations: 0.6494 MB / 0.7735 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.6666, allocations: 1.207 MB / 0.7747 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6667, allocations: 4 kB / 0.7747 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.6671, allocations: 92.11 kB / 0.7748 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.6671, allocations: 4 kB / 0.7748 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.6672, allocations: 12 kB / 0.7748 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002568/0.6674, allocations: 0.5899 MB / 0.7754 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6674, allocations: 0 / 0.7754 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.6683, allocations: 0.7518 MB / 0.7761 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.6685, allocations: 172.4 kB / 0.7763 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.6686, allocations: 11.98 kB / 0.7763 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.669, allocations: 35.97 kB / 0.7763 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.669, allocations: 35.86 kB / 0.7763 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.6691, allocations: 19.94 kB / 0.7764 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003665/0.6694, allocations: 350.8 kB / 0.7767 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6694, allocations: 0 / 0.7767 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008595/0.6703, allocations: 347.1 kB / 0.777 GB, free: 8.723 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 (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.001396/0.6717, allocations: 1.359 MB / 0.7784 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.6728, allocations: 0.5842 MB / 0.7789 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.6728, allocations: 0 / 0.7789 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.6731, allocations: 191.7 kB / 0.7791 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.6747, allocations: 374.9 kB / 0.7795 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.6798, allocations: 3.697 MB / 0.7831 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.6803, allocations: 0.9414 MB / 0.784 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006801/0.681, allocations: 200.9 kB / 0.7842 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.6813, allocations: 223.4 kB / 0.7844 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.6813, allocations: 0 / 0.7844 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.7151, allocations: 16.93 MB / 0.8009 GB, free: 464 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.7153, allocations: 236.2 kB / 0.8012 GB, free: 220 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.803, allocations: 0 / 0.8012 GB, free: 220 kB / 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: