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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 86.48 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005484/0.0005485, allocations: 12.72 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2466, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8346/1.081, allocations: 154 MB / 0.9378 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008892/1.09, allocations: 6.761 MB / 0.9444 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005977/1.091, allocations: 11.06 kB / 0.9444 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008395/1.092, allocations: 147.6 kB / 0.9445 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/1.094, allocations: 444.1 kB / 0.9449 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/1.095, allocations: 357.8 kB / 0.9453 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001641/1.097, allocations: 0.8632 MB / 0.9461 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004916/1.097, allocations: 194.8 kB / 0.9463 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008759/1.098, allocations: 319.5 kB / 0.9466 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/1.099, allocations: 206.8 kB / 0.9468 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/1.099, allocations: 11.91 kB / 0.9468 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/1.1, allocations: 0.5296 MB / 0.9473 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/1.1, allocations: 99.09 kB / 0.9474 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/1.1, allocations: 86.7 kB / 0.9475 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007269/1.101, allocations: 386.9 kB / 0.9479 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.101, allocations: 0.7188 kB / 0.9479 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/1.101, allocations: 0 / 0.9479 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.101, allocations: 0 / 0.9479 GB, free: 4.801 MB / 0.7169 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.001343/1.103, allocations: 0.5903 MB / 0.9485 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/1.103, allocations: 13.41 kB / 0.9485 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.674e-05/1.103, allocations: 54.98 kB / 0.9485 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004785/1.103, allocations: 61.45 kB / 0.9486 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/1.104, allocations: 296.4 kB / 0.9489 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/1.104, allocations: 19.09 kB / 0.9489 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/1.104, allocations: 22.06 kB / 0.9489 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/1.104, allocations: 310.8 kB / 0.9492 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/1.104, allocations: 5.219 kB / 0.9492 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/1.105, allocations: 9.156 kB / 0.9492 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/1.105, allocations: 9.547 kB / 0.9492 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/1.105, allocations: 184.2 kB / 0.9494 GB, free: 19.88 MB / 0.7325 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.001958/1.107, allocations: 1.711 MB / 0.9511 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/1.107, allocations: 93.81 kB / 0.9512 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/1.108, allocations: 88.28 kB / 0.9513 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/1.108, allocations: 181.6 kB / 0.9514 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.108, allocations: 40.81 kB / 0.9515 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/1.108, allocations: 0 / 0.9515 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007369/1.109, allocations: 235.2 kB / 0.9517 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.109, allocations: 61.28 kB / 0.9517 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/1.109, allocations: 326 kB / 0.9521 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/1.109, allocations: 27.36 kB / 0.9521 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/1.109, allocations: 195.7 kB / 0.9523 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/1.109, allocations: 41.62 kB / 0.9523 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/1.109, allocations: 1.344 kB / 0.9523 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.11, allocations: 338.9 kB / 0.9526 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/1.11, allocations: 58.42 kB / 0.9527 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/1.11, allocations: 201.2 kB / 0.9529 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/1.11, allocations: 90.66 kB / 0.953 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.11, allocations: 1.25 kB / 0.953 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004939/1.111, allocations: 260.5 kB / 0.9532 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.111, allocations: 196 kB / 0.9534 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.111, allocations: 3.531 kB / 0.9534 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.111, allocations: 5.344 kB / 0.9534 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/1.111, allocations: 51.27 kB / 0.9535 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/1.111, allocations: 13.56 kB / 0.9535 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/1.111, allocations: 45.59 kB / 0.9535 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.111, allocations: 14.44 kB / 0.9535 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/1.111, allocations: 2.875 kB / 0.9535 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004047/1.112, allocations: 207 kB / 0.9537 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.112, allocations: 2.938 kB / 0.9537 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/1.112, allocations: 9.594 kB / 0.9537 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.112, allocations: 47.81 kB / 0.9538 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.112, allocations: 13.23 kB / 0.9538 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/1.112, allocations: 35.3 kB / 0.9538 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/1.112, allocations: 14.16 kB / 0.9538 GB, free: 17.03 MB / 0.7325 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.0001951/1.112, allocations: 232.7 kB / 0.9541 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/1.113, allocations: 33.59 kB / 0.9541 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/1.113, allocations: 180.2 kB / 0.9543 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.113, allocations: 3.047 kB / 0.9543 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.113, allocations: 7.953 kB / 0.9543 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.113, allocations: 4.469 kB / 0.9543 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009764/1.114, allocations: 0.6158 MB / 0.9549 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.114, allocations: 2.469 kB / 0.9549 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/1.114, allocations: 26.95 kB / 0.9549 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.114, allocations: 7.047 kB / 0.9549 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/1.114, allocations: 7.859 kB / 0.9549 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.114, allocations: 1.938 kB / 0.9549 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.114, allocations: 6.219 kB / 0.9549 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/1.115, allocations: 302.9 kB / 0.9552 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.115, allocations: 126.9 kB / 0.9554 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/1.115, allocations: 2.938 kB / 0.9554 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/1.115, allocations: 22.31 kB / 0.9554 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/1.115, allocations: 13.61 kB / 0.9554 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/1.115, allocations: 3.719 kB / 0.9554 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002603/1.115, allocations: 223.2 kB / 0.9556 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 1.469 kB / 0.9556 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006952/1.116, allocations: 142.2 kB / 0.9557 GB, free: 15.95 MB / 0.7325 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.001222/1.117, allocations: 0.9008 MB / 0.9566 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006804/1.118, allocations: 266.7 kB / 0.9569 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.118, allocations: 0 / 0.9569 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.118, allocations: 64.14 kB / 0.9569 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/1.119, allocations: 143.5 kB / 0.9571 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/1.122, allocations: 1.641 MB / 0.9587 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/1.122, allocations: 0.7774 MB / 0.9594 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003294/1.123, allocations: 85.55 kB / 0.9595 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.123, allocations: 90.59 kB / 0.9596 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/1.123, allocations: 3.938 kB / 0.9596 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/1.146, allocations: 7.506 MB / 0.9669 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/1.147, allocations: 208.4 kB / 0.9671 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/3.175, allocations: 0 / 0.9671 GB, free: 12.56 MB / 0.7325 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) Environment - environmentSimulation: