Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.872/1.872, allocations: 288.2 MB / 303.2 MB, free: 8.234 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.001122/0.001122, allocations: 190.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0008812/0.0008809, allocations: 93.11 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004232, allocations: 12.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2472, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.387/5.634, allocations: 2.133 GB / 3.113 GB, free: 192.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/5.634, allocations: 109.5 kB / 3.113 GB, free: 192.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.894/8.528, allocations: 0.629 GB / 3.742 GB, free: 192.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.256e-06/8.528, allocations: 0 / 3.742 GB, free: 192.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002151/8.528, allocations: 38.53 kB / 3.742 GB, free: 192.6 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.006719/8.535, allocations: 1.654 MB / 3.744 GB, free: 191.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/8.535, allocations: 7.062 kB / 3.744 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009006/8.536, allocations: 158.5 kB / 3.744 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/8.539, allocations: 312.7 kB / 3.744 GB, free: 191.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/8.545, allocations: 1.187 MB / 3.745 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/8.545, allocations: 83.56 kB / 3.745 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006799/8.546, allocations: 111.4 kB / 3.746 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/8.55, allocations: 1.155 MB / 3.747 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/8.55, allocations: 3.938 kB / 3.747 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/8.55, allocations: 39 kB / 3.747 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/8.55, allocations: 39.59 kB / 3.747 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/8.552, allocations: 0.9156 MB / 3.748 GB, free: 191.3 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.008238/8.561, allocations: 4.705 MB / 3.752 GB, free: 188.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/8.562, allocations: 0.7014 MB / 3.753 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/8.563, allocations: 315.5 kB / 3.753 GB, free: 188.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/8.563, allocations: 44.42 kB / 3.753 GB, free: 188.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.156e-06/8.563, allocations: 0 / 3.753 GB, free: 188.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002609/8.565, allocations: 0.978 MB / 3.754 GB, free: 188.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/8.565, allocations: 113.1 kB / 3.754 GB, free: 188.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/8.567, allocations: 0.6845 MB / 3.755 GB, free: 188 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/8.567, allocations: 47.31 kB / 3.755 GB, free: 187.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00065/8.568, allocations: 0.5331 MB / 3.756 GB, free: 187.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/8.568, allocations: 250.1 kB / 3.756 GB, free: 187.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/8.568, allocations: 14.97 kB / 3.756 GB, free: 187.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001492/8.569, allocations: 334.8 kB / 3.756 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/8.569, allocations: 281.2 kB / 3.756 GB, free: 187.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/8.57, allocations: 0.5204 MB / 3.757 GB, free: 187.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/8.571, allocations: 374.4 kB / 3.757 GB, free: 187 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/8.571, allocations: 3.938 kB / 3.757 GB, free: 187 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002074/8.573, allocations: 0.8872 MB / 3.758 GB, free: 186.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008221/8.574, allocations: 1.74 MB / 3.76 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/8.574, allocations: 3.562 kB / 3.76 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.343e-05/8.574, allocations: 11.81 kB / 3.76 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/8.575, allocations: 186.6 kB / 3.76 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005286/8.576, allocations: 0.604 MB / 3.761 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/8.577, allocations: 138.6 kB / 3.761 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/8.577, allocations: 32.97 kB / 3.761 GB, free: 184.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/8.578, allocations: 7.281 kB / 3.761 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/8.579, allocations: 0.7708 MB / 3.762 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/8.579, allocations: 3.938 kB / 3.762 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/8.579, allocations: 11.12 kB / 3.762 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/8.58, allocations: 174.1 kB / 3.762 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/8.58, allocations: 11.5 kB / 3.762 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/8.581, allocations: 133 kB / 3.762 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/8.581, allocations: 32.41 kB / 3.762 GB, free: 184.5 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.001031/8.582, allocations: 409.2 kB / 3.762 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/8.583, allocations: 103.3 kB / 3.762 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/8.585, allocations: 0.7688 MB / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/8.585, allocations: 7.531 kB / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/8.585, allocations: 0 / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/8.586, allocations: 0.8701 MB / 3.764 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/8.591, allocations: 2.087 MB / 3.766 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/8.591, allocations: 0 / 3.766 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/8.592, allocations: 166.7 kB / 3.766 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/8.592, allocations: 6.438 kB / 3.766 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.421e-05/8.592, allocations: 21.59 kB / 3.766 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003155/8.592, allocations: 0.594 MB / 3.767 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/8.592, allocations: 9.016 kB / 3.767 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/8.594, allocations: 1.385 MB / 3.768 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/8.595, allocations: 255.2 kB / 3.768 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/8.595, allocations: 22.61 kB / 3.768 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/8.597, allocations: 82.5 kB / 3.768 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/8.597, allocations: 50.16 kB / 3.769 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/8.597, allocations: 22.72 kB / 3.769 GB, free: 182.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001055/8.598, allocations: 0.5366 MB / 3.769 GB, free: 182.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/8.598, allocations: 0 / 3.769 GB, free: 182.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003439/8.601, allocations: 0.748 MB / 3.77 GB, free: 182 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.006267/8.608, allocations: 4.311 MB / 3.774 GB, free: 180 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003071/8.611, allocations: 1.12 MB / 3.775 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/8.611, allocations: 0 / 3.775 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007621/8.612, allocations: 359.2 kB / 3.775 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/8.615, allocations: 479.8 kB / 3.776 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/8.629, allocations: 9.257 MB / 3.785 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/8.63, allocations: 1.196 MB / 3.786 GB, free: 174.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001536/8.631, allocations: 345.6 kB / 3.786 GB, free: 174.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/8.632, allocations: 429.7 kB / 3.787 GB, free: 174.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.146e-05/8.632, allocations: 3.031 kB / 3.787 GB, free: 174.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/8.745, allocations: 53.81 MB / 3.839 GB, free: 168.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/8.746, allocations: 265.4 kB / 3.84 GB, free: 167.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.382/13.13, allocations: 3.938 kB / 3.84 GB, free: 167.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)