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.001522/0.001523, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001847/0.001847, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.269/2.269, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.134/1.134, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006259/0.000626, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.5997, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2787/0.8785, allocations: 164.1 MB / 0.7432 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.8971, allocations: 9.561 MB / 0.7526 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.8993, allocations: 35.75 kB / 0.7526 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.902, allocations: 0.4976 MB / 0.7531 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007307/0.9093, allocations: 1.585 MB / 0.7547 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.9144, allocations: 1.146 MB / 0.7558 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005452/0.9199, allocations: 1.617 MB / 0.7574 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.9227, allocations: 0.8966 MB / 0.7582 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004543/0.9273, allocations: 1.121 MB / 0.7593 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.9297, allocations: 0.642 MB / 0.7599 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006162/0.9303, allocations: 52 kB / 0.76 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.9336, allocations: 0.8229 MB / 0.7608 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008736/0.9345, allocations: 414.8 kB / 0.7612 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007667/0.9353, allocations: 277 kB / 0.7615 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.9385, allocations: 1.524 MB / 0.7629 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9386, allocations: 4 kB / 0.763 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9386, allocations: 0 / 0.763 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.088e-05/0.9387, allocations: 0 / 0.763 GB, free: 7.84 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.003652/0.9423, allocations: 1.421 MB / 0.7643 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.9424, allocations: 8.031 kB / 0.7643 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003552/0.9428, allocations: 156.3 kB / 0.7645 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.9449, allocations: 330 kB / 0.7648 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.9472, allocations: 0.8515 MB / 0.7656 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/0.9474, allocations: 85.95 kB / 0.7657 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.9475, allocations: 104 kB / 0.7658 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.9496, allocations: 1.167 MB / 0.767 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.9496, allocations: 0 / 0.767 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.9498, allocations: 40 kB / 0.767 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.9498, allocations: 38 kB / 0.767 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.9515, allocations: 0.9329 MB / 0.768 GB, free: 2.578 MB / 0.5919 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.007358/0.9588, allocations: 4.722 MB / 0.7726 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.9601, allocations: 0.7383 MB / 0.7733 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.9606, allocations: 154.5 kB / 0.7734 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.9607, allocations: 47.11 kB / 0.7735 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.364e-06/0.9607, allocations: 0 / 0.7735 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002403/0.9631, allocations: 1.021 MB / 0.7745 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.9632, allocations: 59.97 kB / 0.7745 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.9642, allocations: 0.7908 MB / 0.7753 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.9643, allocations: 37.7 kB / 0.7753 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.9648, allocations: 0.5422 MB / 0.7759 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.9651, allocations: 240.5 kB / 0.7761 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.9651, allocations: 16 kB / 0.7761 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9653, allocations: 334 kB / 0.7764 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.9658, allocations: 293.8 kB / 0.7767 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.9665, allocations: 0.5102 MB / 0.7772 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.9671, allocations: 379 kB / 0.7776 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9671, allocations: 0 / 0.7776 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001597/0.9687, allocations: 0.9139 MB / 0.7785 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/0.9699, allocations: 1.749 MB / 0.7802 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.9699, allocations: 4 kB / 0.7802 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.9699, allocations: 8 kB / 0.7802 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.9713, allocations: 179.8 kB / 0.7804 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004702/0.9718, allocations: 0.6016 MB / 0.7809 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.973, allocations: 135.1 kB / 0.7811 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.9731, allocations: 31.98 kB / 0.7811 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.9731, allocations: 4 kB / 0.7811 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/0.9745, allocations: 0.7997 MB / 0.7819 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.9745, allocations: 4.594 kB / 0.7819 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.9745, allocations: 8 kB / 0.7819 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006855/0.9752, allocations: 171.8 kB / 0.7821 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.9753, allocations: 15.92 kB / 0.7821 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.9763, allocations: 119.2 kB / 0.7822 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.9764, allocations: 32 kB / 0.7822 GB, free: 3.238 MB / 0.6075 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.0006855/0.977, allocations: 412.8 kB / 0.7826 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.9773, allocations: 102.7 kB / 0.7827 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.9787, allocations: 0.8016 MB / 0.7835 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.9788, allocations: 4 kB / 0.7835 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.9788, allocations: 4 kB / 0.7835 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.98, allocations: 0.8866 MB / 0.7844 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.9843, allocations: 2.174 MB / 0.7865 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.9844, allocations: 0 / 0.7865 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/0.9852, allocations: 156.1 kB / 0.7866 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.9853, allocations: 4 kB / 0.7866 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.9853, allocations: 27.98 kB / 0.7867 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005498/0.9859, allocations: 0.5937 MB / 0.7873 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.9859, allocations: 4 kB / 0.7873 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.9882, allocations: 1.436 MB / 0.7887 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/0.9889, allocations: 255.7 kB / 0.7889 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.989, allocations: 20 kB / 0.7889 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.9897, allocations: 71.72 kB / 0.789 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.9898, allocations: 48.45 kB / 0.789 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.9899, allocations: 24 kB / 0.7891 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008379/0.9907, allocations: 0.5382 MB / 0.7896 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9907, allocations: 7.938 kB / 0.7896 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001751/0.9925, allocations: 0.5609 MB / 0.7901 GB, free: 10.77 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.003523/0.996, allocations: 2.748 MB / 0.7928 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.9989, allocations: 1.169 MB / 0.794 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.9989, allocations: 0 / 0.794 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008243/0.9998, allocations: 370.9 kB / 0.7943 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.003, allocations: 479.4 kB / 0.7948 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.018, allocations: 9.263 MB / 0.8038 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.019, allocations: 1.194 MB / 0.805 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00152/1.021, allocations: 360 kB / 0.8053 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/1.022, allocations: 439.3 kB / 0.8057 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of SimCode: time 1.924e-06/1.022, allocations: 0 / 0.8057 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.507/1.529, allocations: 26.34 MB / 0.8315 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/1.529, allocations: 249.3 kB / 0.8317 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/5.297, allocations: 0 / 0.8317 GB, free: 210.6 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: