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.481/1.481, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009878/0.0009876, allocations: 172.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001034/0.001034, allocations: 86.42 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.74e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2359, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/5.955, allocations: 2.182 GB / 3.074 GB, free: 147 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/5.955, allocations: 89.52 kB / 3.074 GB, free: 147 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.219/7.174, allocations: 332.1 MB / 3.399 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.285e-06/7.174, allocations: 0 / 3.399 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.516e-05/7.174, allocations: 19.94 kB / 3.399 GB, free: 159.9 MB / 0.8698 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.0016/7.175, allocations: 0.6561 MB / 3.399 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/7.175, allocations: 8.031 kB / 3.399 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/7.175, allocations: 54.55 kB / 3.399 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/7.176, allocations: 63.58 kB / 3.4 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/7.177, allocations: 325.7 kB / 3.4 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/7.177, allocations: 16.44 kB / 3.4 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/7.177, allocations: 24 kB / 3.4 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/7.177, allocations: 276.7 kB / 3.4 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/7.177, allocations: 4 kB / 3.4 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/7.177, allocations: 4 kB / 3.4 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/7.177, allocations: 8 kB / 3.4 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/7.177, allocations: 147.5 kB / 3.4 GB, free: 158.2 MB / 0.8698 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.001634/7.179, allocations: 1.71 MB / 3.402 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/7.179, allocations: 74.47 kB / 3.402 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/7.179, allocations: 60.89 kB / 3.402 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/7.18, allocations: 190.2 kB / 3.402 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/7.18, allocations: 34.56 kB / 3.402 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/7.18, allocations: 0 / 3.402 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0004599/7.18, allocations: 145.3 kB / 3.402 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/7.18, allocations: 55.41 kB / 3.403 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/7.18, allocations: 266.7 kB / 3.403 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/7.181, allocations: 37.7 kB / 3.403 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/7.181, allocations: 203.6 kB / 3.403 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/7.181, allocations: 39.45 kB / 3.403 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/7.181, allocations: 4 kB / 3.403 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/7.181, allocations: 335 kB / 3.403 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/7.181, allocations: 43.98 kB / 3.403 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/7.181, allocations: 177 kB / 3.404 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/7.181, allocations: 75.84 kB / 3.404 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/7.181, allocations: 4 kB / 3.404 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003343/7.182, allocations: 217 kB / 3.404 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004137/7.182, allocations: 1.399 MB / 3.405 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/7.182, allocations: 4 kB / 3.405 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/7.182, allocations: 8 kB / 3.405 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/7.182, allocations: 51.91 kB / 3.405 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/7.182, allocations: 4 kB / 3.405 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/7.183, allocations: 47.66 kB / 3.405 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/7.183, allocations: 16 kB / 3.405 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/7.183, allocations: 4 kB / 3.405 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002609/7.183, allocations: 167.5 kB / 3.406 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/7.183, allocations: 4 kB / 3.406 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/7.183, allocations: 4.406 kB / 3.406 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/7.183, allocations: 59.91 kB / 3.406 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/7.183, allocations: 4 kB / 3.406 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/7.183, allocations: 31.81 kB / 3.406 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/7.183, allocations: 19.95 kB / 3.406 GB, free: 152.3 MB / 0.8698 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 9.865e-05/7.184, allocations: 124.9 kB / 3.406 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/7.184, allocations: 27.62 kB / 3.406 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/7.184, allocations: 152.4 kB / 3.406 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/7.184, allocations: 0 / 3.406 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/7.184, allocations: 0 / 3.406 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/7.184, allocations: 0 / 3.406 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/7.185, allocations: 0.5743 MB / 3.406 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/7.185, allocations: 0 / 3.406 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/7.185, allocations: 35.92 kB / 3.407 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/7.185, allocations: 3.953 kB / 3.407 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/7.185, allocations: 4 kB / 3.407 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/7.185, allocations: 8.219 kB / 3.407 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/7.185, allocations: 0 / 3.407 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/7.185, allocations: 365 kB / 3.407 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/7.185, allocations: 120.6 kB / 3.407 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/7.185, allocations: 12 kB / 3.407 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/7.186, allocations: 27.88 kB / 3.407 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/7.186, allocations: 12.27 kB / 3.407 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/7.186, allocations: 4 kB / 3.407 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001893/7.186, allocations: 218.2 kB / 3.407 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/7.186, allocations: 4 kB / 3.407 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001089/7.187, allocations: 247.9 kB / 3.408 GB, free: 150.2 MB / 0.8698 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.002488/7.189, allocations: 2.526 MB / 3.41 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003776/7.19, allocations: 218.6 kB / 3.41 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/7.19, allocations: 0 / 3.41 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/7.19, allocations: 51.91 kB / 3.41 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/7.191, allocations: 134.2 kB / 3.41 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/7.192, allocations: 442.9 kB / 3.411 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/7.192, allocations: 0.7882 MB / 3.412 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004452/7.193, allocations: 103.3 kB / 3.412 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/7.193, allocations: 79.41 kB / 3.412 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/7.193, allocations: 0 / 3.412 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/7.244, allocations: 30.64 MB / 3.442 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/7.244, allocations: 186.2 kB / 3.442 GB, free: 115 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/10.25, allocations: 0 / 3.442 GB, free: 115 MB / 0.8698 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)