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 2.521/2.521, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001486/0.001486, allocations: 172.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.558/2.558, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001145/0.001145, allocations: 87.5 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.796e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8025, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.867/6.669, allocations: 2.064 GB / 3.027 GB, free: 54.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/6.67, allocations: 86.7 kB / 3.027 GB, free: 54.78 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.849/8.519, allocations: 339.1 MB / 3.358 GB, free: 105.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.804e-06/8.519, allocations: 0 / 3.358 GB, free: 105.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.004e-05/8.519, allocations: 15.94 kB / 3.358 GB, free: 105.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.001548/8.521, allocations: 0.6734 MB / 3.359 GB, free: 105.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/8.521, allocations: 8.031 kB / 3.359 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/8.521, allocations: 67.5 kB / 3.359 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/8.522, allocations: 318.8 kB / 3.359 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/8.522, allocations: 4 kB / 3.359 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/8.522, allocations: 16 kB / 3.359 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003647/8.523, allocations: 112.8 kB / 3.359 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/8.523, allocations: 251.5 kB / 3.36 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/8.523, allocations: 7.891 kB / 3.36 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/8.523, allocations: 4 kB / 3.36 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/8.523, allocations: 4 kB / 3.36 GB, free: 104.3 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.00221/8.525, allocations: 1.644 MB / 3.361 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/8.526, allocations: 74.58 kB / 3.361 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/8.526, allocations: 61.05 kB / 3.361 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/8.526, allocations: 190.2 kB / 3.362 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/8.526, allocations: 38.5 kB / 3.362 GB, free: 102.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.906e-06/8.526, allocations: 0 / 3.362 GB, free: 102.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.000765/8.527, allocations: 137.4 kB / 3.362 GB, free: 102 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/8.527, allocations: 55.41 kB / 3.362 GB, free: 101.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/8.527, allocations: 230.2 kB / 3.362 GB, free: 101.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/8.527, allocations: 29.7 kB / 3.362 GB, free: 101.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/8.528, allocations: 195.8 kB / 3.362 GB, free: 101.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/8.528, allocations: 39.55 kB / 3.362 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/8.528, allocations: 0 / 3.362 GB, free: 101.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/8.528, allocations: 330.8 kB / 3.363 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/8.528, allocations: 35.98 kB / 3.363 GB, free: 101 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/8.528, allocations: 189.3 kB / 3.363 GB, free: 100.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/8.528, allocations: 67.89 kB / 3.363 GB, free: 100.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/8.528, allocations: 7.938 kB / 3.363 GB, free: 100.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004756/8.529, allocations: 197 kB / 3.363 GB, free: 100.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002895/8.529, allocations: 1.408 MB / 3.364 GB, free: 98.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/8.529, allocations: 7.984 kB / 3.364 GB, free: 98.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/8.529, allocations: 4 kB / 3.364 GB, free: 98.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/8.53, allocations: 51.91 kB / 3.364 GB, free: 98.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/8.53, allocations: 4.094 kB / 3.364 GB, free: 98.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/8.53, allocations: 43.7 kB / 3.364 GB, free: 98.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/8.53, allocations: 15.98 kB / 3.365 GB, free: 98.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/8.53, allocations: 4 kB / 3.365 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003643/8.531, allocations: 135.6 kB / 3.365 GB, free: 98.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/8.531, allocations: 4.406 kB / 3.365 GB, free: 98.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/8.531, allocations: 15.95 kB / 3.365 GB, free: 98.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/8.531, allocations: 47.91 kB / 3.365 GB, free: 98.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/8.531, allocations: 4 kB / 3.365 GB, free: 98.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/8.531, allocations: 31.88 kB / 3.365 GB, free: 98.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/8.532, allocations: 12 kB / 3.365 GB, free: 98.62 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 0.0001187/8.532, allocations: 120.6 kB / 3.365 GB, free: 98.49 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000311/8.532, allocations: 123.4 kB / 3.365 GB, free: 98.37 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/8.532, allocations: 27.67 kB / 3.365 GB, free: 98.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/8.532, allocations: 127.5 kB / 3.365 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/8.532, allocations: 0 / 3.365 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/8.532, allocations: 0 / 3.365 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/8.532, allocations: 3.984 kB / 3.365 GB, free: 98.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/8.534, allocations: 0.5435 MB / 3.366 GB, free: 97.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/8.534, allocations: 4 kB / 3.366 GB, free: 97.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/8.534, allocations: 23.98 kB / 3.366 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/8.534, allocations: 8.219 kB / 3.366 GB, free: 97.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/8.534, allocations: 0 / 3.366 GB, free: 97.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/8.534, allocations: 4 kB / 3.366 GB, free: 97.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/8.534, allocations: 11.92 kB / 3.366 GB, free: 97.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/8.534, allocations: 345.1 kB / 3.366 GB, free: 97.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/8.534, allocations: 112.8 kB / 3.366 GB, free: 97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/8.535, allocations: 0 / 3.366 GB, free: 97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/8.535, allocations: 15.98 kB / 3.366 GB, free: 96.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/8.535, allocations: 23.88 kB / 3.366 GB, free: 96.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/8.535, allocations: 8 kB / 3.366 GB, free: 96.95 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002204/8.535, allocations: 174 kB / 3.366 GB, free: 96.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/8.535, allocations: 0 / 3.366 GB, free: 96.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001189/8.536, allocations: 211.7 kB / 3.367 GB, free: 96.57 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.002995/8.539, allocations: 2.69 MB / 3.369 GB, free: 93.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006391/8.54, allocations: 189 kB / 3.369 GB, free: 93.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/8.54, allocations: 1.625 kB / 3.369 GB, free: 93.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/8.54, allocations: 43.92 kB / 3.369 GB, free: 93.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/8.542, allocations: 102 kB / 3.37 GB, free: 93.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/8.543, allocations: 434.4 kB / 3.37 GB, free: 92.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/8.543, allocations: 0.7879 MB / 3.371 GB, free: 92.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006006/8.544, allocations: 98.55 kB / 3.371 GB, free: 92.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/8.544, allocations: 79.42 kB / 3.371 GB, free: 91.99 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/8.544, allocations: 0 / 3.371 GB, free: 91.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07984/8.624, allocations: 16.17 MB / 3.387 GB, free: 75.88 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/8.624, allocations: 159.2 kB / 3.387 GB, free: 75.69 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/12, allocations: 0 / 3.387 GB, free: 75.69 MB / 0.948 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)