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.552/2.552, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.00147/0.00147, allocations: 180.8 kB / 360.6 MB, free: 7.297 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.106/2.106, allocations: 205.2 MB / 0.6191 GB, free: 12.23 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.001049/0.001048, allocations: 97.53 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.399e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8245, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.037/7.861, allocations: 2.133 GB / 3.096 GB, free: 290 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004883/7.862, allocations: 94.62 kB / 3.096 GB, free: 290 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.932/10.79, allocations: 0.6213 GB / 3.717 GB, free: 95.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.407e-06/10.79, allocations: 0 / 3.717 GB, free: 95.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001885/10.79, allocations: 35.92 kB / 3.717 GB, free: 95.16 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.005263/10.8, allocations: 1.472 MB / 3.719 GB, free: 93.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/10.8, allocations: 16.02 kB / 3.719 GB, free: 93.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/10.8, allocations: 315.1 kB / 3.719 GB, free: 93.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004972/10.81, allocations: 1.181 MB / 3.72 GB, free: 92.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/10.81, allocations: 32 kB / 3.72 GB, free: 92.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/10.81, allocations: 64 kB / 3.72 GB, free: 92 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002765/10.81, allocations: 0.8122 MB / 3.721 GB, free: 91.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/10.81, allocations: 0.9813 MB / 3.722 GB, free: 90.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/10.81, allocations: 11.89 kB / 3.722 GB, free: 90.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/10.81, allocations: 0 / 3.722 GB, free: 90.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/10.81, allocations: 37.94 kB / 3.722 GB, free: 90.12 MB / 0.948 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.008934/10.82, allocations: 4.5 MB / 3.727 GB, free: 85.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/10.83, allocations: 0.6205 MB / 3.727 GB, free: 84.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/10.83, allocations: 331 kB / 3.728 GB, free: 84.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/10.83, allocations: 312.8 kB / 3.728 GB, free: 83.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/10.83, allocations: 51.02 kB / 3.728 GB, free: 83.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 4.479e-06/10.83, allocations: 3.984 kB / 3.728 GB, free: 83.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002897/10.83, allocations: 0.7321 MB / 3.729 GB, free: 83.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/10.83, allocations: 111.4 kB / 3.729 GB, free: 82.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/10.83, allocations: 0.559 MB / 3.729 GB, free: 82.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/10.83, allocations: 29.7 kB / 3.729 GB, free: 82.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/10.83, allocations: 0.5265 MB / 3.73 GB, free: 81.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/10.83, allocations: 244.5 kB / 3.73 GB, free: 81.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/10.83, allocations: 0 / 3.73 GB, free: 81.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/10.83, allocations: 334 kB / 3.73 GB, free: 81.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/10.83, allocations: 245.5 kB / 3.731 GB, free: 81.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007512/10.83, allocations: 496.1 kB / 3.731 GB, free: 80.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/10.84, allocations: 416.1 kB / 3.731 GB, free: 80.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/10.84, allocations: 4 kB / 3.731 GB, free: 80.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00281/10.84, allocations: 0.8586 MB / 3.732 GB, free: 79.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003814/10.84, allocations: 1.747 MB / 3.734 GB, free: 77.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/10.84, allocations: 4 kB / 3.734 GB, free: 77.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/10.84, allocations: 12 kB / 3.734 GB, free: 77.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/10.84, allocations: 183.7 kB / 3.734 GB, free: 77.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004711/10.84, allocations: 0.6132 MB / 3.735 GB, free: 76.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/10.84, allocations: 107.4 kB / 3.735 GB, free: 76.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/10.84, allocations: 32 kB / 3.735 GB, free: 76.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/10.84, allocations: 4 kB / 3.735 GB, free: 76.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002368/10.85, allocations: 0.7368 MB / 3.736 GB, free: 75.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/10.85, allocations: 8.125 kB / 3.736 GB, free: 75.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/10.85, allocations: 15.98 kB / 3.736 GB, free: 75.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/10.85, allocations: 171.7 kB / 3.736 GB, free: 75.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/10.85, allocations: 8 kB / 3.736 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/10.85, allocations: 107.4 kB / 3.736 GB, free: 75.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/10.85, allocations: 28 kB / 3.736 GB, free: 75.26 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 () * 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.0002949/10.85, allocations: 136.5 kB / 3.736 GB, free: 75.12 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002298/10.85, allocations: 0.697 MB / 3.737 GB, free: 74.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/10.85, allocations: 94.88 kB / 3.737 GB, free: 74.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/10.85, allocations: 0.7543 MB / 3.738 GB, free: 73.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/10.85, allocations: 8 kB / 3.738 GB, free: 73.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/10.85, allocations: 0 / 3.738 GB, free: 73.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001957/10.86, allocations: 0.8709 MB / 3.738 GB, free: 72.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/10.86, allocations: 1.961 MB / 3.74 GB, free: 70.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/10.86, allocations: 0 / 3.74 GB, free: 70.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/10.86, allocations: 159.8 kB / 3.741 GB, free: 70.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/10.86, allocations: 7.938 kB / 3.741 GB, free: 70.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/10.86, allocations: 12.28 kB / 3.741 GB, free: 70.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003194/10.86, allocations: 0.6054 MB / 3.741 GB, free: 69.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/10.86, allocations: 3.938 kB / 3.741 GB, free: 69.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/10.87, allocations: 1.346 MB / 3.742 GB, free: 68.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008706/10.87, allocations: 247.8 kB / 3.743 GB, free: 68.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/10.87, allocations: 19.98 kB / 3.743 GB, free: 68.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/10.87, allocations: 59.84 kB / 3.743 GB, free: 67.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/10.87, allocations: 48.39 kB / 3.743 GB, free: 67.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/10.87, allocations: 24 kB / 3.743 GB, free: 67.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008251/10.87, allocations: 439.1 kB / 3.743 GB, free: 67.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/10.87, allocations: 0 / 3.743 GB, free: 67.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003/10.87, allocations: 0.6661 MB / 3.744 GB, free: 66.8 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 () * 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.006935/10.88, allocations: 4.504 MB / 3.748 GB, free: 62.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003058/10.88, allocations: 1.038 MB / 3.749 GB, free: 61.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/10.88, allocations: 0 / 3.749 GB, free: 61.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008485/10.89, allocations: 318.7 kB / 3.75 GB, free: 60.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/10.89, allocations: 425 kB / 3.75 GB, free: 60.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/10.9, allocations: 2.006 MB / 3.752 GB, free: 58.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/10.9, allocations: 1.192 MB / 3.753 GB, free: 57.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002686/10.9, allocations: 395 kB / 3.754 GB, free: 56.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009899/10.9, allocations: 407.3 kB / 3.754 GB, free: 56.29 MB / 0.948 GB Notification: Performance of SimCode: time 1.813e-06/10.9, allocations: 0 / 3.754 GB, free: 56.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/11.02, allocations: 38.69 MB / 3.792 GB, free: 17.79 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/11.02, allocations: 186 kB / 3.792 GB, free: 17.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.542/15.56, allocations: 0 / 3.792 GB, free: 17.59 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)