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.446/1.446, allocations: 252 MB / 267 MB, free: 10.98 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.001023/0.001023, allocations: 179.1 kB / 326.6 MB, free: 2.211 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.019/2.019, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.001053/0.001052, allocations: 84.48 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004981, allocations: 9.281 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1814/0.4411, allocations: 154.1 MB / 1.051 GB, free: 5.258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6624/1.104, allocations: 6.812 MB / 1.057 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/1.104, allocations: 11.94 kB / 1.057 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006193/1.105, allocations: 137.7 kB / 1.058 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/1.106, allocations: 445.2 kB / 1.058 GB, free: 4.309 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/1.107, allocations: 357.2 kB / 1.058 GB, free: 4.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009832/1.108, allocations: 0.855 MB / 1.059 GB, free: 4.289 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/1.109, allocations: 193.1 kB / 1.059 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006712/1.109, allocations: 306.5 kB / 1.06 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/1.11, allocations: 209.6 kB / 1.06 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/1.11, allocations: 11.31 kB / 1.06 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/1.111, allocations: 0.5281 MB / 1.06 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/1.111, allocations: 93.36 kB / 1.06 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003875/1.111, allocations: 79.8 kB / 1.061 GB, free: 20.24 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006182/1.112, allocations: 385.4 kB / 1.061 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.112, allocations: 2.906 kB / 1.061 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/1.112, allocations: 2.938 kB / 1.061 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.112, allocations: 0 / 1.061 GB, free: 20.2 MB / 0.7136 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.0008939/1.113, allocations: 0.5786 MB / 1.061 GB, free: 19.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.113, allocations: 8.938 kB / 1.061 GB, free: 19.73 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/1.113, allocations: 56.88 kB / 1.062 GB, free: 19.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/1.113, allocations: 61.56 kB / 1.062 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/1.114, allocations: 292.8 kB / 1.062 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/1.114, allocations: 19.11 kB / 1.062 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/1.114, allocations: 27.5 kB / 1.062 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/1.114, allocations: 303 kB / 1.062 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.114, allocations: 0 / 1.062 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/1.115, allocations: 14.75 kB / 1.062 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.115, allocations: 6.562 kB / 1.062 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/1.115, allocations: 180.4 kB / 1.062 GB, free: 19.32 MB / 0.7136 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.001929/1.117, allocations: 1.708 MB / 1.064 GB, free: 18.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/1.117, allocations: 99.5 kB / 1.064 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/1.117, allocations: 88.45 kB / 1.064 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/1.118, allocations: 186.6 kB / 1.064 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.118, allocations: 34.69 kB / 1.064 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/1.118, allocations: 0 / 1.064 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007325/1.118, allocations: 241.9 kB / 1.065 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.119, allocations: 58.22 kB / 1.065 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/1.119, allocations: 306.4 kB / 1.065 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/1.119, allocations: 30.94 kB / 1.065 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.119, allocations: 196.5 kB / 1.065 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.119, allocations: 38.62 kB / 1.065 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.119, allocations: 6.875 kB / 1.065 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.119, allocations: 336.1 kB / 1.066 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/1.119, allocations: 58.06 kB / 1.066 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/1.12, allocations: 184.3 kB / 1.066 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/1.12, allocations: 84.27 kB / 1.066 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.12, allocations: 0 / 1.066 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000493/1.12, allocations: 258.8 kB / 1.066 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.121, allocations: 197.7 kB / 1.066 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.121, allocations: 5.969 kB / 1.066 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.121, allocations: 5.719 kB / 1.066 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/1.121, allocations: 51.86 kB / 1.066 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.121, allocations: 7.734 kB / 1.066 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/1.121, allocations: 51.33 kB / 1.066 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/1.121, allocations: 13.58 kB / 1.067 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/1.121, allocations: 6.5 kB / 1.067 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003969/1.122, allocations: 207.9 kB / 1.067 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.122, allocations: 7.062 kB / 1.067 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/1.122, allocations: 9.891 kB / 1.067 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/1.122, allocations: 48.38 kB / 1.067 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.122, allocations: 9.938 kB / 1.067 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/1.122, allocations: 32.53 kB / 1.067 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/1.122, allocations: 16.38 kB / 1.067 GB, free: 16.56 MB / 0.7136 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.0001944/1.122, allocations: 230.2 kB / 1.067 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/1.122, allocations: 31.19 kB / 1.067 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/1.123, allocations: 180.9 kB / 1.067 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.123, allocations: 2.688 kB / 1.067 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.123, allocations: 4.875 kB / 1.067 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.123, allocations: 0 / 1.067 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/1.124, allocations: 0.6113 MB / 1.068 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.124, allocations: 3.031 kB / 1.068 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/1.124, allocations: 28.23 kB / 1.068 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.124, allocations: 3 kB / 1.068 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.124, allocations: 10 kB / 1.068 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.124, allocations: 3.547 kB / 1.068 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.124, allocations: 7.5 kB / 1.068 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/1.124, allocations: 317.9 kB / 1.068 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/1.124, allocations: 114.1 kB / 1.068 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/1.125, allocations: 3.406 kB / 1.068 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/1.125, allocations: 27.25 kB / 1.068 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/1.125, allocations: 12.66 kB / 1.068 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/1.125, allocations: 4.344 kB / 1.068 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002933/1.125, allocations: 218.4 kB / 1.069 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.125, allocations: 0 / 1.069 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00068/1.126, allocations: 141.6 kB / 1.069 GB, free: 15.52 MB / 0.7136 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.001123/1.127, allocations: 0.8917 MB / 1.07 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008639/1.128, allocations: 263.3 kB / 1.07 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.128, allocations: 3.547 kB / 1.07 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/1.128, allocations: 67.59 kB / 1.07 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.129, allocations: 141.1 kB / 1.07 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/1.132, allocations: 1.6 MB / 1.072 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/1.133, allocations: 0.7732 MB / 1.072 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004115/1.133, allocations: 79.8 kB / 1.072 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.133, allocations: 85.22 kB / 1.073 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of SimCode: time 9.41e-07/1.134, allocations: 4 kB / 1.073 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/1.157, allocations: 7.278 MB / 1.08 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.157, allocations: 224.1 kB / 1.08 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.382, allocations: 0 / 1.08 GB, free: 12.52 MB / 0.7136 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)