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.001009/0.001009, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7588/0.7588, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 395.5 MB, free: 10.73 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.0008374/0.0008374, allocations: 102.1 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.754e-05, allocations: 4 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5873/0.5874, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.84, allocations: 1.94 GB / 2.574 GB, free: 57.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/5.84, allocations: 99.31 kB / 2.574 GB, free: 57.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.673/8.513, allocations: 0.6296 GB / 3.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/8.513, allocations: 0 / 3.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001648/8.513, allocations: 38.17 kB / 3.204 GB, free: 121.6 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.004111/8.518, allocations: 1.477 MB / 3.205 GB, free: 121 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/8.518, allocations: 10.41 kB / 3.205 GB, free: 121 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/8.52, allocations: 320 kB / 3.206 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/8.523, allocations: 1.188 MB / 3.207 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/8.523, allocations: 31.59 kB / 3.207 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/8.523, allocations: 63.34 kB / 3.207 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001654/8.525, allocations: 0.8154 MB / 3.208 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/8.527, allocations: 0.9874 MB / 3.209 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/8.527, allocations: 0 / 3.209 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/8.527, allocations: 3.891 kB / 3.209 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/8.527, allocations: 38.84 kB / 3.209 GB, free: 120.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004566/8.531, allocations: 4.504 MB / 3.213 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/8.532, allocations: 0.6205 MB / 3.214 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/8.533, allocations: 331.7 kB / 3.214 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/8.533, allocations: 316.9 kB / 3.214 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/8.533, allocations: 49.25 kB / 3.214 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.226e-06/8.533, allocations: 0 / 3.214 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001521/8.535, allocations: 0.7349 MB / 3.215 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/8.535, allocations: 110.8 kB / 3.215 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/8.535, allocations: 0.5576 MB / 3.216 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/8.536, allocations: 27.98 kB / 3.216 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/8.536, allocations: 0.537 MB / 3.216 GB, free: 117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/8.536, allocations: 235 kB / 3.216 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/8.536, allocations: 0 / 3.216 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/8.536, allocations: 330.9 kB / 3.217 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/8.537, allocations: 252.3 kB / 3.217 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/8.537, allocations: 487.4 kB / 3.217 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/8.538, allocations: 411.2 kB / 3.218 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/8.538, allocations: 0 / 3.218 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001299/8.539, allocations: 0.8653 MB / 3.219 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003851/8.539, allocations: 1.754 MB / 3.22 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/8.539, allocations: 3.844 kB / 3.22 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/8.539, allocations: 7.688 kB / 3.22 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/8.54, allocations: 184.7 kB / 3.221 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003267/8.541, allocations: 0.6075 MB / 3.221 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/8.542, allocations: 114.2 kB / 3.221 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/8.542, allocations: 38.45 kB / 3.221 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/8.542, allocations: 3.656 kB / 3.221 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001147/8.543, allocations: 0.7359 MB / 3.222 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/8.543, allocations: 3.562 kB / 3.222 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/8.543, allocations: 10.81 kB / 3.222 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/8.544, allocations: 169.6 kB / 3.222 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/8.544, allocations: 12.97 kB / 3.222 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/8.544, allocations: 97.95 kB / 3.222 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/8.544, allocations: 37.09 kB / 3.222 GB, free: 113.8 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 () * 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.0001694/8.545, allocations: 125.8 kB / 3.223 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00119/8.546, allocations: 0.7079 MB / 3.223 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/8.546, allocations: 91.59 kB / 3.223 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/8.547, allocations: 0.759 MB / 3.224 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/8.547, allocations: 6.406 kB / 3.224 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/8.547, allocations: 0 / 3.224 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/8.548, allocations: 0.8722 MB / 3.225 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/8.551, allocations: 1.961 MB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/8.551, allocations: 7.062 kB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/8.552, allocations: 164.3 kB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/8.552, allocations: 7 kB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/8.552, allocations: 16.5 kB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002042/8.552, allocations: 0.5923 MB / 3.228 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/8.552, allocations: 0 / 3.228 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/8.554, allocations: 1.36 MB / 3.229 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/8.554, allocations: 253.3 kB / 3.229 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/8.554, allocations: 3.094 kB / 3.229 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/8.555, allocations: 63.67 kB / 3.229 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/8.555, allocations: 52.69 kB / 3.229 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/8.555, allocations: 26.12 kB / 3.229 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004671/8.556, allocations: 438.6 kB / 3.23 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/8.556, allocations: 0 / 3.23 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001828/8.557, allocations: 0.669 MB / 3.23 GB, free: 111.3 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 () * 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.004435/8.562, allocations: 4.501 MB / 3.235 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001768/8.564, allocations: 1.047 MB / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/8.564, allocations: 0 / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/8.564, allocations: 325.7 kB / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/8.566, allocations: 422.1 kB / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/8.57, allocations: 1.994 MB / 3.238 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/8.57, allocations: 1.203 MB / 3.24 GB, free: 108 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001321/8.572, allocations: 396 kB / 3.24 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/8.572, allocations: 415.9 kB / 3.24 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/8.572, allocations: 2.344 kB / 3.24 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/8.641, allocations: 38.77 MB / 3.278 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/8.641, allocations: 171.1 kB / 3.278 GB, free: 106 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/12.15, allocations: 0 / 3.278 GB, free: 106 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)