Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00119/0.00119, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001365/0.001365, allocations: 177.3 kB / 15.95 MB, free: 216 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.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5786/0.5786, allocations: 95.58 MB / 366 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005981/0.0005982, allocations: 24 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3111, allocations: 70.32 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.4448/0.756, allocations: 150.1 MB / 0.6516 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007081/0.7631, allocations: 6.408 MB / 0.6578 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006807/0.7638, allocations: 13.59 kB / 0.6578 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009471/0.7648, allocations: 220.7 kB / 0.658 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.7667, allocations: 0.5342 MB / 0.6586 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.7688, allocations: 0.7411 MB / 0.6593 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.7703, allocations: 0.6412 MB / 0.6599 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.771, allocations: 299.5 kB / 0.6602 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/0.772, allocations: 399.4 kB / 0.6606 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.7724, allocations: 242.3 kB / 0.6608 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.7725, allocations: 20.2 kB / 0.6608 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.7741, allocations: 0.5932 MB / 0.6614 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.7743, allocations: 152 kB / 0.6616 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.7744, allocations: 128.8 kB / 0.6617 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.7754, allocations: 0.7358 MB / 0.6624 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7754, allocations: 0 / 0.6624 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7754, allocations: 0 / 0.6624 GB, free: 1.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.7754, allocations: 0 / 0.6624 GB, free: 1.258 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001551/0.777, allocations: 0.8003 MB / 0.6632 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.777, allocations: 16.08 kB / 0.6632 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.7773, allocations: 61.03 kB / 0.6632 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.7779, allocations: 386.7 kB / 0.6636 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.7779, allocations: 27.69 kB / 0.6636 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.7779, allocations: 37.64 kB / 0.6637 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/0.7787, allocations: 0.5029 MB / 0.6642 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7787, allocations: 4.766 kB / 0.6642 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.7788, allocations: 18.41 kB / 0.6642 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.7788, allocations: 8.906 kB / 0.6642 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.7795, allocations: 446.4 kB / 0.6646 GB, free: 16.28 MB / 0.4981 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.002787/0.7823, allocations: 2.454 MB / 0.667 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.7827, allocations: 146 kB / 0.6672 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.7829, allocations: 349.5 kB / 0.6675 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.783, allocations: 35.2 kB / 0.6675 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.783, allocations: 0 / 0.6675 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006466/0.7836, allocations: 261.4 kB / 0.6678 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.7837, allocations: 58.02 kB / 0.6678 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.7842, allocations: 0.5452 MB / 0.6684 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.7842, allocations: 32.64 kB / 0.6684 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.7844, allocations: 284.7 kB / 0.6687 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.7844, allocations: 50.38 kB / 0.6687 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.7844, allocations: 3.25 kB / 0.6687 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7846, allocations: 355.2 kB / 0.6691 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.7848, allocations: 116.5 kB / 0.6692 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.785, allocations: 245.6 kB / 0.6694 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.7853, allocations: 155.2 kB / 0.6696 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7853, allocations: 3.031 kB / 0.6696 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006491/0.786, allocations: 438.5 kB / 0.67 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005432/0.7865, allocations: 1.745 MB / 0.6717 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7865, allocations: 5.719 kB / 0.6717 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.7866, allocations: 5.219 kB / 0.6717 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.7869, allocations: 87.78 kB / 0.6718 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7869, allocations: 10.91 kB / 0.6718 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.7874, allocations: 65.77 kB / 0.6718 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.7874, allocations: 22.81 kB / 0.6719 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.7874, allocations: 5.188 kB / 0.6719 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005584/0.788, allocations: 368.4 kB / 0.6722 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.788, allocations: 6.781 kB / 0.6722 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.788, allocations: 8.125 kB / 0.6722 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.7884, allocations: 88.64 kB / 0.6723 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.7884, allocations: 12.22 kB / 0.6723 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.7887, allocations: 57.61 kB / 0.6724 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.7888, allocations: 23.56 kB / 0.6724 GB, free: 11.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (42): * Single equations (assignments): 42 * 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.0002186/0.789, allocations: 253.3 kB / 0.6727 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.7891, allocations: 48.03 kB / 0.6727 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.7895, allocations: 233.9 kB / 0.6729 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7896, allocations: 7.953 kB / 0.6729 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7896, allocations: 0 / 0.6729 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7896, allocations: 1.656 kB / 0.6729 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.7899, allocations: 376.3 kB / 0.6733 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.79, allocations: 1.875 kB / 0.6733 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.7901, allocations: 26.02 kB / 0.6733 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7901, allocations: 0 / 0.6733 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.7901, allocations: 8.266 kB / 0.6733 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.7901, allocations: 3.188 kB / 0.6733 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7901, allocations: 3.953 kB / 0.6733 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.7905, allocations: 300.4 kB / 0.6736 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.7907, allocations: 161.1 kB / 0.6738 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.7908, allocations: 5.672 kB / 0.6738 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.7912, allocations: 24.05 kB / 0.6738 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.7912, allocations: 8.812 kB / 0.6738 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.7913, allocations: 21.67 kB / 0.6738 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003682/0.7916, allocations: 383.7 kB / 0.6742 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7916, allocations: 3.312 kB / 0.6742 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009238/0.7926, allocations: 340.4 kB / 0.6745 GB, free: 10.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0006502/0.7932, allocations: 326.2 kB / 0.6748 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007411/0.794, allocations: 432.8 kB / 0.6752 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.794, allocations: 0 / 0.6752 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.7941, allocations: 74 kB / 0.6753 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/0.7952, allocations: 225.2 kB / 0.6755 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.7961, allocations: 0.8212 MB / 0.6763 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.7965, allocations: 0.8403 MB / 0.6772 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000451/0.797, allocations: 124.5 kB / 0.6773 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.797, allocations: 38.56 kB / 0.6773 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.797, allocations: 0 / 0.6773 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of Templates: time 0.01541/0.8125, allocations: 10.2 MB / 0.6873 GB, free: 4.805 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: