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.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 171.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009884/0.0009883, allocations: 85.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 8.469 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2546, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.871/6.126, allocations: 2.252 GB / 3.152 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/6.126, allocations: 100.2 kB / 3.152 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.879/8.005, allocations: 0.6118 GB / 3.764 GB, free: 47.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.466e-06/8.005, allocations: 0 / 3.764 GB, free: 47.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002124/8.006, allocations: 43.92 kB / 3.764 GB, free: 47.07 MB / 0.8855 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.005617/8.011, allocations: 1.647 MB / 3.765 GB, free: 45.37 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/8.011, allocations: 8.031 kB / 3.765 GB, free: 45.36 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00061/8.012, allocations: 160.3 kB / 3.765 GB, free: 45.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/8.014, allocations: 318 kB / 3.766 GB, free: 44.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/8.018, allocations: 1.2 MB / 3.767 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.194e-05/8.018, allocations: 78.02 kB / 3.767 GB, free: 43.56 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/8.019, allocations: 111.9 kB / 3.767 GB, free: 43.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/8.022, allocations: 1.155 MB / 3.768 GB, free: 42.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/8.022, allocations: 3.906 kB / 3.768 GB, free: 42.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/8.022, allocations: 40 kB / 3.768 GB, free: 42.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/8.022, allocations: 38 kB / 3.768 GB, free: 42.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/8.024, allocations: 0.9368 MB / 3.769 GB, free: 41.22 MB / 0.8855 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.006674/8.03, allocations: 4.512 MB / 3.774 GB, free: 36.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/8.032, allocations: 0.7261 MB / 3.774 GB, free: 35.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005439/8.032, allocations: 312 kB / 3.775 GB, free: 35.24 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/8.032, allocations: 47.2 kB / 3.775 GB, free: 35.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 3.356e-06/8.032, allocations: 0 / 3.775 GB, free: 35.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.002046/8.034, allocations: 0.9969 MB / 3.776 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/8.034, allocations: 115.4 kB / 3.776 GB, free: 34.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/8.035, allocations: 0.6844 MB / 3.776 GB, free: 33.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/8.035, allocations: 45.7 kB / 3.776 GB, free: 33.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/8.035, allocations: 0.5191 MB / 3.777 GB, free: 32.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/8.036, allocations: 268.2 kB / 3.777 GB, free: 32.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/8.036, allocations: 16 kB / 3.777 GB, free: 32.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001238/8.036, allocations: 334 kB / 3.778 GB, free: 32.17 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/8.036, allocations: 285.8 kB / 3.778 GB, free: 31.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/8.037, allocations: 0.5071 MB / 3.778 GB, free: 31.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/8.037, allocations: 375 kB / 3.779 GB, free: 30.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/8.037, allocations: 3.938 kB / 3.779 GB, free: 30.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00125/8.039, allocations: 0.8903 MB / 3.78 GB, free: 30.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003813/8.039, allocations: 1.581 MB / 3.781 GB, free: 28.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/8.039, allocations: 4 kB / 3.781 GB, free: 28.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/8.039, allocations: 8 kB / 3.781 GB, free: 28.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/8.04, allocations: 175.8 kB / 3.781 GB, free: 28.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003123/8.04, allocations: 0.6094 MB / 3.782 GB, free: 27.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/8.041, allocations: 131.2 kB / 3.782 GB, free: 27.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/8.041, allocations: 36 kB / 3.782 GB, free: 27.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/8.041, allocations: 4 kB / 3.782 GB, free: 27.33 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/8.042, allocations: 0.7885 MB / 3.783 GB, free: 26.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/8.042, allocations: 4 kB / 3.783 GB, free: 26.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-06/8.042, allocations: 8 kB / 3.783 GB, free: 26.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/8.043, allocations: 171.7 kB / 3.783 GB, free: 26.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/8.043, allocations: 8 kB / 3.783 GB, free: 26.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/8.044, allocations: 131.3 kB / 3.783 GB, free: 26.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/8.044, allocations: 39.98 kB / 3.783 GB, free: 26.19 MB / 0.8855 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 () * Number of clocked 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.0006624/8.045, allocations: 404.7 kB / 3.784 GB, free: 25.78 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/8.045, allocations: 102.8 kB / 3.784 GB, free: 25.68 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/8.046, allocations: 0.7923 MB / 3.784 GB, free: 24.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/8.046, allocations: 8 kB / 3.784 GB, free: 24.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/8.046, allocations: 0 / 3.784 GB, free: 24.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008956/8.047, allocations: 0.8892 MB / 3.785 GB, free: 23.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/8.05, allocations: 2.11 MB / 3.787 GB, free: 21.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/8.05, allocations: 4.266 kB / 3.787 GB, free: 21.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/8.051, allocations: 167.7 kB / 3.787 GB, free: 21.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/8.051, allocations: 4 kB / 3.787 GB, free: 21.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/8.051, allocations: 23.98 kB / 3.788 GB, free: 21.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002041/8.051, allocations: 0.6015 MB / 3.788 GB, free: 20.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/8.051, allocations: 4 kB / 3.788 GB, free: 20.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/8.052, allocations: 1.407 MB / 3.789 GB, free: 19.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/8.053, allocations: 267.6 kB / 3.79 GB, free: 19.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/8.053, allocations: 16 kB / 3.79 GB, free: 19.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/8.054, allocations: 79.84 kB / 3.79 GB, free: 19 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/8.054, allocations: 52.45 kB / 3.79 GB, free: 18.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/8.054, allocations: 23.98 kB / 3.79 GB, free: 18.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006016/8.054, allocations: 0.5341 MB / 3.79 GB, free: 18.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/8.054, allocations: 4 kB / 3.79 GB, free: 18.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002155/8.057, allocations: 0.7601 MB / 3.791 GB, free: 17.63 MB / 0.8855 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 () * Number of clocked 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.004356/8.061, allocations: 4.341 MB / 3.795 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001944/8.063, allocations: 1.138 MB / 3.797 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/8.063, allocations: 4 kB / 3.797 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005411/8.064, allocations: 362.9 kB / 3.797 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/8.066, allocations: 485 kB / 3.797 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/8.075, allocations: 9.07 MB / 3.806 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/8.076, allocations: 1.194 MB / 3.807 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001267/8.077, allocations: 347.8 kB / 3.808 GB, free: 236 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5811/8.658, allocations: 424.7 kB / 3.808 GB, free: 172 MB / 0.8855 GB Notification: Performance of SimCode: time 2.075e-05/8.658, allocations: 0.5 kB / 3.808 GB, free: 172 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/8.773, allocations: 54.04 MB / 3.861 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/8.773, allocations: 273.1 kB / 3.861 GB, free: 171 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.431/13.2, allocations: 0 / 3.861 GB, free: 171 MB / 0.8855 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)