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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9111/0.9111, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008669, allocations: 95.31 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.439e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1574, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.805/5.962, allocations: 1.941 GB / 2.581 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/5.962, allocations: 92.56 kB / 2.581 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.482/8.445, allocations: 0.6367 GB / 3.218 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.545e-06/8.445, allocations: 0 / 3.218 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002101/8.445, allocations: 35.98 kB / 3.218 GB, free: 88.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.004978/8.45, allocations: 1.478 MB / 3.22 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/8.45, allocations: 8.031 kB / 3.22 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005648/8.45, allocations: 160.3 kB / 3.22 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/8.453, allocations: 314 kB / 3.22 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/8.457, allocations: 1.195 MB / 3.221 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/8.457, allocations: 78 kB / 3.221 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/8.457, allocations: 111.9 kB / 3.221 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/8.46, allocations: 1.122 MB / 3.222 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/8.46, allocations: 4 kB / 3.222 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/8.46, allocations: 40 kB / 3.222 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/8.46, allocations: 37.94 kB / 3.223 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/8.462, allocations: 0.8746 MB / 3.223 GB, free: 83.06 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.006474/8.468, allocations: 4.712 MB / 3.228 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/8.469, allocations: 0.6521 MB / 3.229 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/8.47, allocations: 351.6 kB / 3.229 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/8.47, allocations: 316.1 kB / 3.229 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/8.47, allocations: 47.12 kB / 3.229 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.778e-06/8.47, allocations: 0 / 3.229 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001598/8.472, allocations: 0.6931 MB / 3.23 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/8.472, allocations: 111.4 kB / 3.23 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/8.473, allocations: 0.6848 MB / 3.231 GB, free: 75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/8.473, allocations: 49.58 kB / 3.231 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/8.474, allocations: 0.5345 MB / 3.231 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/8.474, allocations: 248.4 kB / 3.232 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/8.474, allocations: 16 kB / 3.232 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001014/8.474, allocations: 334 kB / 3.232 GB, free: 73.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/8.474, allocations: 261.5 kB / 3.232 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/8.475, allocations: 0.4999 MB / 3.233 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/8.475, allocations: 352.3 kB / 3.233 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/8.475, allocations: 0 / 3.233 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001344/8.477, allocations: 0.8581 MB / 3.234 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005112/8.477, allocations: 1.745 MB / 3.236 GB, free: 69.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/8.477, allocations: 7.938 kB / 3.236 GB, free: 69.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/8.477, allocations: 12 kB / 3.236 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/8.478, allocations: 175.7 kB / 3.236 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003217/8.479, allocations: 0.6016 MB / 3.236 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/8.48, allocations: 131.3 kB / 3.236 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/8.48, allocations: 43.95 kB / 3.236 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/8.48, allocations: 5.094 kB / 3.236 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/8.481, allocations: 0.733 MB / 3.237 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/8.481, allocations: 8.031 kB / 3.237 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/8.481, allocations: 11.8 kB / 3.237 GB, free: 68.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/8.482, allocations: 167.7 kB / 3.237 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/8.482, allocations: 15.92 kB / 3.237 GB, free: 67.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/8.482, allocations: 131.2 kB / 3.237 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/8.482, allocations: 39.98 kB / 3.238 GB, free: 67.78 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.0001764/8.483, allocations: 144.9 kB / 3.238 GB, free: 67.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/8.483, allocations: 102.7 kB / 3.238 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/8.484, allocations: 0.747 MB / 3.238 GB, free: 66.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/8.484, allocations: 4 kB / 3.239 GB, free: 66.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/8.484, allocations: 12 kB / 3.239 GB, free: 66.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007977/8.485, allocations: 0.8319 MB / 3.239 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/8.488, allocations: 2.05 MB / 3.241 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/8.488, allocations: 4 kB / 3.241 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/8.489, allocations: 152.1 kB / 3.241 GB, free: 63.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/8.489, allocations: 12 kB / 3.241 GB, free: 63.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/8.489, allocations: 19.98 kB / 3.242 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000206/8.489, allocations: 0.5937 MB / 3.242 GB, free: 62.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/8.489, allocations: 4.031 kB / 3.242 GB, free: 62.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/8.49, allocations: 1.335 MB / 3.243 GB, free: 61.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/8.491, allocations: 259.7 kB / 3.244 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/8.491, allocations: 23.94 kB / 3.244 GB, free: 61.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/8.491, allocations: 79.78 kB / 3.244 GB, free: 61.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/8.492, allocations: 48.39 kB / 3.244 GB, free: 61.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/8.492, allocations: 27.98 kB / 3.244 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006082/8.492, allocations: 0.5345 MB / 3.244 GB, free: 60.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/8.492, allocations: 0 / 3.244 GB, free: 60.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002291/8.494, allocations: 0.7406 MB / 3.245 GB, free: 59.72 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.004301/8.499, allocations: 4.259 MB / 3.249 GB, free: 55.35 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001824/8.501, allocations: 1.106 MB / 3.25 GB, free: 54.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/8.501, allocations: 0 / 3.25 GB, free: 54.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004703/8.501, allocations: 348 kB / 3.251 GB, free: 53.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/8.503, allocations: 477.3 kB / 3.251 GB, free: 53.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/8.507, allocations: 2.064 MB / 3.253 GB, free: 51.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/8.507, allocations: 1.199 MB / 3.254 GB, free: 50.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001343/8.509, allocations: 431.6 kB / 3.255 GB, free: 49.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/8.509, allocations: 419.3 kB / 3.255 GB, free: 49.24 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/8.509, allocations: 4 kB / 3.255 GB, free: 49.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09131/8.601, allocations: 60.02 MB / 3.314 GB, free: 5.551 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/8.601, allocations: 229 kB / 3.314 GB, free: 5.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.106/12.71, allocations: 0 / 3.314 GB, free: 5.32 MB / 0.698 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)