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.001099/0.001099, 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.00111/0.001111, allocations: 191.8 kB / 16.64 MB, free: 6.445 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001394/0.001395, allocations: 69.38 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2272, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5761/0.8033, allocations: 169.5 MB / 0.9491 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.8112, allocations: 7.32 MB / 0.9563 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006432/0.8119, allocations: 11.91 kB / 0.9563 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.8126, allocations: 215.1 kB / 0.9565 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.8142, allocations: 0.5733 MB / 0.957 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.8155, allocations: 430.5 kB / 0.9574 GB, free: 268 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.8165, allocations: 0.7035 MB / 0.9581 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.8169, allocations: 268.8 kB / 0.9584 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.8177, allocations: 378.1 kB / 0.9588 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.818, allocations: 220.7 kB / 0.959 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.8181, allocations: 19.5 kB / 0.959 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.8193, allocations: 0.6983 MB / 0.9597 GB, free: 0 / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.8195, allocations: 112.4 kB / 0.9598 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.8197, allocations: 158.5 kB / 0.9599 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009589/0.8207, allocations: 0.5748 MB / 0.9605 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8207, allocations: 0 / 0.9605 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8207, allocations: 0 / 0.9605 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.8207, allocations: 0 / 0.9605 GB, free: 15.94 MB / 0.7325 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.0009298/0.8216, allocations: 0.6384 MB / 0.9611 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8217, allocations: 13.97 kB / 0.9611 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.8218, allocations: 59.03 kB / 0.9612 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.8221, allocations: 64.45 kB / 0.9612 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.8226, allocations: 322.2 kB / 0.9615 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.8226, allocations: 20.59 kB / 0.9616 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.8227, allocations: 23.94 kB / 0.9616 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.8231, allocations: 300.6 kB / 0.9619 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8232, allocations: 7.875 kB / 0.9619 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.8232, allocations: 14.83 kB / 0.9619 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.8232, allocations: 6.562 kB / 0.9619 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.8236, allocations: 174 kB / 0.9621 GB, free: 15 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.001645/0.8252, allocations: 1.695 MB / 0.9637 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.8255, allocations: 84.3 kB / 0.9638 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.8256, allocations: 83.06 kB / 0.9639 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.8259, allocations: 190.9 kB / 0.9641 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.826, allocations: 39.19 kB / 0.9641 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.955e-06/0.826, allocations: 0 / 0.9641 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006523/0.8266, allocations: 223.6 kB / 0.9643 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.8267, allocations: 53.09 kB / 0.9644 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.827, allocations: 320.8 kB / 0.9647 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.827, allocations: 32.64 kB / 0.9647 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.8271, allocations: 193.8 kB / 0.9649 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.8272, allocations: 39.7 kB / 0.9649 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.8273, allocations: 57.14 kB / 0.965 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8274, allocations: 336.4 kB / 0.9653 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.8276, allocations: 65.95 kB / 0.9654 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.8278, allocations: 190.3 kB / 0.9655 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.8281, allocations: 237.1 kB / 0.9658 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.8282, allocations: 3.375 kB / 0.9658 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004662/0.8286, allocations: 257.1 kB / 0.966 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8287, allocations: 7.688 kB / 0.966 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8287, allocations: 3.219 kB / 0.966 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.8287, allocations: 5.688 kB / 0.966 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.8289, allocations: 49.56 kB / 0.9661 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.8289, allocations: 11.31 kB / 0.9661 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.8292, allocations: 38.02 kB / 0.9661 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.8292, allocations: 9.906 kB / 0.9661 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002161/0.8294, allocations: 169 kB / 0.9663 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002361/0.8297, allocations: 195.8 kB / 0.9665 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003334/0.83, allocations: 227.5 kB / 0.9667 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.83, allocations: 2.359 kB / 0.9667 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004514/0.8305, allocations: 251.2 kB / 0.9669 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.8305, allocations: 11.28 kB / 0.967 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8305, allocations: 2.688 kB / 0.967 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.8305, allocations: 5.469 kB / 0.967 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.8307, allocations: 49.45 kB / 0.967 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.8307, allocations: 7.344 kB / 0.967 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.8309, allocations: 28.77 kB / 0.967 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.831, allocations: 10.94 kB / 0.9671 GB, free: 11.77 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.0001224/0.8311, allocations: 197.5 kB / 0.9672 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.8312, allocations: 32.69 kB / 0.9673 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.8315, allocations: 171.4 kB / 0.9674 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.8316, allocations: 11.11 kB / 0.9675 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8316, allocations: 2.266 kB / 0.9675 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8316, allocations: 0 / 0.9675 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.8325, allocations: 0.6097 MB / 0.968 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8325, allocations: 4.797 kB / 0.9681 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.8327, allocations: 21.78 kB / 0.9681 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8327, allocations: 2.75 kB / 0.9681 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.8327, allocations: 7.906 kB / 0.9681 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8327, allocations: 6.188 kB / 0.9681 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8327, allocations: 7.125 kB / 0.9681 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.8331, allocations: 301.7 kB / 0.9684 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.8332, allocations: 115.9 kB / 0.9685 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.8333, allocations: 4.547 kB / 0.9685 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.8334, allocations: 10.06 kB / 0.9685 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.8335, allocations: 16.25 kB / 0.9685 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8335, allocations: 5.156 kB / 0.9685 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002254/0.8337, allocations: 232 kB / 0.9688 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8337, allocations: 0 / 0.9688 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006154/0.8344, allocations: 134.5 kB / 0.9689 GB, free: 10.71 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.0009839/0.8354, allocations: 0.9011 MB / 0.9698 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.836, allocations: 243 kB / 0.97 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.836, allocations: 2.5 kB / 0.97 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.8362, allocations: 73.3 kB / 0.9701 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.837, allocations: 127 kB / 0.9702 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.8406, allocations: 2.797 MB / 0.9729 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.841, allocations: 0.7746 MB / 0.9737 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002873/0.8413, allocations: 82.2 kB / 0.9738 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.8414, allocations: 90.55 kB / 0.9738 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.8414, allocations: 4 kB / 0.9738 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.8677, allocations: 7.837 MB / 0.9815 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.71, allocations: 3.062 kB / 0.9815 GB, free: 4.684 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)