Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6907/0.6907, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 183.9 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 92.45 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 273.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.668e-05, allocations: 11.98 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3436, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.471/3.814, allocations: 1.938 GB / 2.702 GB, free: 69.86 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/3.815, allocations: 99.78 kB / 2.703 GB, free: 69.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.095/5.91, allocations: 0.6365 GB / 3.339 GB, free: 121.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/5.91, allocations: 6.812 kB / 3.339 GB, free: 121.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001182/5.91, allocations: 31.38 kB / 3.339 GB, free: 121.5 MB / 0.698 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.003067/5.913, allocations: 1.476 MB / 3.341 GB, free: 120.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/5.913, allocations: 10.16 kB / 3.341 GB, free: 120.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002931/5.913, allocations: 156.3 kB / 3.341 GB, free: 120.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/5.915, allocations: 325.3 kB / 3.341 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/5.918, allocations: 1.185 MB / 3.342 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/5.918, allocations: 79.75 kB / 3.342 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/5.918, allocations: 102.4 kB / 3.342 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/5.92, allocations: 1.128 MB / 3.344 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/5.92, allocations: 3.844 kB / 3.344 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/5.92, allocations: 40.25 kB / 3.344 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/5.92, allocations: 39.53 kB / 3.344 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/5.921, allocations: 0.8699 MB / 3.344 GB, free: 120.3 MB / 0.698 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.004438/5.926, allocations: 4.712 MB / 3.349 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/5.926, allocations: 0.6516 MB / 3.35 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/5.927, allocations: 350.9 kB / 3.35 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/5.927, allocations: 317.5 kB / 3.35 GB, free: 117.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/5.927, allocations: 44.89 kB / 3.35 GB, free: 117.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.326e-06/5.927, allocations: 3.797 kB / 3.35 GB, free: 117.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001201/5.929, allocations: 0.6966 MB / 3.351 GB, free: 117.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/5.929, allocations: 110.3 kB / 3.351 GB, free: 117.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/5.929, allocations: 0.6783 MB / 3.352 GB, free: 117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/5.929, allocations: 41.52 kB / 3.352 GB, free: 117 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/5.93, allocations: 0.5316 MB / 3.352 GB, free: 116.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/5.93, allocations: 246.3 kB / 3.353 GB, free: 116.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/5.93, allocations: 15.5 kB / 3.353 GB, free: 116.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/5.93, allocations: 336.3 kB / 3.353 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/5.93, allocations: 264.8 kB / 3.353 GB, free: 116.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/5.931, allocations: 0.499 MB / 3.354 GB, free: 116.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/5.931, allocations: 353.8 kB / 3.354 GB, free: 116.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/5.931, allocations: 5.656 kB / 3.354 GB, free: 116.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00108/5.932, allocations: 0.849 MB / 3.355 GB, free: 116 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002676/5.933, allocations: 1.754 MB / 3.357 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/5.933, allocations: 6.156 kB / 3.357 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/5.933, allocations: 10.97 kB / 3.357 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/5.933, allocations: 176.7 kB / 3.357 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002525/5.934, allocations: 0.599 MB / 3.357 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/5.935, allocations: 140.5 kB / 3.357 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/5.935, allocations: 39.11 kB / 3.357 GB, free: 113.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/5.935, allocations: 3.938 kB / 3.357 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009889/5.936, allocations: 0.735 MB / 3.358 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/5.936, allocations: 10.84 kB / 3.358 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/5.936, allocations: 12.95 kB / 3.358 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/5.936, allocations: 165.4 kB / 3.358 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/5.936, allocations: 12.69 kB / 3.358 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008462/5.937, allocations: 131.9 kB / 3.359 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/5.937, allocations: 35.19 kB / 3.359 GB, free: 113.6 MB / 0.698 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.000152/5.937, allocations: 155.7 kB / 3.359 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/5.937, allocations: 100.7 kB / 3.359 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/5.939, allocations: 0.7389 MB / 3.36 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/5.939, allocations: 7.062 kB / 3.36 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/5.939, allocations: 0 / 3.36 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000802/5.94, allocations: 0.8296 MB / 3.36 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/5.943, allocations: 2.054 MB / 3.362 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/5.943, allocations: 2.625 kB / 3.362 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/5.943, allocations: 168.8 kB / 3.363 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/5.943, allocations: 3.312 kB / 3.363 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/5.943, allocations: 21.09 kB / 3.363 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000166/5.944, allocations: 0.596 MB / 3.363 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/5.944, allocations: 7.625 kB / 3.363 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/5.945, allocations: 1.337 MB / 3.364 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/5.946, allocations: 254 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/5.946, allocations: 20.97 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/5.946, allocations: 77.72 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/5.946, allocations: 47.73 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/5.946, allocations: 22.22 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005477/5.947, allocations: 0.5308 MB / 3.365 GB, free: 111.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/5.947, allocations: 2.656 kB / 3.365 GB, free: 111.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001871/5.949, allocations: 0.7424 MB / 3.366 GB, free: 111.2 MB / 0.698 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.003561/5.952, allocations: 4.262 MB / 3.37 GB, free: 109.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001587/5.954, allocations: 1.102 MB / 3.371 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/5.954, allocations: 7.031 kB / 3.371 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/5.955, allocations: 339.4 kB / 3.372 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/5.956, allocations: 471.6 kB / 3.372 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/5.959, allocations: 2.084 MB / 3.374 GB, free: 108.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/5.96, allocations: 1.194 MB / 3.375 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001234/5.961, allocations: 437.8 kB / 3.376 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/5.961, allocations: 421 kB / 3.376 GB, free: 107.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/5.961, allocations: 3.344 kB / 3.376 GB, free: 107.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/6.029, allocations: 59.99 MB / 3.435 GB, free: 105.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/6.029, allocations: 242.5 kB / 3.435 GB, free: 105.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/9.8, allocations: 0 / 3.435 GB, free: 105.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)