Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001244/0.001244, allocations: 185 kB / 377.1 MB, free: 1.512 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.707/1.707, allocations: 205.4 MB / 0.6366 GB, free: 9.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001001, allocations: 90.33 kB / 0.7509 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.296, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.562/5.858, allocations: 2.134 GB / 3.123 GB, free: 46.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/5.859, allocations: 104.8 kB / 3.123 GB, free: 46.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.791/8.65, allocations: 0.629 GB / 3.752 GB, free: 141.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.765e-06/8.65, allocations: 0 / 3.752 GB, free: 141.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002387/8.65, allocations: 33.98 kB / 3.752 GB, free: 141.4 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.007109/8.657, allocations: 1.656 MB / 3.754 GB, free: 140.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/8.657, allocations: 10.81 kB / 3.754 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008014/8.658, allocations: 158.4 kB / 3.754 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/8.661, allocations: 309.9 kB / 3.754 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/8.667, allocations: 1.202 MB / 3.755 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/8.667, allocations: 77.28 kB / 3.755 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008549/8.668, allocations: 107.8 kB / 3.755 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/8.673, allocations: 1.154 MB / 3.757 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/8.673, allocations: 7.938 kB / 3.757 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/8.674, allocations: 40 kB / 3.757 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.981e-05/8.674, allocations: 41.78 kB / 3.757 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/8.676, allocations: 0.9173 MB / 3.758 GB, free: 137 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.008952/8.685, allocations: 4.71 MB / 3.762 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/8.687, allocations: 0.7068 MB / 3.763 GB, free: 131.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000755/8.688, allocations: 320.8 kB / 3.763 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/8.688, allocations: 39.12 kB / 3.763 GB, free: 130.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 6.913e-06/8.688, allocations: 0 / 3.763 GB, free: 130.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002606/8.69, allocations: 0.9742 MB / 3.764 GB, free: 129.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/8.69, allocations: 111.4 kB / 3.764 GB, free: 129.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/8.692, allocations: 0.6884 MB / 3.765 GB, free: 129 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/8.692, allocations: 37.7 kB / 3.765 GB, free: 128.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/8.692, allocations: 0.5461 MB / 3.765 GB, free: 128.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/8.693, allocations: 236.5 kB / 3.766 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/8.693, allocations: 16 kB / 3.766 GB, free: 128.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001386/8.693, allocations: 337.9 kB / 3.766 GB, free: 127.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/8.693, allocations: 281.8 kB / 3.766 GB, free: 127.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000831/8.694, allocations: 0.5242 MB / 3.767 GB, free: 126.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007103/8.695, allocations: 367 kB / 3.767 GB, free: 126.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/8.695, allocations: 4 kB / 3.767 GB, free: 126.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001697/8.697, allocations: 0.8785 MB / 3.768 GB, free: 125.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004601/8.697, allocations: 1.763 MB / 3.77 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/8.697, allocations: 8 kB / 3.77 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/8.697, allocations: 8 kB / 3.77 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/8.698, allocations: 175.7 kB / 3.77 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003857/8.699, allocations: 0.6016 MB / 3.771 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/8.7, allocations: 139.2 kB / 3.771 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/8.7, allocations: 35.98 kB / 3.771 GB, free: 122.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/8.7, allocations: 4.625 kB / 3.771 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001467/8.702, allocations: 0.7691 MB / 3.771 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/8.702, allocations: 4 kB / 3.771 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/8.702, allocations: 12.03 kB / 3.771 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/8.703, allocations: 171.7 kB / 3.772 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/8.703, allocations: 15.97 kB / 3.772 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/8.704, allocations: 131.2 kB / 3.772 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/8.704, allocations: 31.98 kB / 3.772 GB, free: 121.6 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.0009716/8.705, allocations: 416.7 kB / 3.772 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/8.705, allocations: 98.78 kB / 3.772 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/8.707, allocations: 0.7704 MB / 3.773 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/8.707, allocations: 8 kB / 3.773 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/8.707, allocations: 0 / 3.773 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/8.708, allocations: 0.8631 MB / 3.774 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/8.713, allocations: 2.085 MB / 3.776 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/8.713, allocations: 4 kB / 3.776 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/8.714, allocations: 164.1 kB / 3.776 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/8.714, allocations: 4 kB / 3.776 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/8.714, allocations: 23.89 kB / 3.776 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002684/8.714, allocations: 0.5976 MB / 3.777 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/8.714, allocations: 4.031 kB / 3.777 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/8.716, allocations: 1.381 MB / 3.778 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/8.717, allocations: 259.6 kB / 3.778 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/8.717, allocations: 16 kB / 3.778 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/8.718, allocations: 83.83 kB / 3.778 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/8.718, allocations: 40.47 kB / 3.778 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/8.718, allocations: 23.98 kB / 3.778 GB, free: 114.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009533/8.719, allocations: 0.5419 MB / 3.779 GB, free: 113.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.719, allocations: 3.938 kB / 3.779 GB, free: 113.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002972/8.722, allocations: 0.7446 MB / 3.78 GB, free: 113.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.006027/8.728, allocations: 4.316 MB / 3.784 GB, free: 108.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002924/8.731, allocations: 1.122 MB / 3.785 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/8.732, allocations: 128 / 3.785 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000734/8.732, allocations: 359 kB / 3.785 GB, free: 107.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/8.736, allocations: 486.3 kB / 3.786 GB, free: 106.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/8.753, allocations: 9.247 MB / 3.795 GB, free: 97.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/8.754, allocations: 1.205 MB / 3.796 GB, free: 96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002015/8.756, allocations: 343.8 kB / 3.796 GB, free: 95.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/8.757, allocations: 431.3 kB / 3.797 GB, free: 95.24 MB / 0.948 GB Notification: Performance of SimCode: time 1.974e-06/8.757, allocations: 3.938 kB / 3.797 GB, free: 95.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09783/8.855, allocations: 53.8 MB / 3.849 GB, free: 41.73 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/8.855, allocations: 254 kB / 3.85 GB, free: 41.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.364/13.22, allocations: 0 / 3.85 GB, free: 41.39 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)