Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001263/0.001263, allocations: 191.3 kB / 498.1 MB, free: 5.68 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.447/1.447, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.001012/0.001012, allocations: 105.1 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 6.938 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2628, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.643/3.905, allocations: 1.978 GB / 3.201 GB, free: 8.957 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/3.906, allocations: 104 kB / 3.201 GB, free: 8.898 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.599/6.505, allocations: 0.6389 GB / 3.84 GB, free: 280.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.415e-06/6.505, allocations: 3.391 kB / 3.84 GB, free: 280.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001877/6.505, allocations: 38.69 kB / 3.84 GB, free: 280.3 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.005329/6.511, allocations: 1.643 MB / 3.842 GB, free: 278.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/6.511, allocations: 8.75 kB / 3.842 GB, free: 278.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000606/6.511, allocations: 163.8 kB / 3.842 GB, free: 278.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/6.514, allocations: 324.7 kB / 3.842 GB, free: 278.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/6.518, allocations: 1.2 MB / 3.843 GB, free: 277.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/6.518, allocations: 78 kB / 3.843 GB, free: 277 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/6.518, allocations: 112 kB / 3.843 GB, free: 276.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/6.521, allocations: 1.148 MB / 3.845 GB, free: 275.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/6.521, allocations: 7.438 kB / 3.845 GB, free: 275.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/6.521, allocations: 44 kB / 3.845 GB, free: 275.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/6.522, allocations: 34 kB / 3.845 GB, free: 275.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/6.523, allocations: 0.9209 MB / 3.846 GB, free: 274.7 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.006833/6.53, allocations: 4.714 MB / 3.85 GB, free: 269.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/6.531, allocations: 0.7094 MB / 3.851 GB, free: 269 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005424/6.532, allocations: 311.4 kB / 3.851 GB, free: 268.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/6.532, allocations: 47.08 kB / 3.851 GB, free: 268.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 4.899e-06/6.532, allocations: 0 / 3.851 GB, free: 268.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.002087/6.534, allocations: 0.981 MB / 3.852 GB, free: 267.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/6.534, allocations: 123.2 kB / 3.852 GB, free: 267.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/6.535, allocations: 0.6925 MB / 3.853 GB, free: 266.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/6.536, allocations: 41.7 kB / 3.853 GB, free: 266.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/6.536, allocations: 0.5341 MB / 3.854 GB, free: 266.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/6.536, allocations: 243.3 kB / 3.854 GB, free: 265.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/6.536, allocations: 16 kB / 3.854 GB, free: 265.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/6.536, allocations: 337.9 kB / 3.854 GB, free: 265.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/6.537, allocations: 284.6 kB / 3.854 GB, free: 265.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/6.537, allocations: 0.5116 MB / 3.855 GB, free: 264.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/6.538, allocations: 365.8 kB / 3.855 GB, free: 264.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/6.538, allocations: 0 / 3.855 GB, free: 264.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00145/6.539, allocations: 0.8887 MB / 3.856 GB, free: 263.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000397/6.54, allocations: 1.755 MB / 3.858 GB, free: 261.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/6.54, allocations: 4 kB / 3.858 GB, free: 261.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/6.54, allocations: 11.94 kB / 3.858 GB, free: 261.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/6.541, allocations: 171.8 kB / 3.858 GB, free: 261.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/6.541, allocations: 0.6088 MB / 3.859 GB, free: 260.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/6.542, allocations: 141.1 kB / 3.859 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/6.542, allocations: 32 kB / 3.859 GB, free: 260.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/6.542, allocations: 7.625 kB / 3.859 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/6.544, allocations: 0.7717 MB / 3.86 GB, free: 259.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/6.544, allocations: 4 kB / 3.86 GB, free: 259.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/6.544, allocations: 8 kB / 3.86 GB, free: 259.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/6.544, allocations: 178.5 kB / 3.86 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/6.544, allocations: 11.94 kB / 3.86 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/6.545, allocations: 141.3 kB / 3.86 GB, free: 259.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/6.546, allocations: 28 kB / 3.86 GB, free: 259.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.0007221/6.546, allocations: 413.2 kB / 3.86 GB, free: 259 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/6.547, allocations: 102.8 kB / 3.86 GB, free: 258.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/6.548, allocations: 0.7735 MB / 3.861 GB, free: 258.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/6.548, allocations: 4 kB / 3.861 GB, free: 258.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/6.548, allocations: 7.938 kB / 3.861 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009477/6.549, allocations: 0.8695 MB / 3.862 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/6.553, allocations: 2.096 MB / 3.864 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/6.553, allocations: 7.938 kB / 3.864 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/6.554, allocations: 155.5 kB / 3.864 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/6.554, allocations: 4 kB / 3.864 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/6.554, allocations: 27.98 kB / 3.864 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002473/6.554, allocations: 0.586 MB / 3.865 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/6.554, allocations: 7.938 kB / 3.865 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/6.556, allocations: 1.358 MB / 3.866 GB, free: 252.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006517/6.556, allocations: 259.7 kB / 3.866 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/6.557, allocations: 16 kB / 3.866 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/6.557, allocations: 78.47 kB / 3.866 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/6.558, allocations: 48.45 kB / 3.867 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/6.558, allocations: 27.98 kB / 3.867 GB, free: 252.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008564/6.558, allocations: 0.5343 MB / 3.867 GB, free: 251.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/6.558, allocations: 6.75 kB / 3.867 GB, free: 251.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002615/6.561, allocations: 0.743 MB / 3.868 GB, free: 251.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.004841/6.566, allocations: 4.297 MB / 3.872 GB, free: 247.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0021/6.568, allocations: 1.127 MB / 3.873 GB, free: 246 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/6.568, allocations: 0 / 3.873 GB, free: 246 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/6.569, allocations: 357.5 kB / 3.873 GB, free: 245.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/6.571, allocations: 481.2 kB / 3.874 GB, free: 245.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/6.582, allocations: 9.296 MB / 3.883 GB, free: 235.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/6.583, allocations: 1.198 MB / 3.884 GB, free: 234.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001322/6.584, allocations: 343.6 kB / 3.884 GB, free: 234.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/6.585, allocations: 431.3 kB / 3.885 GB, free: 233.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.759e-06/6.585, allocations: 3.938 kB / 3.885 GB, free: 233.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08328/6.668, allocations: 53.83 MB / 3.937 GB, free: 180.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/6.668, allocations: 257 kB / 3.938 GB, free: 180.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/10.54, allocations: 3.094 kB / 3.938 GB, free: 180.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat does not exist to compare? outputFormat=mat