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.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.93 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.001246/0.001246, allocations: 186.4 kB / 491.2 MB, free: 1.562 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: 221.5 MB / 0.7868 GB, free: 13.32 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.001196/0.001196, allocations: 99.86 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.758e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2926, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.527, allocations: 1.978 GB / 3.191 GB, free: 349.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/5.528, allocations: 95.94 kB / 3.191 GB, free: 349.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.806/7.334, allocations: 0.6313 GB / 3.822 GB, free: 141 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.152e-06/7.334, allocations: 0 / 3.822 GB, free: 141 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.538e-05/7.334, allocations: 39.98 kB / 3.822 GB, free: 141 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.002878/7.337, allocations: 1.48 MB / 3.823 GB, free: 139.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/7.337, allocations: 8.031 kB / 3.823 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/7.339, allocations: 324.2 kB / 3.824 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/7.341, allocations: 1.179 MB / 3.825 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/7.342, allocations: 32 kB / 3.825 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/7.342, allocations: 72.34 kB / 3.825 GB, free: 137.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001343/7.343, allocations: 0.8161 MB / 3.826 GB, free: 137 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/7.344, allocations: 0.9926 MB / 3.827 GB, free: 136 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/7.344, allocations: 3.938 kB / 3.827 GB, free: 136 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/7.345, allocations: 0 / 3.827 GB, free: 136 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/7.345, allocations: 38 kB / 3.827 GB, free: 135.9 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.004383/7.349, allocations: 4.508 MB / 3.831 GB, free: 131 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/7.35, allocations: 0.6341 MB / 3.832 GB, free: 130.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/7.35, allocations: 339 kB / 3.832 GB, free: 130.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000491/7.351, allocations: 315.8 kB / 3.832 GB, free: 129.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/7.351, allocations: 43.06 kB / 3.832 GB, free: 129.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 2.695e-06/7.351, allocations: 0 / 3.832 GB, free: 129.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001468/7.352, allocations: 0.74 MB / 3.833 GB, free: 128.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/7.352, allocations: 111.4 kB / 3.833 GB, free: 128.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/7.353, allocations: 0.563 MB / 3.834 GB, free: 128.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/7.353, allocations: 25.7 kB / 3.834 GB, free: 128.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/7.353, allocations: 0.5266 MB / 3.834 GB, free: 127.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/7.353, allocations: 236.5 kB / 3.835 GB, free: 127.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/7.353, allocations: 4 kB / 3.835 GB, free: 127.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/7.353, allocations: 334 kB / 3.835 GB, free: 127.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/7.354, allocations: 249.5 kB / 3.835 GB, free: 126.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/7.354, allocations: 482.8 kB / 3.836 GB, free: 126.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/7.355, allocations: 412.2 kB / 3.836 GB, free: 125.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/7.355, allocations: 4 kB / 3.836 GB, free: 125.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001214/7.356, allocations: 0.8663 MB / 3.837 GB, free: 125 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/7.356, allocations: 1.753 MB / 3.839 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/7.356, allocations: 4 kB / 3.839 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/7.356, allocations: 8 kB / 3.839 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008027/7.357, allocations: 189.7 kB / 3.839 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002819/7.357, allocations: 0.6055 MB / 3.839 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/7.358, allocations: 119.3 kB / 3.839 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/7.359, allocations: 35.98 kB / 3.839 GB, free: 122.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/7.359, allocations: 8 kB / 3.839 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/7.36, allocations: 0.7368 MB / 3.84 GB, free: 121.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/7.36, allocations: 4 kB / 3.84 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/7.36, allocations: 8 kB / 3.84 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/7.36, allocations: 171.7 kB / 3.84 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/7.36, allocations: 11.98 kB / 3.84 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/7.361, allocations: 107.5 kB / 3.84 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/7.361, allocations: 36 kB / 3.841 GB, free: 121 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.0001589/7.361, allocations: 133.6 kB / 3.841 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001044/7.362, allocations: 0.7048 MB / 3.841 GB, free: 120.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/7.363, allocations: 90.88 kB / 3.841 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/7.364, allocations: 0.7699 MB / 3.842 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/7.364, allocations: 8 kB / 3.842 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/7.364, allocations: 0 / 3.842 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009299/7.365, allocations: 0.8749 MB / 3.843 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/7.368, allocations: 1.958 MB / 3.845 GB, free: 116.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/7.368, allocations: 4 kB / 3.845 GB, free: 116.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/7.368, allocations: 160.1 kB / 3.845 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/7.368, allocations: 7.953 kB / 3.845 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/7.368, allocations: 11.98 kB / 3.845 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002016/7.369, allocations: 0.5977 MB / 3.846 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/7.369, allocations: 3.938 kB / 3.846 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/7.37, allocations: 1.335 MB / 3.847 GB, free: 114.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/7.37, allocations: 247.7 kB / 3.847 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/7.371, allocations: 4 kB / 3.847 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/7.371, allocations: 71.78 kB / 3.847 GB, free: 113.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/7.371, allocations: 48.45 kB / 3.847 GB, free: 113.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/7.371, allocations: 27.98 kB / 3.847 GB, free: 113.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004344/7.372, allocations: 435.1 kB / 3.848 GB, free: 113.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.372, allocations: 0 / 3.848 GB, free: 113.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001652/7.373, allocations: 0.6583 MB / 3.848 GB, free: 112.6 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.003836/7.377, allocations: 4.478 MB / 3.853 GB, free: 107.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00163/7.379, allocations: 1.043 MB / 3.854 GB, free: 106.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/7.379, allocations: 4.062 kB / 3.854 GB, free: 106.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/7.379, allocations: 321.9 kB / 3.854 GB, free: 106.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/7.381, allocations: 426 kB / 3.855 GB, free: 106.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/7.385, allocations: 2.003 MB / 3.857 GB, free: 104.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/7.385, allocations: 1.199 MB / 3.858 GB, free: 102.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001306/7.386, allocations: 395.1 kB / 3.858 GB, free: 102.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/7.387, allocations: 419.2 kB / 3.858 GB, free: 102.1 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/7.387, allocations: 0 / 3.858 GB, free: 102.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06044/7.447, allocations: 38.74 MB / 3.896 GB, free: 63.54 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/7.448, allocations: 185.8 kB / 3.896 GB, free: 63.36 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/10.77, allocations: 0 / 3.896 GB, free: 63.36 MB / 1.151 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