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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009424/0.0009424, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001079/0.001079, allocations: 168.7 kB / 15.95 MB, free: 204 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.305/1.305, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7451/0.7451, allocations: 132.3 MB / 423.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 12 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4189, allocations: 81.58 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.197/0.6159, allocations: 180.2 MB / 0.7591 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.628, allocations: 10.16 MB / 0.769 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009744/0.629, allocations: 39.75 kB / 0.7691 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.6301, allocations: 365.5 kB / 0.7694 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.6331, allocations: 1.322 MB / 0.7707 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.6355, allocations: 0.8775 MB / 0.7716 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003193/0.6387, allocations: 3.181 MB / 0.7747 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.6398, allocations: 0.8808 MB / 0.7755 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.642, allocations: 1.233 MB / 0.7767 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.6432, allocations: 0.895 MB / 0.7776 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.6434, allocations: 52 kB / 0.7777 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.6455, allocations: 1.033 MB / 0.7787 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.646, allocations: 454.6 kB / 0.7791 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.6463, allocations: 273 kB / 0.7794 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.6479, allocations: 1.625 MB / 0.7809 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6479, allocations: 0 / 0.7809 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6479, allocations: 0 / 0.7809 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.6479, allocations: 0 / 0.7809 GB, free: 5.48 MB / 0.6075 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.002163/0.6501, allocations: 1.456 MB / 0.7824 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6502, allocations: 8.031 kB / 0.7824 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.6503, allocations: 160.3 kB / 0.7825 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.652, allocations: 326 kB / 0.7828 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.6536, allocations: 0.8945 MB / 0.7837 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.6537, allocations: 77.95 kB / 0.7838 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.6538, allocations: 108 kB / 0.7839 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.6556, allocations: 1.171 MB / 0.785 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.6556, allocations: 7.922 kB / 0.785 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.6557, allocations: 44 kB / 0.7851 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.6557, allocations: 38 kB / 0.7851 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.6572, allocations: 0.9406 MB / 0.786 GB, free: 124 kB / 0.6075 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.004716/0.6619, allocations: 4.71 MB / 0.7906 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.663, allocations: 0.7324 MB / 0.7914 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.6636, allocations: 391.7 kB / 0.7917 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005365/0.6641, allocations: 332.7 kB / 0.792 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.6642, allocations: 43.12 kB / 0.7921 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 1.863e-06/0.6642, allocations: 0 / 0.7921 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.001769/0.6659, allocations: 1.021 MB / 0.7931 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.666, allocations: 59.91 kB / 0.7931 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008654/0.6669, allocations: 0.7947 MB / 0.7939 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.6669, allocations: 37.7 kB / 0.794 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.6673, allocations: 0.5344 MB / 0.7945 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.6675, allocations: 248.5 kB / 0.7947 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.6675, allocations: 16 kB / 0.7947 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6676, allocations: 338 kB / 0.7951 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.6681, allocations: 289.8 kB / 0.7953 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.6687, allocations: 0.5148 MB / 0.7958 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.6692, allocations: 371 kB / 0.7962 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6693, allocations: 0 / 0.7962 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001328/0.6706, allocations: 0.9137 MB / 0.7971 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.6707, allocations: 224.4 kB / 0.7973 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6708, allocations: 8 kB / 0.7973 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6708, allocations: 8 kB / 0.7973 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.6716, allocations: 199.7 kB / 0.7975 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003153/0.6719, allocations: 0.5938 MB / 0.7981 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.6727, allocations: 135.1 kB / 0.7982 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.6728, allocations: 32 kB / 0.7982 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.6728, allocations: 4 kB / 0.7982 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/0.674, allocations: 0.7962 MB / 0.799 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.674, allocations: 4 kB / 0.799 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.674, allocations: 8 kB / 0.799 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.6747, allocations: 171.7 kB / 0.7992 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.6747, allocations: 11.94 kB / 0.7992 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.6754, allocations: 127.4 kB / 0.7993 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.6754, allocations: 36 kB / 0.7994 GB, free: 1.785 MB / 0.6231 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 (97): * Single equations (assignments): 96 * 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.0005162/0.6759, allocations: 400.8 kB / 0.7997 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.6761, allocations: 102.7 kB / 0.7998 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.6774, allocations: 0.8055 MB / 0.8006 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6774, allocations: 4 kB / 0.8006 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6774, allocations: 0 / 0.8006 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.6786, allocations: 0.8905 MB / 0.8015 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.6819, allocations: 2.174 MB / 0.8036 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.6819, allocations: 8 kB / 0.8036 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.6826, allocations: 147.9 kB / 0.8038 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.6826, allocations: 7.938 kB / 0.8038 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.6827, allocations: 23.98 kB / 0.8038 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000342/0.683, allocations: 0.594 MB / 0.8044 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.683, allocations: 7.938 kB / 0.8044 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.6849, allocations: 1.331 MB / 0.8057 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.6853, allocations: 255.7 kB / 0.8059 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6854, allocations: 20 kB / 0.806 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.686, allocations: 71.78 kB / 0.806 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.686, allocations: 48.39 kB / 0.8061 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.6861, allocations: 28 kB / 0.8061 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006782/0.6868, allocations: 0.5343 MB / 0.8066 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6868, allocations: 0 / 0.8066 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001397/0.6882, allocations: 0.5687 MB / 0.8072 GB, free: 9.48 MB / 0.6387 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 (69): * Single equations (assignments): 68 * 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.002623/0.6908, allocations: 2.01 MB / 0.8091 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002155/0.693, allocations: 1.165 MB / 0.8103 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.693, allocations: 0 / 0.8103 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006448/0.6937, allocations: 378.9 kB / 0.8106 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.6958, allocations: 490.6 kB / 0.8111 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2886/0.9844, allocations: 6.455 MB / 0.8174 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.9853, allocations: 1.174 MB / 0.8186 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001543/0.9869, allocations: 366.8 kB / 0.8189 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.9875, allocations: 437.2 kB / 0.8193 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.9875, allocations: 0 / 0.8193 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04968/1.037, allocations: 26.4 MB / 0.8451 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.038, allocations: 252.9 kB / 0.8453 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.458, allocations: 3.609 kB / 0.8453 GB, free: 206.3 MB / 0.6387 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) Environment - environmentSimulation: