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: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 101.9 kB / 16.36 MB, free: 6.301 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.001114/0.001114, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.455/1.455, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.782/1.782, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001407/0.001407, allocations: 75.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2419, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6249/0.8669, allocations: 169.5 MB / 0.9503 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009024/0.8759, allocations: 7.309 MB / 0.9574 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.8767, allocations: 11.94 kB / 0.9574 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.8776, allocations: 218.6 kB / 0.9576 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.8793, allocations: 0.5798 MB / 0.9582 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.8806, allocations: 433.4 kB / 0.9586 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009486/0.8816, allocations: 0.709 MB / 0.9593 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.882, allocations: 263.1 kB / 0.9595 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007179/0.8827, allocations: 378.5 kB / 0.9599 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.883, allocations: 219.1 kB / 0.9601 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.8831, allocations: 16 kB / 0.9601 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.8843, allocations: 0.7054 MB / 0.9608 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.8844, allocations: 107.7 kB / 0.9609 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.8846, allocations: 159.2 kB / 0.9611 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.8855, allocations: 0.5726 MB / 0.9616 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.8855, allocations: 2.062 kB / 0.9616 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8855, allocations: 0 / 0.9616 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.8855, allocations: 0 / 0.9616 GB, free: 4.953 MB / 0.7481 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.001026/0.8865, allocations: 0.6455 MB / 0.9623 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.8866, allocations: 11.97 kB / 0.9623 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.887, allocations: 71.42 kB / 0.9623 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.8874, allocations: 314.1 kB / 0.9626 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.8875, allocations: 21.69 kB / 0.9627 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.8875, allocations: 20 kB / 0.9627 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.888, allocations: 300.6 kB / 0.963 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.8881, allocations: 7.938 kB / 0.963 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.8881, allocations: 11.94 kB / 0.963 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.8881, allocations: 8 kB / 0.963 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.8885, allocations: 176.7 kB / 0.9632 GB, free: 3.266 MB / 0.7481 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.001726/0.8902, allocations: 1.69 MB / 0.9648 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.8905, allocations: 90.45 kB / 0.9649 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.8907, allocations: 84.89 kB / 0.965 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.891, allocations: 186.1 kB / 0.9652 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.891, allocations: 34.56 kB / 0.9652 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.891, allocations: 0 / 0.9652 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0006842/0.8917, allocations: 226.3 kB / 0.9654 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.8918, allocations: 55.34 kB / 0.9655 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.8921, allocations: 322.5 kB / 0.9658 GB, free: 400 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.8922, allocations: 29.7 kB / 0.9658 GB, free: 364 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.8923, allocations: 203.8 kB / 0.966 GB, free: 156 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.8923, allocations: 31.47 kB / 0.966 GB, free: 124 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/0.8924, allocations: 57.61 kB / 0.9661 GB, free: 60 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.8926, allocations: 342.8 kB / 0.9664 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.8928, allocations: 52.83 kB / 0.9664 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.893, allocations: 195.1 kB / 0.9666 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.8934, allocations: 238.9 kB / 0.9669 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8934, allocations: 0 / 0.9669 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004676/0.8939, allocations: 252.9 kB / 0.9671 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.8939, allocations: 8.781 kB / 0.9671 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8939, allocations: 4 kB / 0.9671 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.894, allocations: 4 kB / 0.9671 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.8942, allocations: 47.91 kB / 0.9672 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.8942, allocations: 8.344 kB / 0.9672 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.8944, allocations: 39.67 kB / 0.9672 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.8945, allocations: 19.94 kB / 0.9672 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000237/0.8947, allocations: 166.9 kB / 0.9674 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002521/0.895, allocations: 190.3 kB / 0.9676 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003608/0.8954, allocations: 245.5 kB / 0.9678 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.8954, allocations: 5.406 kB / 0.9678 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004516/0.8958, allocations: 244.9 kB / 0.968 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.8958, allocations: 7.938 kB / 0.9681 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.8959, allocations: 4 kB / 0.9681 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/0.8959, allocations: 4 kB / 0.9681 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.896, allocations: 53.16 kB / 0.9681 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8961, allocations: 8.344 kB / 0.9681 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.8963, allocations: 35.83 kB / 0.9682 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.8963, allocations: 11.98 kB / 0.9682 GB, free: 13.68 MB / 0.7637 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.0001307/0.8965, allocations: 196.2 kB / 0.9684 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.8965, allocations: 27.66 kB / 0.9684 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.8969, allocations: 163.4 kB / 0.9685 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8969, allocations: 8 kB / 0.9685 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8969, allocations: 3.938 kB / 0.9685 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8969, allocations: 0 / 0.9685 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.8979, allocations: 0.6139 MB / 0.9691 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.8979, allocations: 2.312 kB / 0.9691 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.898, allocations: 31.92 kB / 0.9692 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.898, allocations: 4 kB / 0.9692 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.8981, allocations: 0 / 0.9692 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.8981, allocations: 4 kB / 0.9692 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8981, allocations: 3.938 kB / 0.9692 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.8985, allocations: 297.4 kB / 0.9695 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.8986, allocations: 121.9 kB / 0.9696 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.8986, allocations: 4 kB / 0.9696 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.8988, allocations: 7.984 kB / 0.9696 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.8989, allocations: 23.86 kB / 0.9696 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.8989, allocations: 4 kB / 0.9696 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002297/0.8991, allocations: 227 kB / 0.9698 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8991, allocations: 7.938 kB / 0.9699 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005422/0.8997, allocations: 123.8 kB / 0.97 GB, free: 11.69 MB / 0.7637 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.0004534/0.9002, allocations: 168 kB / 0.9701 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.9007, allocations: 245 kB / 0.9704 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9008, allocations: 0 / 0.9704 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.9009, allocations: 67.83 kB / 0.9704 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.9017, allocations: 120.1 kB / 0.9705 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.9025, allocations: 0.536 MB / 0.9711 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.9029, allocations: 0.7756 MB / 0.9718 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.903, allocations: 23.44 kB / 0.9718 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of SimCode: time 2.5e-07/0.903, allocations: 4 kB / 0.9718 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of Templates: time 0.00728/0.9103, allocations: 4.452 MB / 0.9762 GB, free: 5.371 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)