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.001377/0.001377, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 195.6 kB / 16.64 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.668/1.668, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002131/0.002131, allocations: 68.44 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2409, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6438/0.8848, allocations: 169.5 MB / 0.9491 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009423/0.8943, allocations: 7.318 MB / 0.9563 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/0.8951, allocations: 12.81 kB / 0.9563 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.8958, allocations: 217.5 kB / 0.9565 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.8976, allocations: 0.5682 MB / 0.957 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.8991, allocations: 433.8 kB / 0.9574 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.9004, allocations: 0.7043 MB / 0.9581 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004808/0.9009, allocations: 269 kB / 0.9584 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/0.9018, allocations: 375.1 kB / 0.9587 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.9022, allocations: 220.3 kB / 0.959 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.9023, allocations: 19.06 kB / 0.959 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.9038, allocations: 0.6981 MB / 0.9597 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.904, allocations: 108.7 kB / 0.9598 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.9042, allocations: 163.3 kB / 0.9599 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009734/0.9052, allocations: 0.5761 MB / 0.9605 GB, free: 348 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9052, allocations: 0 / 0.9605 GB, free: 348 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9052, allocations: 1.094 kB / 0.9605 GB, free: 348 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.9052, allocations: 0 / 0.9605 GB, free: 348 kB / 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.0009728/0.9062, allocations: 0.6378 MB / 0.9611 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.9063, allocations: 9.156 kB / 0.9611 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.227e-05/0.9064, allocations: 58.23 kB / 0.9612 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.9068, allocations: 69.33 kB / 0.9612 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.9074, allocations: 320.8 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.9074, allocations: 20.34 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.9074, allocations: 26.62 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.908, allocations: 298.2 kB / 0.9619 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.908, allocations: 5.156 kB / 0.9619 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.9081, allocations: 15.64 kB / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.9081, allocations: 7.281 kB / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.9085, allocations: 170.7 kB / 0.9621 GB, free: 15.41 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.001926/0.9104, allocations: 1.697 MB / 0.9637 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.9107, allocations: 84.23 kB / 0.9638 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.9109, allocations: 79.34 kB / 0.9639 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.9112, allocations: 199 kB / 0.9641 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.9113, allocations: 38.06 kB / 0.9641 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.9113, allocations: 0 / 0.9641 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007299/0.912, allocations: 226.9 kB / 0.9643 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.9121, allocations: 53.94 kB / 0.9644 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.9125, allocations: 321.9 kB / 0.9647 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.9125, allocations: 31.69 kB / 0.9647 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.9127, allocations: 196.8 kB / 0.9649 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.9128, allocations: 36.27 kB / 0.9649 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.9129, allocations: 52.88 kB / 0.965 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.913, allocations: 341.3 kB / 0.9653 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.9132, allocations: 66.17 kB / 0.9654 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.9135, allocations: 195.7 kB / 0.9656 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.9139, allocations: 229.7 kB / 0.9658 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.9139, allocations: 1.594 kB / 0.9658 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005694/0.9145, allocations: 257.7 kB / 0.966 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.9145, allocations: 6.281 kB / 0.966 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.9146, allocations: 5.328 kB / 0.966 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.9146, allocations: 4.594 kB / 0.966 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.9148, allocations: 49.61 kB / 0.9661 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.9148, allocations: 8.531 kB / 0.9661 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.9151, allocations: 44.14 kB / 0.9661 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.9151, allocations: 10.53 kB / 0.9661 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002629/0.9154, allocations: 169.2 kB / 0.9663 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002652/0.9157, allocations: 195.4 kB / 0.9665 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003467/0.916, allocations: 231.2 kB / 0.9667 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.9161, allocations: 1.219 kB / 0.9667 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004468/0.9165, allocations: 248.7 kB / 0.9669 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.9165, allocations: 17.03 kB / 0.967 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9165, allocations: 4.469 kB / 0.967 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.577e-06/0.9166, allocations: 5.031 kB / 0.967 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.9167, allocations: 48.14 kB / 0.967 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.9167, allocations: 5.5 kB / 0.967 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.917, allocations: 29.39 kB / 0.9671 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.917, allocations: 13.66 kB / 0.9671 GB, free: 12.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.9172, allocations: 192.8 kB / 0.9673 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.9172, allocations: 32.81 kB / 0.9673 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.9176, allocations: 162.6 kB / 0.9674 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.9177, allocations: 1.344 kB / 0.9674 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.9177, allocations: 3.25 kB / 0.9674 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.9177, allocations: 7.719 kB / 0.9674 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.9187, allocations: 0.6138 MB / 0.968 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9187, allocations: 6.625 kB / 0.9681 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.9189, allocations: 23.23 kB / 0.9681 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.9189, allocations: 2.188 kB / 0.9681 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.9189, allocations: 6.281 kB / 0.9681 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.9189, allocations: 7.219 kB / 0.9681 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.9189, allocations: 6.094 kB / 0.9681 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.9194, allocations: 295.8 kB / 0.9684 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.9195, allocations: 120.4 kB / 0.9685 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.9195, allocations: 4.953 kB / 0.9685 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.9197, allocations: 12.34 kB / 0.9685 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.9198, allocations: 15.66 kB / 0.9685 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.9198, allocations: 9.219 kB / 0.9685 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002411/0.92, allocations: 223.2 kB / 0.9687 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.92, allocations: 0 / 0.9687 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006412/0.9207, allocations: 136.9 kB / 0.9689 GB, free: 11.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.9217, allocations: 0.9039 MB / 0.9698 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006442/0.9224, allocations: 246.9 kB / 0.97 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9224, allocations: 1.156 kB / 0.97 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.9226, allocations: 68.91 kB / 0.9701 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.9233, allocations: 123.7 kB / 0.9702 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.9269, allocations: 2.8 MB / 0.9729 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.9273, allocations: 0.7753 MB / 0.9737 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002984/0.9276, allocations: 90.06 kB / 0.9738 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.9277, allocations: 88.98 kB / 0.9738 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of SimCode: time 1.173e-06/0.9277, allocations: 0 / 0.9738 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.9754, allocations: 7.826 MB / 0.9815 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.927, allocations: 13.2 kB / 0.9815 GB, free: 5.102 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/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)