Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_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.008936/0.008936, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7566/0.7566, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001009/0.001008, allocations: 100.9 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 11.98 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.485, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.63/5.115, allocations: 1.941 GB / 2.59 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/5.116, allocations: 109 kB / 2.59 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.622/7.737, allocations: 0.6373 GB / 3.228 GB, free: 116 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/7.738, allocations: 0 / 3.228 GB, free: 116 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001152/7.738, allocations: 44.19 kB / 3.228 GB, free: 115.9 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.00401/7.742, allocations: 1.654 MB / 3.229 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/7.742, allocations: 9.875 kB / 3.229 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002515/7.742, allocations: 160.3 kB / 3.23 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/7.744, allocations: 327.2 kB / 3.23 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/7.748, allocations: 1.192 MB / 3.231 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/7.748, allocations: 81 kB / 3.231 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/7.748, allocations: 106.1 kB / 3.231 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/7.75, allocations: 1.153 MB / 3.232 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/7.75, allocations: 4.531 kB / 3.232 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/7.75, allocations: 41.06 kB / 3.232 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/7.75, allocations: 44.67 kB / 3.232 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/7.752, allocations: 0.9119 MB / 3.233 GB, free: 114.6 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.006045/7.758, allocations: 4.709 MB / 3.238 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/7.759, allocations: 0.7119 MB / 3.239 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005201/7.759, allocations: 309.3 kB / 3.239 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/7.759, allocations: 40.66 kB / 3.239 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.615e-06/7.759, allocations: 3.938 kB / 3.239 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001917/7.761, allocations: 0.9794 MB / 3.24 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/7.761, allocations: 116.8 kB / 3.24 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/7.762, allocations: 0.6948 MB / 3.241 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/7.762, allocations: 41.08 kB / 3.241 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/7.763, allocations: 0.5323 MB / 3.241 GB, free: 111 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/7.763, allocations: 244.5 kB / 3.242 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/7.763, allocations: 17.25 kB / 3.242 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/7.763, allocations: 341.8 kB / 3.242 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/7.764, allocations: 276.6 kB / 3.242 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/7.764, allocations: 0.5175 MB / 3.243 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/7.765, allocations: 370.2 kB / 3.243 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/7.765, allocations: 7.688 kB / 3.243 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00131/7.766, allocations: 0.8843 MB / 3.244 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004928/7.767, allocations: 1.75 MB / 3.246 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/7.767, allocations: 6.938 kB / 3.246 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/7.767, allocations: 11.73 kB / 3.246 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/7.767, allocations: 178.7 kB / 3.246 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002957/7.768, allocations: 0.6049 MB / 3.246 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/7.769, allocations: 139.7 kB / 3.246 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/7.769, allocations: 34.56 kB / 3.247 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/7.769, allocations: 6.781 kB / 3.247 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001093/7.77, allocations: 0.7691 MB / 3.247 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/7.77, allocations: 3.812 kB / 3.247 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/7.77, allocations: 13.27 kB / 3.247 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/7.771, allocations: 169.2 kB / 3.247 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/7.771, allocations: 10.59 kB / 3.247 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000829/7.771, allocations: 139.4 kB / 3.248 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/7.772, allocations: 37.66 kB / 3.248 GB, free: 107.6 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.0007311/7.772, allocations: 401.4 kB / 3.248 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/7.772, allocations: 98.84 kB / 3.248 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/7.774, allocations: 0.7752 MB / 3.249 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/7.774, allocations: 3.844 kB / 3.249 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/7.774, allocations: 2.75 kB / 3.249 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009311/7.775, allocations: 0.865 MB / 3.25 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/7.778, allocations: 2.09 MB / 3.252 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/7.778, allocations: 6.5 kB / 3.252 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/7.779, allocations: 158.4 kB / 3.252 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/7.779, allocations: 5.719 kB / 3.252 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/7.779, allocations: 22.86 kB / 3.252 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002365/7.779, allocations: 0.5939 MB / 3.253 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/7.779, allocations: 3.656 kB / 3.253 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/7.781, allocations: 1.385 MB / 3.254 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/7.781, allocations: 258.7 kB / 3.254 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/7.781, allocations: 16.19 kB / 3.254 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/7.782, allocations: 78.33 kB / 3.254 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/7.782, allocations: 50.52 kB / 3.254 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/7.782, allocations: 25.39 kB / 3.254 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006212/7.783, allocations: 0.5371 MB / 3.255 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/7.783, allocations: 0 / 3.255 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002235/7.785, allocations: 0.7467 MB / 3.256 GB, free: 105.1 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.005476/7.79, allocations: 4.328 MB / 3.26 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002172/7.793, allocations: 1.125 MB / 3.261 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/7.793, allocations: 0 / 3.261 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/7.793, allocations: 352.8 kB / 3.261 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/7.795, allocations: 471.1 kB / 3.262 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009805/7.805, allocations: 9.288 MB / 3.271 GB, free: 97.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/7.806, allocations: 1.197 MB / 3.272 GB, free: 97.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001352/7.807, allocations: 343.9 kB / 3.272 GB, free: 97.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/7.808, allocations: 433.8 kB / 3.273 GB, free: 97.17 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/7.808, allocations: 2.688 kB / 3.273 GB, free: 97.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0828/7.891, allocations: 53.85 MB / 3.325 GB, free: 59.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/7.891, allocations: 247.3 kB / 3.325 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/11.79, allocations: 0 / 3.325 GB, free: 58.96 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)