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.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001265/0.001265, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0009119/0.000912, allocations: 91.89 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.846e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2892, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.482/5.771, allocations: 1.979 GB / 3.198 GB, free: 333.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/5.772, allocations: 95.94 kB / 3.198 GB, free: 333.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.1/7.872, allocations: 0.6384 GB / 3.836 GB, free: 133.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.643e-06/7.872, allocations: 0 / 3.836 GB, free: 133.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.064e-05/7.872, allocations: 36 kB / 3.836 GB, free: 133.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.002627/7.875, allocations: 1.476 MB / 3.838 GB, free: 131.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/7.875, allocations: 8.031 kB / 3.838 GB, free: 131.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/7.875, allocations: 156.3 kB / 3.838 GB, free: 131.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/7.876, allocations: 327.9 kB / 3.838 GB, free: 131.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/7.879, allocations: 1.179 MB / 3.839 GB, free: 130 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/7.879, allocations: 82.34 kB / 3.839 GB, free: 129.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/7.879, allocations: 108 kB / 3.839 GB, free: 129.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/7.88, allocations: 1.125 MB / 3.84 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/7.88, allocations: 4 kB / 3.84 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/7.88, allocations: 48 kB / 3.84 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/7.881, allocations: 37.98 kB / 3.841 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/7.882, allocations: 0.8746 MB / 3.841 GB, free: 127.7 MB / 1.167 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.00412/7.886, allocations: 4.718 MB / 3.846 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/7.887, allocations: 0.659 MB / 3.847 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/7.887, allocations: 351 kB / 3.847 GB, free: 121.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/7.888, allocations: 316.7 kB / 3.847 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/7.888, allocations: 39.12 kB / 3.847 GB, free: 121.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 1.754e-06/7.888, allocations: 0 / 3.847 GB, free: 121.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001191/7.889, allocations: 0.7009 MB / 3.848 GB, free: 120.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/7.889, allocations: 111.4 kB / 3.848 GB, free: 120.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/7.89, allocations: 0.6809 MB / 3.849 GB, free: 119.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/7.89, allocations: 45.7 kB / 3.849 GB, free: 119.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/7.89, allocations: 0.5268 MB / 3.849 GB, free: 119 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/7.89, allocations: 244.5 kB / 3.85 GB, free: 118.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/7.89, allocations: 16 kB / 3.85 GB, free: 118.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/7.89, allocations: 341.9 kB / 3.85 GB, free: 118.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/7.891, allocations: 265.5 kB / 3.85 GB, free: 118.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/7.891, allocations: 0.4926 MB / 3.851 GB, free: 117.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/7.892, allocations: 354.3 kB / 3.851 GB, free: 117.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/7.892, allocations: 0 / 3.851 GB, free: 117.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001089/7.893, allocations: 0.8501 MB / 3.852 GB, free: 116.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000494/7.893, allocations: 1.763 MB / 3.854 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/7.893, allocations: 4 kB / 3.854 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/7.893, allocations: 8 kB / 3.854 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/7.894, allocations: 183.8 kB / 3.854 GB, free: 114.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002888/7.894, allocations: 0.5938 MB / 3.854 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/7.895, allocations: 151.1 kB / 3.854 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/7.895, allocations: 35.98 kB / 3.854 GB, free: 113.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/7.895, allocations: 5.406 kB / 3.854 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/7.896, allocations: 0.7402 MB / 3.855 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/7.896, allocations: 4 kB / 3.855 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/7.896, allocations: 15.94 kB / 3.855 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/7.897, allocations: 172.4 kB / 3.855 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/7.897, allocations: 15.94 kB / 3.855 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/7.898, allocations: 131.3 kB / 3.856 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/7.898, allocations: 36 kB / 3.856 GB, free: 112.4 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 () * 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.0001525/7.898, allocations: 149.4 kB / 3.856 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/7.898, allocations: 110.8 kB / 3.856 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/7.899, allocations: 0.7392 MB / 3.857 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/7.899, allocations: 11.95 kB / 3.857 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/7.899, allocations: 0 / 3.857 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008235/7.9, allocations: 0.8359 MB / 3.857 GB, free: 110.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/7.903, allocations: 2.061 MB / 3.859 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/7.903, allocations: 0 / 3.859 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/7.904, allocations: 163.7 kB / 3.86 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/7.904, allocations: 4 kB / 3.86 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/7.904, allocations: 20.28 kB / 3.86 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002018/7.904, allocations: 0.5939 MB / 3.86 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/7.904, allocations: 7.891 kB / 3.86 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/7.905, allocations: 1.311 MB / 3.861 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/7.906, allocations: 255.7 kB / 3.862 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/7.906, allocations: 19.98 kB / 3.862 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/7.906, allocations: 75.88 kB / 3.862 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/7.906, allocations: 44.5 kB / 3.862 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/7.906, allocations: 24 kB / 3.862 GB, free: 105.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005778/7.907, allocations: 0.5344 MB / 3.862 GB, free: 105.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.907, allocations: 0 / 3.862 GB, free: 105.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002083/7.909, allocations: 0.7522 MB / 3.863 GB, free: 104.3 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 () * 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.004157/7.913, allocations: 4.221 MB / 3.867 GB, free: 99.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001725/7.915, allocations: 1.116 MB / 3.868 GB, free: 98.85 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/7.915, allocations: 5.812 kB / 3.868 GB, free: 98.84 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/7.915, allocations: 335 kB / 3.869 GB, free: 98.52 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/7.917, allocations: 480 kB / 3.869 GB, free: 98.05 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/7.921, allocations: 2.071 MB / 3.871 GB, free: 95.91 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/7.921, allocations: 1.199 MB / 3.872 GB, free: 94.69 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001336/7.923, allocations: 435.6 kB / 3.873 GB, free: 94.26 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/7.923, allocations: 423.2 kB / 3.873 GB, free: 93.84 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/7.923, allocations: 0 / 3.873 GB, free: 93.84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08458/8.008, allocations: 60 MB / 3.932 GB, free: 34.23 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/8.008, allocations: 236.8 kB / 3.932 GB, free: 33.92 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.109/12.12, allocations: 0 / 3.932 GB, free: 33.92 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