Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",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.01402/0.01402, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.531/1.531, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.863/2.863, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001969/0.001968, allocations: 88.03 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000816/0.0008157, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9059/0.9067, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.288/9.195, allocations: 1.941 GB / 2.59 GB, free: 32.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004608/9.196, allocations: 95.95 kB / 2.59 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.407/13.6, allocations: 0.6373 GB / 3.228 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.158e-06/13.6, allocations: 3.938 kB / 3.228 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001495/13.6, allocations: 38.2 kB / 3.228 GB, free: 115.8 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.006654/13.61, allocations: 1.655 MB / 3.229 GB, free: 115 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.461e-05/13.61, allocations: 9.156 kB / 3.229 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006351/13.61, allocations: 156.8 kB / 3.23 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/13.61, allocations: 319.8 kB / 3.23 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005406/13.62, allocations: 1.208 MB / 3.231 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/13.62, allocations: 79.81 kB / 3.231 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/13.62, allocations: 102.9 kB / 3.231 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/13.62, allocations: 1.152 MB / 3.232 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/13.62, allocations: 5.906 kB / 3.232 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/13.62, allocations: 44.34 kB / 3.232 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/13.62, allocations: 38.64 kB / 3.232 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/13.63, allocations: 0.9099 MB / 3.233 GB, free: 114.4 MB / 0.6823 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.01008/13.64, allocations: 4.719 MB / 3.238 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/13.64, allocations: 0.6965 MB / 3.239 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008021/13.64, allocations: 319.2 kB / 3.239 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/13.64, allocations: 40.81 kB / 3.239 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 6.072e-06/13.64, allocations: 0 / 3.239 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.003144/13.64, allocations: 0.9835 MB / 3.24 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/13.64, allocations: 113.8 kB / 3.24 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/13.64, allocations: 0.6958 MB / 3.241 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/13.64, allocations: 43.05 kB / 3.241 GB, free: 111 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/13.64, allocations: 0.5284 MB / 3.241 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/13.64, allocations: 246.5 kB / 3.242 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/13.64, allocations: 17.5 kB / 3.242 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001488/13.64, allocations: 337.5 kB / 3.242 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/13.65, allocations: 278.8 kB / 3.242 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/13.65, allocations: 0.519 MB / 3.243 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/13.65, allocations: 367.6 kB / 3.243 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/13.65, allocations: 7.406 kB / 3.243 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002183/13.65, allocations: 0.8804 MB / 3.244 GB, free: 110 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007223/13.65, allocations: 1.751 MB / 3.246 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/13.65, allocations: 6.688 kB / 3.246 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/13.65, allocations: 11.52 kB / 3.246 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/13.65, allocations: 177.7 kB / 3.246 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005168/13.65, allocations: 0.6108 MB / 3.246 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/13.65, allocations: 138.5 kB / 3.246 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/13.65, allocations: 31.34 kB / 3.247 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/13.65, allocations: 3.938 kB / 3.247 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/13.66, allocations: 0.7734 MB / 3.247 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/13.66, allocations: 3.844 kB / 3.247 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/13.66, allocations: 7.781 kB / 3.247 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/13.66, allocations: 177.2 kB / 3.247 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/13.66, allocations: 11.44 kB / 3.247 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/13.66, allocations: 132.3 kB / 3.248 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/13.66, allocations: 34.09 kB / 3.248 GB, free: 107.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.001303/13.66, allocations: 411.9 kB / 3.248 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/13.66, allocations: 101 kB / 3.248 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/13.66, allocations: 0.7711 MB / 3.249 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/13.66, allocations: 10.09 kB / 3.249 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/13.66, allocations: 0 / 3.249 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/13.66, allocations: 0.8609 MB / 3.25 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005525/13.67, allocations: 2.097 MB / 3.252 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/13.67, allocations: 3.219 kB / 3.252 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/13.67, allocations: 154.1 kB / 3.252 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/13.67, allocations: 9.719 kB / 3.252 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/13.67, allocations: 15.69 kB / 3.252 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003992/13.67, allocations: 0.5923 MB / 3.253 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/13.67, allocations: 11.38 kB / 3.253 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/13.67, allocations: 1.395 MB / 3.254 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/13.68, allocations: 254.9 kB / 3.254 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/13.68, allocations: 20.31 kB / 3.254 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/13.68, allocations: 70.84 kB / 3.254 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/13.68, allocations: 52.61 kB / 3.254 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/13.68, allocations: 22.66 kB / 3.254 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001255/13.68, allocations: 0.5373 MB / 3.255 GB, free: 105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/13.68, allocations: 0 / 3.255 GB, free: 105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00387/13.68, allocations: 0.7492 MB / 3.256 GB, free: 104.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.008628/13.69, allocations: 4.313 MB / 3.26 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003927/13.69, allocations: 1.128 MB / 3.261 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/13.69, allocations: 0 / 3.261 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/13.7, allocations: 360.5 kB / 3.261 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/13.7, allocations: 470.2 kB / 3.262 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/13.72, allocations: 9.288 MB / 3.271 GB, free: 97.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/13.72, allocations: 1.196 MB / 3.272 GB, free: 97.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002504/13.73, allocations: 343.3 kB / 3.272 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/13.73, allocations: 429.9 kB / 3.273 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of SimCode: time 2.404e-06/13.73, allocations: 0.75 kB / 3.273 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/13.87, allocations: 53.85 MB / 3.325 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004185/13.87, allocations: 255.9 kB / 3.325 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/20.96, allocations: 7.188 kB / 3.325 GB, free: 58.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)