Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.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.Examples.Pressure,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 1.638/1.638, allocations: 287.4 MB / 302.6 MB, free: 8.316 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.00106/0.00106, allocations: 184.5 kB / 371.1 MB, free: 10.82 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.459/1.459, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007114/0.0007114, allocations: 101.1 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 15.38 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5006/0.6929, allocations: 154 MB / 1.129 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006267/0.6992, allocations: 6.764 MB / 1.136 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.6996, allocations: 13.72 kB / 1.136 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.7002, allocations: 143.5 kB / 1.136 GB, free: 15.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.7014, allocations: 447.8 kB / 1.136 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.7025, allocations: 351.3 kB / 1.137 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009326/0.7034, allocations: 0.869 MB / 1.137 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.7038, allocations: 211.9 kB / 1.138 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.7043, allocations: 318.7 kB / 1.138 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.7045, allocations: 211.5 kB / 1.138 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.7046, allocations: 12.69 kB / 1.138 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.7054, allocations: 0.5288 MB / 1.139 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.7055, allocations: 96.44 kB / 1.139 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.7056, allocations: 82.2 kB / 1.139 GB, free: 14.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.706, allocations: 389.9 kB / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.706, allocations: 0 / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.706, allocations: 0 / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.706, allocations: 0 / 1.139 GB, free: 14.51 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.0007437/0.7068, allocations: 0.5926 MB / 1.14 GB, free: 14.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.7068, allocations: 10.8 kB / 1.14 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.7069, allocations: 63.5 kB / 1.14 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.7071, allocations: 62.7 kB / 1.14 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.7075, allocations: 305.9 kB / 1.14 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.7075, allocations: 16.41 kB / 1.14 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.7075, allocations: 22.12 kB / 1.14 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.708, allocations: 307.9 kB / 1.141 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.708, allocations: 3.938 kB / 1.141 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.708, allocations: 13.12 kB / 1.141 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.708, allocations: 6.656 kB / 1.141 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.7083, allocations: 184.7 kB / 1.141 GB, free: 13.57 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.00143/0.7098, allocations: 1.712 MB / 1.142 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.71, allocations: 97.88 kB / 1.143 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.7102, allocations: 84.39 kB / 1.143 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.7104, allocations: 190.7 kB / 1.143 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.7105, allocations: 34.56 kB / 1.143 GB, free: 11.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.7105, allocations: 0 / 1.143 GB, free: 11.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005906/0.7111, allocations: 236.5 kB / 1.143 GB, free: 11.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.7111, allocations: 56.56 kB / 1.143 GB, free: 11.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.7114, allocations: 321.5 kB / 1.143 GB, free: 11.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.7114, allocations: 30.73 kB / 1.143 GB, free: 11.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.7115, allocations: 197 kB / 1.144 GB, free: 11.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.7116, allocations: 43.23 kB / 1.144 GB, free: 11.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.7116, allocations: 3.75 kB / 1.144 GB, free: 11.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.7117, allocations: 345.1 kB / 1.144 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.7118, allocations: 53.78 kB / 1.144 GB, free: 11.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.712, allocations: 198.2 kB / 1.144 GB, free: 11.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.7124, allocations: 245.7 kB / 1.144 GB, free: 10.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7124, allocations: 5.469 kB / 1.144 GB, free: 10.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000424/0.7128, allocations: 257.4 kB / 1.145 GB, free: 10.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.905e-05/0.7129, allocations: 195.8 kB / 1.145 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7129, allocations: 6 kB / 1.145 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.713, allocations: 7.391 kB / 1.145 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.7131, allocations: 49.27 kB / 1.145 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7132, allocations: 7.688 kB / 1.145 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.7134, allocations: 42.7 kB / 1.145 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.7135, allocations: 14.62 kB / 1.145 GB, free: 10.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.7135, allocations: 3.469 kB / 1.145 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003581/0.7138, allocations: 208.5 kB / 1.145 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7139, allocations: 3.094 kB / 1.145 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.7139, allocations: 10.31 kB / 1.145 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.714, allocations: 48.17 kB / 1.145 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.714, allocations: 5.344 kB / 1.145 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.7143, allocations: 44.75 kB / 1.145 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.7143, allocations: 13.19 kB / 1.145 GB, free: 10.55 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.0001645/0.7145, allocations: 231.6 kB / 1.146 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.7145, allocations: 29.59 kB / 1.146 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.7149, allocations: 182.7 kB / 1.146 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7149, allocations: 1.469 kB / 1.146 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.7149, allocations: 5.312 kB / 1.146 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7149, allocations: 0 / 1.146 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.7158, allocations: 0.6166 MB / 1.146 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7158, allocations: 4.578 kB / 1.146 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.7159, allocations: 32.52 kB / 1.146 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7159, allocations: 2.688 kB / 1.146 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.7159, allocations: 8.156 kB / 1.146 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.716, allocations: 1.438 kB / 1.146 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.716, allocations: 2.938 kB / 1.146 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.7163, allocations: 310.3 kB / 1.147 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.7164, allocations: 119.3 kB / 1.147 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.7165, allocations: 5.109 kB / 1.147 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.7167, allocations: 26.84 kB / 1.147 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.7167, allocations: 11.78 kB / 1.147 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.7167, allocations: 12.34 kB / 1.147 GB, free: 9.566 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002077/0.717, allocations: 223.1 kB / 1.147 GB, free: 9.484 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.717, allocations: 0 / 1.147 GB, free: 9.484 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005687/0.7175, allocations: 132 kB / 1.147 GB, free: 9.473 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.0008646/0.7184, allocations: 0.8994 MB / 1.148 GB, free: 8.719 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005593/0.719, allocations: 257.6 kB / 1.148 GB, free: 8.691 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.719, allocations: 0.7812 kB / 1.148 GB, free: 8.691 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.7192, allocations: 77.17 kB / 1.148 GB, free: 8.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/0.72, allocations: 136 kB / 1.149 GB, free: 8.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.7223, allocations: 1.64 MB / 1.15 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.7226, allocations: 0.7762 MB / 1.151 GB, free: 7.152 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00031/0.7229, allocations: 90.48 kB / 1.151 GB, free: 7.109 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.723, allocations: 95.41 kB / 1.151 GB, free: 7.09 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.723, allocations: 0 / 1.151 GB, free: 7.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4/1.123, allocations: 7.518 MB / 1.158 GB, free: 3.477 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.123, allocations: 215.3 kB / 1.159 GB, free: 3.238 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/3.29, allocations: 0 / 1.159 GB, free: 3.238 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)