Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.6 MB / 307.5 MB, free: 5.074 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.001144/0.001144, allocations: 189 kB / 377.1 MB, free: 1.438 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.877/1.877, allocations: 205.4 MB / 0.6366 GB, free: 8.562 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.001131/0.001131, allocations: 96.62 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3353, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6/6.335, allocations: 2.065 GB / 3.054 GB, free: 160.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/6.335, allocations: 92.48 kB / 3.054 GB, free: 160.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.393/7.728, allocations: 343.6 MB / 3.389 GB, free: 186.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.386e-06/7.728, allocations: 4 kB / 3.389 GB, free: 186.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.737e-05/7.728, allocations: 7.188 kB / 3.389 GB, free: 186.6 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.001833/7.73, allocations: 0.7085 MB / 3.39 GB, free: 186 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/7.73, allocations: 9.875 kB / 3.39 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/7.73, allocations: 58.39 kB / 3.39 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/7.731, allocations: 71.17 kB / 3.39 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/7.731, allocations: 314.5 kB / 3.391 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/7.732, allocations: 19.19 kB / 3.391 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/7.732, allocations: 26.09 kB / 3.391 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/7.732, allocations: 306.7 kB / 3.391 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/7.732, allocations: 3.938 kB / 3.391 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/7.732, allocations: 8.406 kB / 3.391 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/7.732, allocations: 5.906 kB / 3.391 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/7.733, allocations: 179.8 kB / 3.391 GB, free: 185.2 MB / 0.948 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.001879/7.734, allocations: 1.71 MB / 3.393 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/7.735, allocations: 101.3 kB / 3.393 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/7.735, allocations: 188.4 kB / 3.393 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/7.735, allocations: 34.56 kB / 3.393 GB, free: 183.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 3.056e-06/7.735, allocations: 0 / 3.393 GB, free: 183.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007651/7.736, allocations: 236.4 kB / 3.393 GB, free: 183.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/7.736, allocations: 54.97 kB / 3.393 GB, free: 183.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/7.736, allocations: 277 kB / 3.394 GB, free: 183 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/7.736, allocations: 29.64 kB / 3.394 GB, free: 182.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/7.736, allocations: 207.1 kB / 3.394 GB, free: 182.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/7.736, allocations: 35.17 kB / 3.394 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/7.736, allocations: 7.875 kB / 3.394 GB, free: 182.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/7.737, allocations: 346.3 kB / 3.394 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/7.737, allocations: 58.42 kB / 3.394 GB, free: 182.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/7.737, allocations: 205.4 kB / 3.394 GB, free: 182.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/7.737, allocations: 90.02 kB / 3.394 GB, free: 182.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/7.737, allocations: 0 / 3.394 GB, free: 182.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004702/7.738, allocations: 262 kB / 3.395 GB, free: 181.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003373/7.738, allocations: 1.391 MB / 3.396 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/7.738, allocations: 3.375 kB / 3.396 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/7.738, allocations: 7.266 kB / 3.396 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/7.738, allocations: 56.09 kB / 3.396 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/7.738, allocations: 6.094 kB / 3.396 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/7.739, allocations: 47.81 kB / 3.396 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/7.739, allocations: 15.53 kB / 3.396 GB, free: 180.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/7.739, allocations: 5.5 kB / 3.396 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003813/7.739, allocations: 197.5 kB / 3.396 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/7.739, allocations: 8.719 kB / 3.396 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/7.739, allocations: 10.66 kB / 3.396 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/7.739, allocations: 51.72 kB / 3.396 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/7.739, allocations: 11.47 kB / 3.397 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/7.74, allocations: 31.62 kB / 3.397 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/7.74, allocations: 15.34 kB / 3.397 GB, free: 180.3 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 () * 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.0002169/7.74, allocations: 241.6 kB / 3.397 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/7.74, allocations: 35.53 kB / 3.397 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/7.74, allocations: 178.1 kB / 3.397 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/7.74, allocations: 11.92 kB / 3.397 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/7.74, allocations: 0 / 3.397 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/7.74, allocations: 0 / 3.397 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009789/7.741, allocations: 0.6135 MB / 3.398 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/7.741, allocations: 3.469 kB / 3.398 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/7.742, allocations: 26.67 kB / 3.398 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/7.742, allocations: 224 / 3.398 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/7.742, allocations: 11.22 kB / 3.398 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/7.742, allocations: 10.5 kB / 3.398 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/7.742, allocations: 7.344 kB / 3.398 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/7.742, allocations: 389.4 kB / 3.398 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/7.742, allocations: 120.2 kB / 3.398 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/7.742, allocations: 7.891 kB / 3.398 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/7.742, allocations: 23.39 kB / 3.398 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/7.743, allocations: 7.953 kB / 3.398 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/7.743, allocations: 7.781 kB / 3.398 GB, free: 178.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002215/7.743, allocations: 221.6 kB / 3.398 GB, free: 178.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.743, allocations: 0 / 3.398 GB, free: 178.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001161/7.744, allocations: 254.5 kB / 3.399 GB, free: 178.6 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 () * 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.002915/7.747, allocations: 2.574 MB / 3.401 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007708/7.748, allocations: 256.4 kB / 3.401 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/7.748, allocations: 0.875 kB / 3.401 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/7.748, allocations: 74.89 kB / 3.401 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/7.749, allocations: 128.8 kB / 3.402 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/7.752, allocations: 3.9 MB / 3.405 GB, free: 172.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/7.753, allocations: 0.7869 MB / 3.406 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003791/7.753, allocations: 85.62 kB / 3.406 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/7.753, allocations: 90.78 kB / 3.406 GB, free: 171.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/7.753, allocations: 4 kB / 3.406 GB, free: 171.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05076/7.804, allocations: 27.02 MB / 3.433 GB, free: 145.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/7.804, allocations: 207.6 kB / 3.433 GB, free: 145.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/10.85, allocations: 4 kB / 3.433 GB, free: 145.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)