Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 87.69 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.968/6.185, allocations: 2.251 GB / 3.143 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/6.185, allocations: 95.94 kB / 3.143 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.499/8.685, allocations: 0.6111 GB / 3.755 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.833e-06/8.685, allocations: 0 / 3.755 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001223/8.685, allocations: 32.97 kB / 3.755 GB, free: 155.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003867/8.689, allocations: 1.482 MB / 3.756 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/8.689, allocations: 6.75 kB / 3.756 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002294/8.689, allocations: 159.5 kB / 3.756 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/8.691, allocations: 315.9 kB / 3.757 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/8.694, allocations: 1.198 MB / 3.758 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/8.694, allocations: 79.05 kB / 3.758 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/8.695, allocations: 109.4 kB / 3.758 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/8.697, allocations: 1.127 MB / 3.759 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/8.697, allocations: 3.188 kB / 3.759 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/8.697, allocations: 39.47 kB / 3.759 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/8.697, allocations: 43.23 kB / 3.759 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/8.698, allocations: 0.8823 MB / 3.76 GB, free: 152.1 MB / 0.8698 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.005739/8.704, allocations: 4.525 MB / 3.764 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/8.705, allocations: 0.6791 MB / 3.765 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/8.705, allocations: 351.7 kB / 3.765 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/8.706, allocations: 314.3 kB / 3.766 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/8.706, allocations: 42 kB / 3.766 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.936e-06/8.706, allocations: 0 / 3.766 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.00149/8.707, allocations: 0.7142 MB / 3.766 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/8.708, allocations: 111.6 kB / 3.766 GB, free: 145 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009109/8.708, allocations: 0.6753 MB / 3.767 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.893e-05/8.709, allocations: 41.7 kB / 3.767 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/8.709, allocations: 0.538 MB / 3.768 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/8.709, allocations: 247.1 kB / 3.768 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/8.709, allocations: 16 kB / 3.768 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/8.709, allocations: 341.6 kB / 3.768 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/8.71, allocations: 265.5 kB / 3.769 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/8.71, allocations: 495 kB / 3.769 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/8.711, allocations: 355 kB / 3.769 GB, free: 142 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/8.711, allocations: 3.5 kB / 3.769 GB, free: 142 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001342/8.712, allocations: 0.8597 MB / 3.77 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000348/8.712, allocations: 1.589 MB / 3.772 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/8.712, allocations: 4 kB / 3.772 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/8.712, allocations: 8 kB / 3.772 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/8.713, allocations: 175.7 kB / 3.772 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003417/8.714, allocations: 0.6005 MB / 3.772 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/8.715, allocations: 142 kB / 3.773 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/8.715, allocations: 35.98 kB / 3.773 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/8.715, allocations: 4 kB / 3.773 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/8.716, allocations: 0.7487 MB / 3.773 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/8.716, allocations: 7.938 kB / 3.773 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/8.716, allocations: 11.95 kB / 3.773 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/8.717, allocations: 168.3 kB / 3.774 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/8.717, allocations: 11.94 kB / 3.774 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/8.718, allocations: 127.2 kB / 3.774 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/8.718, allocations: 39.98 kB / 3.774 GB, free: 137.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (97): * Single equations (assignments): 96 * 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.0002439/8.718, allocations: 152.7 kB / 3.774 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/8.718, allocations: 102.8 kB / 3.774 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/8.72, allocations: 0.7642 MB / 3.775 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/8.72, allocations: 7.953 kB / 3.775 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/8.72, allocations: 4 kB / 3.775 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008598/8.721, allocations: 0.8453 MB / 3.776 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/8.724, allocations: 2.092 MB / 3.778 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/8.724, allocations: 4 kB / 3.778 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/8.725, allocations: 167 kB / 3.778 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/8.725, allocations: 4 kB / 3.778 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/8.725, allocations: 20 kB / 3.778 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002408/8.725, allocations: 0.594 MB / 3.778 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/8.725, allocations: 7.938 kB / 3.778 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/8.727, allocations: 1.36 MB / 3.78 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/8.727, allocations: 267.6 kB / 3.78 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/8.727, allocations: 16 kB / 3.78 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/8.728, allocations: 79.86 kB / 3.78 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/8.728, allocations: 48.5 kB / 3.78 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/8.728, allocations: 20 kB / 3.78 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006669/8.729, allocations: 0.5304 MB / 3.781 GB, free: 130 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.729, allocations: 0 / 3.781 GB, free: 130 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002282/8.731, allocations: 0.7561 MB / 3.781 GB, free: 129.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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.0045/8.736, allocations: 4.299 MB / 3.786 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00201/8.738, allocations: 1.127 MB / 3.787 GB, free: 124 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/8.738, allocations: 4.062 kB / 3.787 GB, free: 124 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/8.738, allocations: 347 kB / 3.787 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/8.741, allocations: 480.8 kB / 3.787 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/8.745, allocations: 2.157 MB / 3.79 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/8.746, allocations: 1.2 MB / 3.791 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001491/8.747, allocations: 426.5 kB / 3.791 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/8.748, allocations: 415.3 kB / 3.792 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/8.748, allocations: 3.938 kB / 3.792 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09394/8.842, allocations: 60.19 MB / 3.85 GB, free: 59.15 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/8.842, allocations: 251.4 kB / 3.851 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.52/13.36, allocations: 0 / 3.851 GB, free: 58.82 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)