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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9533/0.9533, allocations: 133.6 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 88.69 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.508e-05, allocations: 8 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.474, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.019/5.493, allocations: 1.891 GB / 2.525 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/5.493, allocations: 87.83 kB / 2.525 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.051/7.544, allocations: 482.2 MB / 2.996 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/7.544, allocations: 0 / 2.996 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.947e-05/7.544, allocations: 22.53 kB / 2.996 GB, free: 155.2 MB / 0.6823 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.002319/7.546, allocations: 0.9933 MB / 2.997 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/7.546, allocations: 7.219 kB / 2.997 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/7.548, allocations: 203.2 kB / 2.997 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/7.55, allocations: 0.9142 MB / 2.998 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/7.55, allocations: 18.69 kB / 2.998 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/7.55, allocations: 43.47 kB / 2.998 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007627/7.551, allocations: 431.5 kB / 2.999 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/7.552, allocations: 0.5113 MB / 2.999 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/7.552, allocations: 0 / 2.999 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/7.552, allocations: 0 / 2.999 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/7.552, allocations: 33.94 kB / 2.999 GB, free: 154.2 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002749/7.554, allocations: 2.278 MB / 3.001 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/7.555, allocations: 309 kB / 3.002 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/7.555, allocations: 189.5 kB / 3.002 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/7.556, allocations: 303.5 kB / 3.002 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/7.556, allocations: 44.42 kB / 3.002 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.913e-06/7.556, allocations: 3.844 kB / 3.002 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.0009931/7.557, allocations: 404.6 kB / 3.003 GB, free: 152 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/7.557, allocations: 65.05 kB / 3.003 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/7.557, allocations: 360.7 kB / 3.003 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/7.557, allocations: 25.7 kB / 3.003 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/7.557, allocations: 328 kB / 3.003 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/7.557, allocations: 123.2 kB / 3.003 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/7.557, allocations: 3.938 kB / 3.003 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/7.558, allocations: 356.3 kB / 3.004 GB, free: 151 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/7.558, allocations: 133 kB / 3.004 GB, free: 151 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/7.558, allocations: 270.2 kB / 3.004 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/7.558, allocations: 202.2 kB / 3.004 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/7.558, allocations: 0 / 3.004 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000661/7.559, allocations: 466 kB / 3.005 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/7.559, allocations: 0.8754 MB / 3.006 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/7.559, allocations: 3.906 kB / 3.006 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/7.559, allocations: 3 kB / 3.006 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/7.56, allocations: 102.1 kB / 3.006 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002887/7.56, allocations: 0.6054 MB / 3.006 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/7.561, allocations: 55.08 kB / 3.006 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/7.561, allocations: 21.19 kB / 3.006 GB, free: 149 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/7.561, allocations: 3.625 kB / 3.006 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000581/7.561, allocations: 372 kB / 3.007 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/7.561, allocations: 3.844 kB / 3.007 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/7.561, allocations: 3.656 kB / 3.007 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/7.562, allocations: 93.59 kB / 3.007 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/7.562, allocations: 3.625 kB / 3.007 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/7.562, allocations: 49.06 kB / 3.007 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/7.562, allocations: 25.44 kB / 3.007 GB, free: 148.9 MB / 0.6823 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 () * 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.0001307/7.563, allocations: 114.9 kB / 3.007 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000567/7.563, allocations: 381.7 kB / 3.007 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/7.563, allocations: 53.16 kB / 3.008 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/7.564, allocations: 425 kB / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/7.564, allocations: 6.406 kB / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/7.564, allocations: 0 / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004745/7.564, allocations: 0.6385 MB / 3.009 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/7.566, allocations: 1.106 MB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/7.566, allocations: 3.562 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/7.566, allocations: 95.55 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/7.566, allocations: 7.609 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/7.566, allocations: 3.938 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002302/7.567, allocations: 0.6022 MB / 3.01 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/7.567, allocations: 3 kB / 3.01 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/7.567, allocations: 0.792 MB / 3.011 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/7.568, allocations: 168.5 kB / 3.011 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/7.568, allocations: 10.95 kB / 3.011 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/7.568, allocations: 38.16 kB / 3.011 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/7.568, allocations: 26.34 kB / 3.011 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/7.568, allocations: 18.52 kB / 3.011 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002781/7.568, allocations: 282.3 kB / 3.012 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.323e-06/7.568, allocations: 0 / 3.012 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001222/7.57, allocations: 434.2 kB / 3.012 GB, free: 145.7 MB / 0.6823 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 () * 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.003025/7.573, allocations: 3.261 MB / 3.015 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001024/7.574, allocations: 0.5461 MB / 3.016 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/7.574, allocations: 3.938 kB / 3.016 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/7.574, allocations: 174.6 kB / 3.016 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/7.576, allocations: 307 kB / 3.016 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/7.578, allocations: 1.203 MB / 3.017 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/7.578, allocations: 0.9651 MB / 3.018 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007989/7.579, allocations: 225.7 kB / 3.019 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/7.579, allocations: 215.1 kB / 3.019 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/7.579, allocations: 0 / 3.019 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/7.627, allocations: 26.01 MB / 3.044 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/7.627, allocations: 151.8 kB / 3.044 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/10.65, allocations: 3.25 kB / 3.044 GB, free: 116.9 MB / 0.6823 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/linux/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)