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.001611/0.001611, allocations: 99.86 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.002444/0.002444, 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.843/2.843, 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-master/package.mo): time 1.871/1.871, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.0005469, allocations: 8 kB / 0.5069 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3392, allocations: 82.31 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 1.117/1.456, allocations: 164.1 MB / 0.7475 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03629/1.492, allocations: 9.559 MB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004742/1.497, allocations: 35.75 kB / 0.7569 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004147/1.501, allocations: 0.5054 MB / 0.7574 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/1.512, allocations: 1.585 MB / 0.7589 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007096/1.519, allocations: 1.143 MB / 0.7601 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00695/1.526, allocations: 1.622 MB / 0.7616 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/1.53, allocations: 0.8968 MB / 0.7625 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005676/1.535, allocations: 1.117 MB / 0.7636 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/1.538, allocations: 0.6498 MB / 0.7642 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004577/1.538, allocations: 52 kB / 0.7643 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004636/1.543, allocations: 0.8229 MB / 0.7651 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/1.544, allocations: 414.8 kB / 0.7655 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009215/1.545, allocations: 273 kB / 0.7658 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004456/1.55, allocations: 1.522 MB / 0.7672 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.55, allocations: 4 kB / 0.7672 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.939e-06/1.55, allocations: 0 / 0.7672 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.754e-05/1.55, allocations: 0 / 0.7672 GB, free: 4.164 MB / 0.5762 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.005512/1.555, allocations: 1.431 MB / 0.7686 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001017/1.555, allocations: 8.031 kB / 0.7687 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006343/1.556, allocations: 156.3 kB / 0.7688 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/1.56, allocations: 330 kB / 0.7691 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/1.564, allocations: 0.8551 MB / 0.77 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/1.564, allocations: 78 kB / 0.77 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/1.564, allocations: 107.9 kB / 0.7701 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/1.568, allocations: 1.163 MB / 0.7713 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/1.568, allocations: 4 kB / 0.7713 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/1.568, allocations: 36 kB / 0.7713 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.403e-05/1.568, allocations: 45.94 kB / 0.7713 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/1.571, allocations: 0.9252 MB / 0.7723 GB, free: 14.9 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.01112/1.582, allocations: 4.721 MB / 0.7769 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/1.585, allocations: 0.7328 MB / 0.7776 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/1.585, allocations: 150.5 kB / 0.7777 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/1.585, allocations: 49.03 kB / 0.7778 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 6.873e-06/1.585, allocations: 0 / 0.7778 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003461/1.589, allocations: 1.025 MB / 0.7788 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/1.589, allocations: 59.97 kB / 0.7788 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/1.591, allocations: 0.7869 MB / 0.7796 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/1.591, allocations: 41.7 kB / 0.7796 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/1.592, allocations: 0.5306 MB / 0.7802 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/1.592, allocations: 244.4 kB / 0.7804 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/1.592, allocations: 16 kB / 0.7804 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.592, allocations: 341.9 kB / 0.7807 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/1.593, allocations: 289.8 kB / 0.781 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.594, allocations: 0.5063 MB / 0.7815 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.595, allocations: 387 kB / 0.7819 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.595, allocations: 0 / 0.7819 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002636/1.598, allocations: 0.9061 MB / 0.7828 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.001507/1.6, allocations: 1.756 MB / 0.7845 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.6, allocations: 8 kB / 0.7845 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.702e-05/1.6, allocations: 8 kB / 0.7845 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.601, allocations: 179.7 kB / 0.7847 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007327/1.602, allocations: 0.6055 MB / 0.7852 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/1.604, allocations: 123.2 kB / 0.7854 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.604, allocations: 39.98 kB / 0.7854 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.604, allocations: 6.344 kB / 0.7854 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002289/1.606, allocations: 0.7921 MB / 0.7862 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.606, allocations: 4.594 kB / 0.7862 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.606, allocations: 15.95 kB / 0.7862 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.608, allocations: 171.7 kB / 0.7864 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/1.608, allocations: 8 kB / 0.7864 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.609, allocations: 127 kB / 0.7865 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.61, allocations: 32 kB / 0.7865 GB, free: 15.56 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.001308/1.611, allocations: 415.2 kB / 0.7869 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/1.611, allocations: 98.78 kB / 0.787 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/1.614, allocations: 0.8054 MB / 0.7878 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.614, allocations: 4 kB / 0.7878 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.614, allocations: 0 / 0.7878 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/1.616, allocations: 0.8867 MB / 0.7887 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/1.623, allocations: 2.17 MB / 0.7908 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.623, allocations: 7.938 kB / 0.7908 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.624, allocations: 160.1 kB / 0.7909 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.321e-05/1.624, allocations: 4 kB / 0.791 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/1.624, allocations: 16 kB / 0.791 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006422/1.625, allocations: 0.6023 MB / 0.7916 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.625, allocations: 7.953 kB / 0.7916 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/1.629, allocations: 1.432 MB / 0.793 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.63, allocations: 259.7 kB / 0.7932 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/1.63, allocations: 16 kB / 0.7932 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.631, allocations: 67.78 kB / 0.7933 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.631, allocations: 49.7 kB / 0.7933 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.361e-05/1.631, allocations: 27.94 kB / 0.7934 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001388/1.633, allocations: 0.5421 MB / 0.7939 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/1.633, allocations: 0 / 0.7939 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003085/1.636, allocations: 0.5609 MB / 0.7944 GB, free: 7.109 MB / 0.6075 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.00543/1.641, allocations: 2.744 MB / 0.7971 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004029/1.645, allocations: 1.162 MB / 0.7983 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.645, allocations: 0 / 0.7983 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/1.647, allocations: 370.9 kB / 0.7986 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004536/1.651, allocations: 485 kB / 0.7991 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/1.676, allocations: 9.267 MB / 0.8081 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/1.678, allocations: 1.198 MB / 0.8093 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002413/1.68, allocations: 364 kB / 0.8096 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.682, allocations: 435.3 kB / 0.8101 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of SimCode: time 2.174e-06/1.682, allocations: 0 / 0.8101 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.785, allocations: 26.36 MB / 0.8358 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004147/1.785, allocations: 259.4 kB / 0.836 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.504/6.289, allocations: 0 / 0.836 GB, free: 12.49 MB / 0.6544 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: