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.391/2.391, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00122/0.00122, allocations: 192.4 kB / 487.4 MB, free: 5.039 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.629/1.629, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 97.56 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.492e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.697/6.005, allocations: 1.977 GB / 3.183 GB, free: 315.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/6.005, allocations: 98.88 kB / 3.183 GB, free: 315.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.752/7.757, allocations: 0.6313 GB / 3.815 GB, free: 127.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.312e-06/7.757, allocations: 4 kB / 3.815 GB, free: 127.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.245e-05/7.758, allocations: 31.98 kB / 3.815 GB, free: 127.6 MB / 1.151 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.002792/7.76, allocations: 1.477 MB / 3.816 GB, free: 126.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/7.76, allocations: 16.02 kB / 3.816 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/7.762, allocations: 318 kB / 3.817 GB, free: 125.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/7.765, allocations: 1.187 MB / 3.818 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/7.765, allocations: 32 kB / 3.818 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/7.765, allocations: 64.34 kB / 3.818 GB, free: 124.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/7.766, allocations: 0.8199 MB / 3.819 GB, free: 123.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/7.767, allocations: 0.9888 MB / 3.82 GB, free: 122.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/7.767, allocations: 3.984 kB / 3.82 GB, free: 122.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/7.768, allocations: 0 / 3.82 GB, free: 122.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/7.768, allocations: 38 kB / 3.82 GB, free: 122.6 MB / 1.151 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.004227/7.772, allocations: 4.508 MB / 3.824 GB, free: 117.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/7.773, allocations: 0.6304 MB / 3.825 GB, free: 117 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/7.773, allocations: 335 kB / 3.825 GB, free: 116.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/7.773, allocations: 311.8 kB / 3.825 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/7.773, allocations: 43.12 kB / 3.825 GB, free: 116.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.095e-06/7.773, allocations: 0 / 3.825 GB, free: 116.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001467/7.775, allocations: 0.7321 MB / 3.826 GB, free: 115.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/7.775, allocations: 119.3 kB / 3.826 GB, free: 115.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/7.776, allocations: 0.5668 MB / 3.827 GB, free: 114.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/7.776, allocations: 25.7 kB / 3.827 GB, free: 114.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/7.776, allocations: 0.5343 MB / 3.827 GB, free: 114.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/7.776, allocations: 228.5 kB / 3.827 GB, free: 114 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/7.776, allocations: 0 / 3.827 GB, free: 114 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/7.776, allocations: 341.9 kB / 3.828 GB, free: 113.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/7.776, allocations: 245.5 kB / 3.828 GB, free: 113.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/7.777, allocations: 486.4 kB / 3.828 GB, free: 112.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/7.778, allocations: 416.3 kB / 3.829 GB, free: 112.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/7.778, allocations: 3.984 kB / 3.829 GB, free: 112.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001261/7.779, allocations: 0.8619 MB / 3.83 GB, free: 111.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000304/7.779, allocations: 1.751 MB / 3.831 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/7.779, allocations: 4 kB / 3.831 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/7.779, allocations: 8 kB / 3.831 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/7.78, allocations: 185.7 kB / 3.832 GB, free: 109.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002642/7.78, allocations: 0.6016 MB / 3.832 GB, free: 108.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/7.781, allocations: 127.2 kB / 3.832 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/7.781, allocations: 36 kB / 3.832 GB, free: 108.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/7.781, allocations: 7.938 kB / 3.832 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001143/7.782, allocations: 0.7325 MB / 3.833 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/7.782, allocations: 8 kB / 3.833 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/7.782, allocations: 8 kB / 3.833 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/7.783, allocations: 176.3 kB / 3.833 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/7.783, allocations: 15.92 kB / 3.833 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/7.784, allocations: 107.4 kB / 3.833 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/7.784, allocations: 39.98 kB / 3.833 GB, free: 107.6 MB / 1.151 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.000162/7.784, allocations: 120.8 kB / 3.834 GB, free: 107.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001056/7.785, allocations: 0.7048 MB / 3.834 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/7.785, allocations: 90.88 kB / 3.834 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/7.787, allocations: 0.7661 MB / 3.835 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/7.787, allocations: 8 kB / 3.835 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/7.787, allocations: 3.984 kB / 3.835 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009543/7.788, allocations: 0.8748 MB / 3.836 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/7.791, allocations: 1.965 MB / 3.838 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/7.791, allocations: 4 kB / 3.838 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/7.791, allocations: 151.8 kB / 3.838 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/7.791, allocations: 11.94 kB / 3.838 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/7.791, allocations: 12 kB / 3.838 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001795/7.792, allocations: 0.5941 MB / 3.839 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/7.792, allocations: 4 kB / 3.839 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/7.793, allocations: 1.335 MB / 3.84 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/7.793, allocations: 247.8 kB / 3.84 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/7.794, allocations: 8 kB / 3.84 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/7.794, allocations: 75.72 kB / 3.84 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/7.794, allocations: 40.52 kB / 3.84 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/7.794, allocations: 23.98 kB / 3.84 GB, free: 100.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004715/7.795, allocations: 435.1 kB / 3.841 GB, free: 99.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.02e-07/7.795, allocations: 4 kB / 3.841 GB, free: 99.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001761/7.797, allocations: 0.6738 MB / 3.841 GB, free: 99.19 MB / 1.151 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.003897/7.801, allocations: 4.474 MB / 3.846 GB, free: 94.55 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001786/7.802, allocations: 1.035 MB / 3.847 GB, free: 93.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/7.802, allocations: 0 / 3.847 GB, free: 93.52 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/7.803, allocations: 323 kB / 3.847 GB, free: 93.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/7.805, allocations: 432.4 kB / 3.847 GB, free: 92.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/7.808, allocations: 1.998 MB / 3.849 GB, free: 90.73 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/7.809, allocations: 1.195 MB / 3.851 GB, free: 89.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001262/7.81, allocations: 399.1 kB / 3.851 GB, free: 89.11 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/7.81, allocations: 415.3 kB / 3.851 GB, free: 88.7 MB / 1.151 GB Notification: Performance of SimCode: time 6.61e-07/7.81, allocations: 0 / 3.851 GB, free: 88.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06851/7.879, allocations: 38.74 MB / 3.889 GB, free: 50.19 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/7.879, allocations: 183.7 kB / 3.889 GB, free: 50 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.333/11.21, allocations: 0 / 3.889 GB, free: 50 MB / 1.151 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