Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.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.Examples.Pressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure",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.405/1.405, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00122/0.00122, allocations: 183.5 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 1.993/1.993, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009837/0.0009837, allocations: 93.22 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003448, allocations: 10.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1702/0.4105, allocations: 141.9 MB / 1.039 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007822/0.4183, allocations: 6.045 MB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.4188, allocations: 7.938 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.4196, allocations: 227 kB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.4214, allocations: 0.5181 MB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.423, allocations: 469.6 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.4238, allocations: 439.4 kB / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.4243, allocations: 198.6 kB / 1.046 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.4249, allocations: 247.2 kB / 1.047 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.4251, allocations: 135.4 kB / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.4251, allocations: 12 kB / 1.047 GB, free: 9.305 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.4259, allocations: 383.4 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.426, allocations: 91.7 kB / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.4261, allocations: 81.58 kB / 1.047 GB, free: 8.754 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.4266, allocations: 339.4 kB / 1.048 GB, free: 8.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4266, allocations: 0 / 1.048 GB, free: 8.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4266, allocations: 0 / 1.048 GB, free: 8.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4266, allocations: 0 / 1.048 GB, free: 8.422 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009381/0.4276, allocations: 0.561 MB / 1.048 GB, free: 7.809 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.4276, allocations: 16.03 kB / 1.048 GB, free: 7.793 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.4277, allocations: 54.53 kB / 1.048 GB, free: 7.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.4281, allocations: 59.59 kB / 1.048 GB, free: 7.672 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.4286, allocations: 289.5 kB / 1.049 GB, free: 7.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4286, allocations: 16.44 kB / 1.049 GB, free: 7.336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.4286, allocations: 24 kB / 1.049 GB, free: 7.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.4292, allocations: 304.6 kB / 1.049 GB, free: 6.973 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4292, allocations: 3.938 kB / 1.049 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.4292, allocations: 15.98 kB / 1.049 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4293, allocations: 12 kB / 1.049 GB, free: 6.941 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.4297, allocations: 179.8 kB / 1.049 GB, free: 6.766 MB / 0.698 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.001789/0.4315, allocations: 1.698 MB / 1.051 GB, free: 4.949 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.4318, allocations: 102.5 kB / 1.051 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.4318, allocations: 8 kB / 1.051 GB, free: 4.832 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4319, allocations: 34.78 kB / 1.051 GB, free: 4.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.4319, allocations: 3.938 kB / 1.051 GB, free: 4.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007528/0.4326, allocations: 241.5 kB / 1.051 GB, free: 4.543 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4327, allocations: 51.41 kB / 1.051 GB, free: 4.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.433, allocations: 316.4 kB / 1.052 GB, free: 4.164 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.4331, allocations: 25.7 kB / 1.052 GB, free: 4.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4332, allocations: 195.8 kB / 1.052 GB, free: 3.938 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.4333, allocations: 39.45 kB / 1.052 GB, free: 3.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.4333, allocations: 0 / 1.052 GB, free: 3.898 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4335, allocations: 342.8 kB / 1.052 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.4336, allocations: 55.95 kB / 1.052 GB, free: 3.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4339, allocations: 183.4 kB / 1.052 GB, free: 3.266 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.4341, allocations: 87.88 kB / 1.052 GB, free: 3.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4341, allocations: 4 kB / 1.052 GB, free: 3.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004905/0.4346, allocations: 265.1 kB / 1.053 GB, free: 2.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006565/0.4353, allocations: 1.391 MB / 1.054 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4353, allocations: 4 kB / 1.054 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4353, allocations: 4 kB / 1.054 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.4355, allocations: 51.92 kB / 1.054 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4355, allocations: 7.984 kB / 1.054 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.4358, allocations: 51.62 kB / 1.054 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4358, allocations: 8 kB / 1.054 GB, free: 1.285 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.4359, allocations: 7.938 kB / 1.054 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004163/0.4363, allocations: 211.5 kB / 1.054 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4363, allocations: 4 kB / 1.054 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.4363, allocations: 4 kB / 1.054 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4365, allocations: 48.33 kB / 1.054 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4365, allocations: 15.92 kB / 1.054 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.4367, allocations: 35.81 kB / 1.054 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.4367, allocations: 12 kB / 1.054 GB, free: 0.9531 MB / 0.698 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 () * Number of clocked 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 0.0001955/0.4369, allocations: 233 kB / 1.055 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.437, allocations: 31.58 kB / 1.055 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.4374, allocations: 184.3 kB / 1.055 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4374, allocations: 0 / 1.055 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4374, allocations: 3.984 kB / 1.055 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4374, allocations: 0 / 1.055 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.531/0.9685, allocations: 0.6117 MB / 1.055 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9685, allocations: 1.5 kB / 1.055 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.9687, allocations: 27.36 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.9687, allocations: 7.344 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.9687, allocations: 3.281 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.9687, allocations: 3.719 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.9687, allocations: 7.688 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.9692, allocations: 388.9 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.9694, allocations: 118.6 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.9694, allocations: 6.25 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.9696, allocations: 17.86 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.9697, allocations: 19.02 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.9697, allocations: 4.969 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002411/0.97, allocations: 225.3 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.97, allocations: 0 / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006784/0.9707, allocations: 135 kB / 1.056 GB, free: 156.1 MB / 0.698 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 () * Number of clocked 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.001063/0.9717, allocations: 1.458 MB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.9724, allocations: 263.4 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9725, allocations: 0 / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.9726, allocations: 69.36 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.9736, allocations: 147 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.9763, allocations: 3.835 MB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.9765, allocations: 0.7818 MB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.9768, allocations: 86.78 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.9769, allocations: 83.36 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/0.977, allocations: 0 / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/1.001, allocations: 7.266 MB / 1.07 GB, free: 150.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.001, allocations: 218 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/3.103, allocations: 0 / 1.07 GB, free: 150.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)