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.0103/0.0103, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.002195/0.002195, allocations: 197.8 kB / 16.67 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.262/2.262, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.131/1.131, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.17 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 1.129/1.39, allocations: 186.8 MB / 0.8416 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0153/1.405, allocations: 4.557 MB / 0.846 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/1.408, allocations: 31.59 kB / 0.8461 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/1.41, allocations: 411.1 kB / 0.8465 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/1.418, allocations: 1.338 MB / 0.8478 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/1.422, allocations: 0.7612 MB / 0.8485 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005115/1.428, allocations: 1.963 MB / 0.8504 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/1.429, allocations: 0.6523 MB / 0.8511 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005667/1.435, allocations: 1.091 MB / 0.8521 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/1.437, allocations: 0.5818 MB / 0.8527 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003222/1.438, allocations: 69.09 kB / 0.8528 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/1.443, allocations: 1.387 MB / 0.8541 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008109/1.444, allocations: 288 kB / 0.8544 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00159/1.446, allocations: 415.9 kB / 0.8548 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004747/1.451, allocations: 1.489 MB / 0.8563 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/1.451, allocations: 0 / 0.8563 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.058e-06/1.451, allocations: 0 / 0.8563 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.371e-05/1.451, allocations: 3.984 kB / 0.8563 GB, free: 11.98 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.003911/1.455, allocations: 1.093 MB / 0.8573 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/1.455, allocations: 7.344 kB / 0.8573 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002726/1.455, allocations: 94.7 kB / 0.8574 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.457, allocations: 209 kB / 0.8576 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/1.459, allocations: 0.6091 MB / 0.8582 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/1.459, allocations: 41.31 kB / 0.8583 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.46, allocations: 63.88 kB / 0.8583 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/1.462, allocations: 0.6167 MB / 0.8589 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/1.462, allocations: 0 / 0.8589 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-05/1.462, allocations: 20 kB / 0.8589 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/1.462, allocations: 21.3 kB / 0.859 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.463, allocations: 0.4931 MB / 0.8594 GB, free: 9.035 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.004806/1.468, allocations: 2.384 MB / 0.8618 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/1.469, allocations: 366.7 kB / 0.8621 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/1.469, allocations: 215.9 kB / 0.8623 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008438/1.47, allocations: 303.2 kB / 0.8626 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/1.47, allocations: 38.56 kB / 0.8627 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/1.47, allocations: 0 / 0.8627 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.001795/1.472, allocations: 0.5528 MB / 0.8632 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.472, allocations: 55.41 kB / 0.8632 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.473, allocations: 0.5028 MB / 0.8637 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/1.473, allocations: 37.64 kB / 0.8638 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/1.474, allocations: 324.4 kB / 0.8641 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/1.474, allocations: 130.2 kB / 0.8642 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/1.474, allocations: 82.05 kB / 0.8643 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.474, allocations: 362.8 kB / 0.8646 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/1.475, allocations: 154.5 kB / 0.8648 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/1.475, allocations: 264.6 kB / 0.865 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/1.476, allocations: 406.2 kB / 0.8654 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.476, allocations: 3.938 kB / 0.8654 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00132/1.478, allocations: 485.3 kB / 0.8659 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.478, allocations: 7.984 kB / 0.8659 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/1.478, allocations: 4 kB / 0.8659 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/1.478, allocations: 11.31 kB / 0.8659 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/1.479, allocations: 101.4 kB / 0.866 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/1.479, allocations: 0.598 MB / 0.8666 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/1.48, allocations: 43.53 kB / 0.8666 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/1.48, allocations: 19.98 kB / 0.8666 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007727/1.481, allocations: 325.8 kB / 0.867 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006806/1.482, allocations: 268.3 kB / 0.8672 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008615/1.483, allocations: 396.6 kB / 0.8676 GB, free: 176 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.626e-06/1.483, allocations: 0 / 0.8676 GB, free: 176 kB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001301/1.484, allocations: 492.7 kB / 0.8681 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.484, allocations: 8 kB / 0.8681 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.484, allocations: 0 / 0.8681 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.484, allocations: 4 kB / 0.8681 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/1.485, allocations: 87.84 kB / 0.8682 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.485, allocations: 11.98 kB / 0.8682 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/1.486, allocations: 23.75 kB / 0.8682 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/1.486, allocations: 23.98 kB / 0.8682 GB, free: 15.52 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.0003061/1.486, allocations: 216.1 kB / 0.8684 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/1.486, allocations: 55.34 kB / 0.8685 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/1.487, allocations: 444.6 kB / 0.8689 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.487, allocations: 4 kB / 0.8689 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.488, allocations: 0 / 0.8689 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/1.489, allocations: 0.6494 MB / 0.8695 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/1.492, allocations: 1.206 MB / 0.8707 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.492, allocations: 4.875 kB / 0.8707 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/1.492, allocations: 91.89 kB / 0.8708 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/1.492, allocations: 4 kB / 0.8708 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/1.492, allocations: 13.09 kB / 0.8708 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004877/1.493, allocations: 0.5976 MB / 0.8714 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.493, allocations: 3.938 kB / 0.8714 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/1.494, allocations: 0.7471 MB / 0.8721 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/1.495, allocations: 172.3 kB / 0.8723 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.495, allocations: 8 kB / 0.8723 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/1.496, allocations: 23.98 kB / 0.8723 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/1.496, allocations: 23.97 kB / 0.8724 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/1.496, allocations: 12 kB / 0.8724 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007055/1.497, allocations: 366.8 kB / 0.8727 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/1.497, allocations: 0 / 0.8727 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001763/1.498, allocations: 339.2 kB / 0.873 GB, free: 10.32 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.002777/1.501, allocations: 1.373 MB / 0.8744 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002311/1.504, allocations: 0.594 MB / 0.875 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.504, allocations: 0 / 0.875 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/1.504, allocations: 189.1 kB / 0.8751 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.507, allocations: 366.8 kB / 0.8755 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.52, allocations: 4.846 MB / 0.8802 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.521, allocations: 0.9452 MB / 0.8811 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001435/1.523, allocations: 204.8 kB / 0.8813 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/1.523, allocations: 223.4 kB / 0.8816 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of SimCode: time 3.667e-06/1.523, allocations: 0 / 0.8816 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07658/1.6, allocations: 17.38 MB / 0.8985 GB, free: 284 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.54/22.14, allocations: 9.938 kB / 0.8985 GB, free: 280 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)