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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009095, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001074/0.001074, allocations: 172.7 kB / 15.95 MB, free: 208 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.336/1.336, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9168/0.9168, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 8.219 kB / 0.5071 GB, free: 5.059 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 82.32 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.4696/0.6329, allocations: 180.2 MB / 0.7634 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.6468, allocations: 10.15 MB / 0.7733 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.6484, allocations: 39.75 kB / 0.7734 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.6497, allocations: 377.4 kB / 0.7737 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.6539, allocations: 1.314 MB / 0.775 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.6565, allocations: 0.8914 MB / 0.7759 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003956/0.6605, allocations: 3.174 MB / 0.779 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.6619, allocations: 0.8762 MB / 0.7798 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.6646, allocations: 1.237 MB / 0.781 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.6662, allocations: 0.8989 MB / 0.7819 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.6663, allocations: 52 kB / 0.782 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.6689, allocations: 1.029 MB / 0.783 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00049/0.6694, allocations: 446.6 kB / 0.7834 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.6698, allocations: 277 kB / 0.7837 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.6715, allocations: 1.621 MB / 0.7852 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6716, allocations: 4 kB / 0.7852 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6716, allocations: 0 / 0.7852 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.6716, allocations: 0 / 0.7852 GB, free: 2.355 MB / 0.5919 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.002454/0.6741, allocations: 1.462 MB / 0.7867 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6741, allocations: 12.03 kB / 0.7867 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.6743, allocations: 156.3 kB / 0.7868 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.676, allocations: 330 kB / 0.7871 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.6776, allocations: 0.8914 MB / 0.788 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.6777, allocations: 85.98 kB / 0.7881 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.6778, allocations: 108 kB / 0.7882 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.6797, allocations: 1.171 MB / 0.7893 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.6798, allocations: 0 / 0.7893 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.6799, allocations: 40 kB / 0.7894 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/0.6799, allocations: 38 kB / 0.7894 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.6815, allocations: 0.929 MB / 0.7903 GB, free: 13.01 MB / 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.005312/0.6868, allocations: 4.725 MB / 0.7949 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.6879, allocations: 0.7256 MB / 0.7957 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.6886, allocations: 395 kB / 0.796 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.6892, allocations: 327.8 kB / 0.7963 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.6892, allocations: 48 kB / 0.7964 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.295e-06/0.6892, allocations: 0 / 0.7964 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.001907/0.6911, allocations: 1.021 MB / 0.7974 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.6912, allocations: 59.97 kB / 0.7974 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.6922, allocations: 0.7869 MB / 0.7982 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.6923, allocations: 45.7 kB / 0.7983 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.6927, allocations: 0.5345 MB / 0.7988 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.6929, allocations: 240.4 kB / 0.799 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.693, allocations: 16 kB / 0.799 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6931, allocations: 341.9 kB / 0.7993 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.6936, allocations: 293.8 kB / 0.7996 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/0.6943, allocations: 0.5102 MB / 0.8001 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/0.695, allocations: 379 kB / 0.8005 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.695, allocations: 0 / 0.8005 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001572/0.6966, allocations: 0.9096 MB / 0.8014 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.6968, allocations: 224.5 kB / 0.8016 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6968, allocations: 4 kB / 0.8016 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.6968, allocations: 8 kB / 0.8016 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/0.6977, allocations: 187.7 kB / 0.8018 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004113/0.6982, allocations: 0.6001 MB / 0.8024 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.699, allocations: 135.1 kB / 0.8025 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.6991, allocations: 31.98 kB / 0.8025 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.6991, allocations: 4 kB / 0.8025 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/0.7004, allocations: 0.8036 MB / 0.8033 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7005, allocations: 4 kB / 0.8033 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.7005, allocations: 12 kB / 0.8033 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.7011, allocations: 164.4 kB / 0.8035 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.7011, allocations: 15.92 kB / 0.8035 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/0.7019, allocations: 122 kB / 0.8036 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.7019, allocations: 35.98 kB / 0.8037 GB, free: 14.68 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.0007298/0.7027, allocations: 404.7 kB / 0.804 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.7028, allocations: 102.8 kB / 0.8041 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.7043, allocations: 0.7986 MB / 0.8049 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.7044, allocations: 11.94 kB / 0.8049 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.7044, allocations: 4 kB / 0.8049 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/0.7055, allocations: 0.8905 MB / 0.8058 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.7091, allocations: 2.174 MB / 0.8079 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7091, allocations: 0 / 0.8079 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.7099, allocations: 159.8 kB / 0.8081 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.7099, allocations: 4 kB / 0.8081 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.71, allocations: 24.27 kB / 0.8081 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003551/0.7103, allocations: 0.5937 MB / 0.8087 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7103, allocations: 4.031 kB / 0.8087 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.7122, allocations: 1.331 MB / 0.81 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.7127, allocations: 255.7 kB / 0.8102 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7128, allocations: 24 kB / 0.8103 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.7133, allocations: 67.78 kB / 0.8103 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.7134, allocations: 48.47 kB / 0.8104 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.7135, allocations: 23.98 kB / 0.8104 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008086/0.7143, allocations: 0.5382 MB / 0.8109 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7143, allocations: 3.938 kB / 0.8109 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001522/0.7158, allocations: 0.5648 MB / 0.8115 GB, free: 6.375 MB / 0.6231 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.002523/0.7184, allocations: 2.01 MB / 0.8134 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.7207, allocations: 1.173 MB / 0.8146 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7207, allocations: 0 / 0.8146 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.7213, allocations: 370.9 kB / 0.8149 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.7235, allocations: 492.2 kB / 0.8154 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.7345, allocations: 6.483 MB / 0.8217 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008545/0.7354, allocations: 1.171 MB / 0.8229 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001215/0.7367, allocations: 356 kB / 0.8232 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.7373, allocations: 431.3 kB / 0.8236 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.7373, allocations: 0 / 0.8236 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04706/0.7844, allocations: 26.41 MB / 0.8494 GB, free: 15.66 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.7846, allocations: 269.5 kB / 0.8497 GB, free: 15.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.269, allocations: 0 / 0.8497 GB, free: 15.29 MB / 0.67 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) Environment - environmentSimulation: