Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 178.9 kB / 0.4901 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009384, allocations: 98.89 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 10.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3786, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.673/7.051, allocations: 1.979 GB / 3.208 GB, free: 436.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006378/7.052, allocations: 102.5 kB / 3.208 GB, free: 436.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.484/9.536, allocations: 0.639 GB / 3.847 GB, free: 265.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.695e-06/9.536, allocations: 7.469 kB / 3.847 GB, free: 265.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00021/9.536, allocations: 34.03 kB / 3.847 GB, free: 265.4 MB / 1.167 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.005863/9.542, allocations: 1.65 MB / 3.849 GB, free: 263.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/9.542, allocations: 12.03 kB / 3.849 GB, free: 263.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006679/9.543, allocations: 156.3 kB / 3.849 GB, free: 263.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/9.546, allocations: 312.3 kB / 3.849 GB, free: 263.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/9.549, allocations: 1.215 MB / 3.85 GB, free: 262.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/9.55, allocations: 74 kB / 3.851 GB, free: 262.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/9.55, allocations: 107 kB / 3.851 GB, free: 262 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/9.553, allocations: 1.156 MB / 3.852 GB, free: 260.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/9.553, allocations: 3.938 kB / 3.852 GB, free: 260.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/9.553, allocations: 40 kB / 3.852 GB, free: 260.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/9.553, allocations: 41.98 kB / 3.852 GB, free: 260.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/9.555, allocations: 0.9167 MB / 3.853 GB, free: 259.8 MB / 1.167 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.006902/9.562, allocations: 4.714 MB / 3.857 GB, free: 254.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/9.563, allocations: 0.7098 MB / 3.858 GB, free: 254.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/9.563, allocations: 318 kB / 3.858 GB, free: 253.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/9.563, allocations: 39.12 kB / 3.858 GB, free: 253.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 3.987e-06/9.563, allocations: 0 / 3.858 GB, free: 253.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.002138/9.566, allocations: 0.9804 MB / 3.859 GB, free: 252.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/9.566, allocations: 114.7 kB / 3.859 GB, free: 252.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/9.567, allocations: 0.6925 MB / 3.86 GB, free: 251.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/9.567, allocations: 45.64 kB / 3.86 GB, free: 251.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/9.567, allocations: 0.5341 MB / 3.861 GB, free: 251.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/9.568, allocations: 244.8 kB / 3.861 GB, free: 251 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/9.568, allocations: 16 kB / 3.861 GB, free: 251 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001226/9.568, allocations: 336.9 kB / 3.861 GB, free: 250.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/9.568, allocations: 281.8 kB / 3.862 GB, free: 250.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/9.569, allocations: 0.517 MB / 3.862 GB, free: 249.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/9.569, allocations: 361.6 kB / 3.862 GB, free: 249.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/9.569, allocations: 0 / 3.862 GB, free: 249.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001459/9.571, allocations: 0.8899 MB / 3.863 GB, free: 248.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005781/9.571, allocations: 1.754 MB / 3.865 GB, free: 246.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/9.571, allocations: 4 kB / 3.865 GB, free: 246.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/9.572, allocations: 12 kB / 3.865 GB, free: 246.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/9.572, allocations: 187.6 kB / 3.865 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003891/9.573, allocations: 0.5971 MB / 3.866 GB, free: 245.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/9.574, allocations: 152.9 kB / 3.866 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/9.574, allocations: 31.98 kB / 3.866 GB, free: 245.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/9.574, allocations: 6.031 kB / 3.866 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001188/9.575, allocations: 0.7745 MB / 3.867 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/9.576, allocations: 4 kB / 3.867 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/9.576, allocations: 8 kB / 3.867 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/9.576, allocations: 170.9 kB / 3.867 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/9.576, allocations: 15.92 kB / 3.867 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/9.577, allocations: 137.5 kB / 3.867 GB, free: 244.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/9.578, allocations: 39.98 kB / 3.867 GB, free: 244.5 MB / 1.167 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 (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.0007985/9.578, allocations: 404.4 kB / 3.867 GB, free: 244.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/9.579, allocations: 94.88 kB / 3.867 GB, free: 244 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/9.58, allocations: 0.7893 MB / 3.868 GB, free: 243.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/9.58, allocations: 8 kB / 3.868 GB, free: 243.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/9.58, allocations: 3.938 kB / 3.868 GB, free: 243.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009895/9.581, allocations: 0.8671 MB / 3.869 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/9.585, allocations: 2.101 MB / 3.871 GB, free: 240.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/9.585, allocations: 0 / 3.871 GB, free: 240.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/9.586, allocations: 155.8 kB / 3.871 GB, free: 239.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.387e-05/9.586, allocations: 4 kB / 3.871 GB, free: 239.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/9.586, allocations: 16 kB / 3.871 GB, free: 239.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003156/9.587, allocations: 0.6006 MB / 3.872 GB, free: 239.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/9.587, allocations: 0 / 3.872 GB, free: 239.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/9.588, allocations: 1.363 MB / 3.873 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007213/9.589, allocations: 255.6 kB / 3.874 GB, free: 237.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/9.589, allocations: 20 kB / 3.874 GB, free: 237.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/9.591, allocations: 81.64 kB / 3.874 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/9.591, allocations: 47.44 kB / 3.874 GB, free: 237.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/9.591, allocations: 23.98 kB / 3.874 GB, free: 237.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009049/9.592, allocations: 0.5421 MB / 3.874 GB, free: 236.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/9.592, allocations: 0 / 3.874 GB, free: 236.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003649/9.595, allocations: 0.7445 MB / 3.875 GB, free: 236.1 MB / 1.167 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (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.006846/9.602, allocations: 4.284 MB / 3.879 GB, free: 231.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002798/9.605, allocations: 1.13 MB / 3.88 GB, free: 230.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/9.605, allocations: 0 / 3.88 GB, free: 230.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/9.606, allocations: 352.2 kB / 3.881 GB, free: 230.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/9.609, allocations: 488.8 kB / 3.881 GB, free: 230 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/9.624, allocations: 9.299 MB / 3.89 GB, free: 220.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/9.625, allocations: 1.194 MB / 3.891 GB, free: 219.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001491/9.626, allocations: 339.1 kB / 3.892 GB, free: 218.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/9.627, allocations: 439.3 kB / 3.892 GB, free: 218.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.323e-06/9.627, allocations: 4 kB / 3.892 GB, free: 218.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09666/9.724, allocations: 53.83 MB / 3.945 GB, free: 165.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/9.724, allocations: 275.5 kB / 3.945 GB, free: 164.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/13.6, allocations: 0 / 3.945 GB, free: 164.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat does not exist to compare? outputFormat=mat