Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.586/2.586, allocations: 287.3 MB / 302.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 177 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 106.9 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 16.17 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.711/6.926, allocations: 2.133 GB / 3.112 GB, free: 136.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/6.927, allocations: 98.88 kB / 3.112 GB, free: 136.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.579/10.51, allocations: 0.629 GB / 3.741 GB, free: 191.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.246e-06/10.51, allocations: 0 / 3.741 GB, free: 191.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001563/10.51, allocations: 43.23 kB / 3.741 GB, free: 191.3 MB / 0.948 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.006115/10.51, allocations: 1.648 MB / 3.742 GB, free: 190.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/10.51, allocations: 12.98 kB / 3.742 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006145/10.51, allocations: 153.5 kB / 3.743 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/10.52, allocations: 321 kB / 3.743 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/10.52, allocations: 1.19 MB / 3.744 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/10.52, allocations: 75.59 kB / 3.744 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/10.52, allocations: 111.8 kB / 3.744 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/10.52, allocations: 1.153 MB / 3.745 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/10.52, allocations: 5.75 kB / 3.745 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/10.52, allocations: 43.59 kB / 3.745 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/10.52, allocations: 36.59 kB / 3.745 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/10.53, allocations: 0.9188 MB / 3.746 GB, free: 190 MB / 0.948 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.009121/10.54, allocations: 4.702 MB / 3.751 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/10.54, allocations: 0.7088 MB / 3.752 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008048/10.54, allocations: 315.3 kB / 3.752 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/10.54, allocations: 39.5 kB / 3.752 GB, free: 187.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.276e-06/10.54, allocations: 0 / 3.752 GB, free: 187.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.003293/10.54, allocations: 0.9777 MB / 3.753 GB, free: 187 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/10.54, allocations: 117.5 kB / 3.753 GB, free: 186.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/10.54, allocations: 0.6841 MB / 3.754 GB, free: 186.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000254/10.54, allocations: 43.52 kB / 3.754 GB, free: 186.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/10.54, allocations: 0.536 MB / 3.754 GB, free: 186.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/10.55, allocations: 247.7 kB / 3.754 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/10.55, allocations: 13.81 kB / 3.754 GB, free: 186.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/10.55, allocations: 343.8 kB / 3.755 GB, free: 186 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008026/10.55, allocations: 283.5 kB / 3.755 GB, free: 186 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/10.55, allocations: 0.5164 MB / 3.756 GB, free: 185.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/10.55, allocations: 365.4 kB / 3.756 GB, free: 185.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/10.55, allocations: 3.281 kB / 3.756 GB, free: 185.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002405/10.55, allocations: 0.887 MB / 3.757 GB, free: 185.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005015/10.55, allocations: 1.755 MB / 3.758 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/10.55, allocations: 3.531 kB / 3.758 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.439e-05/10.55, allocations: 10.94 kB / 3.759 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/10.55, allocations: 176.8 kB / 3.759 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004697/10.55, allocations: 0.5981 MB / 3.759 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/10.56, allocations: 139.3 kB / 3.759 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/10.56, allocations: 33.09 kB / 3.759 GB, free: 183.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/10.56, allocations: 3.875 kB / 3.759 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00206/10.56, allocations: 0.7716 MB / 3.76 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/10.56, allocations: 3.781 kB / 3.76 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/10.56, allocations: 11.8 kB / 3.76 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/10.56, allocations: 179.9 kB / 3.76 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/10.56, allocations: 7.719 kB / 3.76 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/10.56, allocations: 129.3 kB / 3.76 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/10.56, allocations: 36.42 kB / 3.761 GB, free: 183.1 MB / 0.948 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.0009956/10.56, allocations: 406.7 kB / 3.761 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/10.56, allocations: 97.22 kB / 3.761 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/10.57, allocations: 0.7832 MB / 3.762 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/10.57, allocations: 6.281 kB / 3.762 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/10.57, allocations: 3.969 kB / 3.762 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/10.57, allocations: 0.8647 MB / 3.763 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/10.57, allocations: 2.094 MB / 3.765 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/10.57, allocations: 0 / 3.765 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/10.57, allocations: 161.2 kB / 3.765 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/10.57, allocations: 7.125 kB / 3.765 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/10.57, allocations: 23.12 kB / 3.765 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000323/10.57, allocations: 0.5929 MB / 3.765 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/10.57, allocations: 3.953 kB / 3.765 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/10.58, allocations: 1.382 MB / 3.767 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008659/10.58, allocations: 257.1 kB / 3.767 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/10.58, allocations: 15.88 kB / 3.767 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/10.58, allocations: 82.86 kB / 3.767 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/10.58, allocations: 46.19 kB / 3.767 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/10.58, allocations: 26.27 kB / 3.767 GB, free: 179.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0011/10.58, allocations: 0.5388 MB / 3.768 GB, free: 179.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/10.58, allocations: 0 / 3.768 GB, free: 179.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003108/10.58, allocations: 0.7472 MB / 3.768 GB, free: 179.2 MB / 0.948 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.U,vol.dynBal.m,vol.dynBal.mXi[1],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.006939/10.59, allocations: 4.316 MB / 3.773 GB, free: 176.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00345/10.6, allocations: 1.122 MB / 3.774 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/10.6, allocations: 0 / 3.774 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009873/10.6, allocations: 359.5 kB / 3.774 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/10.6, allocations: 470.6 kB / 3.775 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/10.62, allocations: 9.268 MB / 3.784 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/10.62, allocations: 1.2 MB / 3.785 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002017/10.62, allocations: 336.2 kB / 3.785 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/10.62, allocations: 431.2 kB / 3.786 GB, free: 169 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/10.62, allocations: 3.062 kB / 3.786 GB, free: 169 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/10.74, allocations: 53.8 MB / 3.838 GB, free: 134 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/10.74, allocations: 263.5 kB / 3.838 GB, free: 133.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.212/15.96, allocations: 0 / 3.838 GB, free: 133.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)