Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.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.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",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.736/1.736, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001327/0.001327, allocations: 180.9 kB / 371.6 MB, free: 3.402 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.904/1.904, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001022/0.001022, allocations: 91.47 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.317e-05/4.32e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3269, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.345/6.672, allocations: 2.065 GB / 3.045 GB, free: 177.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/6.673, allocations: 89.56 kB / 3.045 GB, free: 177.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.227/7.9, allocations: 343.2 MB / 3.38 GB, free: 196.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/7.9, allocations: 3.938 kB / 3.38 GB, free: 196.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.713e-05/7.9, allocations: 14.64 kB / 3.38 GB, free: 196.8 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001204/7.901, allocations: 0.6624 MB / 3.381 GB, free: 196.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/7.901, allocations: 10.81 kB / 3.381 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/7.901, allocations: 61.47 kB / 3.381 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/7.901, allocations: 59.67 kB / 3.381 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/7.902, allocations: 326.4 kB / 3.382 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/7.902, allocations: 19.22 kB / 3.382 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/7.902, allocations: 25.94 kB / 3.382 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/7.902, allocations: 275.5 kB / 3.382 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/7.902, allocations: 7.5 kB / 3.382 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/7.902, allocations: 7.594 kB / 3.382 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/7.902, allocations: 5.516 kB / 3.382 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/7.903, allocations: 138.8 kB / 3.382 GB, free: 195.5 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.00139/7.904, allocations: 1.718 MB / 3.384 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/7.904, allocations: 73.7 kB / 3.384 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/7.904, allocations: 67.16 kB / 3.384 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/7.904, allocations: 185.2 kB / 3.384 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/7.904, allocations: 38.5 kB / 3.384 GB, free: 193.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/7.904, allocations: 0 / 3.384 GB, free: 193.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0003934/7.905, allocations: 146.4 kB / 3.384 GB, free: 193.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/7.905, allocations: 55.34 kB / 3.384 GB, free: 193.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/7.905, allocations: 283.9 kB / 3.384 GB, free: 193.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/7.905, allocations: 29.7 kB / 3.384 GB, free: 193.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/7.905, allocations: 194.6 kB / 3.385 GB, free: 193 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/7.905, allocations: 39.19 kB / 3.385 GB, free: 193 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-06/7.905, allocations: 4 kB / 3.385 GB, free: 193 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/7.905, allocations: 342.4 kB / 3.385 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/7.905, allocations: 38.8 kB / 3.385 GB, free: 192.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/7.906, allocations: 195.6 kB / 3.385 GB, free: 192.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/7.906, allocations: 74.38 kB / 3.385 GB, free: 192.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/7.906, allocations: 3.906 kB / 3.385 GB, free: 192.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002834/7.906, allocations: 232.8 kB / 3.386 GB, free: 192.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003236/7.906, allocations: 1.389 MB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/7.906, allocations: 3.781 kB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/7.906, allocations: 15.78 kB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/7.907, allocations: 42.89 kB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/7.907, allocations: 15.69 kB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/7.907, allocations: 42.73 kB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/7.907, allocations: 11.16 kB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/7.907, allocations: 3.938 kB / 3.387 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002193/7.907, allocations: 170.9 kB / 3.387 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/7.907, allocations: 3.906 kB / 3.387 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/7.907, allocations: 3.906 kB / 3.387 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/7.907, allocations: 53.75 kB / 3.387 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/7.907, allocations: 3.938 kB / 3.387 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/7.908, allocations: 53.12 kB / 3.387 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/7.908, allocations: 15.59 kB / 3.387 GB, free: 190.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/7.908, allocations: 120.7 kB / 3.387 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/7.908, allocations: 29.38 kB / 3.387 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/7.908, allocations: 141.6 kB / 3.388 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/7.908, allocations: 0 / 3.388 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/7.908, allocations: 3.938 kB / 3.388 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/7.908, allocations: 0 / 3.388 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/7.909, allocations: 0.5833 MB / 3.388 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/7.909, allocations: 3.781 kB / 3.388 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/7.909, allocations: 35.47 kB / 3.388 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/7.909, allocations: 3.781 kB / 3.388 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/7.909, allocations: 11.88 kB / 3.388 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/7.909, allocations: 0 / 3.388 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/7.909, allocations: 7.828 kB / 3.388 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/7.909, allocations: 360.4 kB / 3.389 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/7.909, allocations: 112.4 kB / 3.389 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/7.909, allocations: 7.891 kB / 3.389 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/7.909, allocations: 23.55 kB / 3.389 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/7.91, allocations: 20.09 kB / 3.389 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/7.91, allocations: 3.938 kB / 3.389 GB, free: 189.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001873/7.91, allocations: 231.9 kB / 3.389 GB, free: 189.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/7.91, allocations: 0 / 3.389 GB, free: 189.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009627/7.911, allocations: 250.1 kB / 3.389 GB, free: 189 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001975/7.913, allocations: 2.511 MB / 3.392 GB, free: 186.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000335/7.913, allocations: 222.6 kB / 3.392 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/7.913, allocations: 0 / 3.392 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/7.913, allocations: 52.8 kB / 3.392 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/7.914, allocations: 140.9 kB / 3.392 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/7.915, allocations: 457.2 kB / 3.393 GB, free: 186.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/7.915, allocations: 0.7842 MB / 3.393 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003888/7.915, allocations: 110.3 kB / 3.393 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/7.915, allocations: 90.09 kB / 3.393 GB, free: 185.5 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/7.916, allocations: 0 / 3.393 GB, free: 185.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0504/7.966, allocations: 30.87 MB / 3.424 GB, free: 162.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/7.966, allocations: 181.7 kB / 3.424 GB, free: 162.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/11.08, allocations: 11.88 kB / 3.424 GB, free: 162.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)