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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001208/0.001208, allocations: 192.9 kB / 16.13 MB, free: 6.699 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.508/1.508, allocations: 205.1 MB / 222 MB, free: 4.766 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.5761/0.5761, allocations: 95.47 MB / 364.8 MB, free: 10.07 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.001358/0.001358, allocations: 68.52 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2894, allocations: 69.08 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5516/0.841, allocations: 185.9 MB / 0.6833 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009951/0.851, allocations: 8.906 MB / 0.692 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009765/0.852, allocations: 15.34 kB / 0.692 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009731/0.8531, allocations: 256.2 kB / 0.6922 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.8546, allocations: 490.6 kB / 0.6927 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.8591, allocations: 1.142 MB / 0.6938 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.8617, allocations: 1.582 MB / 0.6953 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.8624, allocations: 325.8 kB / 0.6956 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.8635, allocations: 413.9 kB / 0.696 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000495/0.864, allocations: 380 kB / 0.6964 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.864, allocations: 26.19 kB / 0.6964 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.8672, allocations: 1.399 MB / 0.6978 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.8675, allocations: 177.2 kB / 0.698 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.8678, allocations: 257.5 kB / 0.6982 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.8709, allocations: 1.401 MB / 0.6996 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.8709, allocations: 0 / 0.6996 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8709, allocations: 0 / 0.6996 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8709, allocations: 0 / 0.6996 GB, free: 6.582 MB / 0.4981 GB 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.001722/0.8726, allocations: 0.9516 MB / 0.7005 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8727, allocations: 13.58 kB / 0.7005 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.873, allocations: 64.44 kB / 0.7006 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.8735, allocations: 402.8 kB / 0.701 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.8736, allocations: 26.81 kB / 0.701 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.8736, allocations: 36.22 kB / 0.701 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.8746, allocations: 0.5051 MB / 0.7015 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8746, allocations: 0 / 0.7015 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.8746, allocations: 15.44 kB / 0.7015 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.8747, allocations: 14.12 kB / 0.7015 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.8754, allocations: 436.6 kB / 0.702 GB, free: 5.234 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.003102/0.8786, allocations: 2.432 MB / 0.7043 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.879, allocations: 148.6 kB / 0.7045 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.8791, allocations: 69.41 kB / 0.7045 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.8794, allocations: 349.7 kB / 0.7049 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.8795, allocations: 37.09 kB / 0.7049 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.8795, allocations: 3.938 kB / 0.7049 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007309/0.8802, allocations: 254.5 kB / 0.7052 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.8803, allocations: 54.5 kB / 0.7052 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.8808, allocations: 0.5435 MB / 0.7057 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.8809, allocations: 32.67 kB / 0.7058 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.8811, allocations: 288.1 kB / 0.7061 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.8811, allocations: 47.86 kB / 0.7061 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.8812, allocations: 76.25 kB / 0.7062 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8814, allocations: 352.5 kB / 0.7065 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.8816, allocations: 124.6 kB / 0.7066 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.882, allocations: 248.1 kB / 0.7069 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.8826, allocations: 343.5 kB / 0.7072 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8827, allocations: 7.125 kB / 0.7072 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001013/0.8837, allocations: 431.2 kB / 0.7076 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8837, allocations: 11.59 kB / 0.7076 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.8837, allocations: 8.594 kB / 0.7076 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.8838, allocations: 5.406 kB / 0.7076 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.8841, allocations: 82.33 kB / 0.7077 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.8842, allocations: 13.48 kB / 0.7077 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.8846, allocations: 62.2 kB / 0.7078 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.8847, allocations: 22.7 kB / 0.7078 GB, free: 432 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003528/0.885, allocations: 251.2 kB / 0.708 GB, free: 260 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002888/0.8853, allocations: 244.8 kB / 0.7083 GB, free: 24 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004838/0.8858, allocations: 343.9 kB / 0.7086 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.8858, allocations: 0 / 0.7086 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007359/0.8866, allocations: 426.3 kB / 0.709 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.8866, allocations: 7.781 kB / 0.709 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8866, allocations: 4.906 kB / 0.709 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.8866, allocations: 13.22 kB / 0.709 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.887, allocations: 87.08 kB / 0.7091 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.887, allocations: 11.36 kB / 0.7091 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.8874, allocations: 38.89 kB / 0.7092 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.8874, allocations: 12.72 kB / 0.7092 GB, free: 15.46 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.8876, allocations: 211.5 kB / 0.7094 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.8877, allocations: 48.53 kB / 0.7094 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.8882, allocations: 214.8 kB / 0.7096 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8883, allocations: 2.531 kB / 0.7096 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8883, allocations: 4 kB / 0.7096 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.8883, allocations: 7.922 kB / 0.7096 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.8887, allocations: 381.3 kB / 0.71 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8887, allocations: 0 / 0.71 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.8889, allocations: 31.84 kB / 0.71 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.8889, allocations: 2.312 kB / 0.71 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.8889, allocations: 7.938 kB / 0.7101 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8889, allocations: 2.875 kB / 0.7101 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8889, allocations: 0 / 0.7101 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.8893, allocations: 288.7 kB / 0.7103 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.8895, allocations: 143.2 kB / 0.7105 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.8896, allocations: 14.81 kB / 0.7105 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.8899, allocations: 17.66 kB / 0.7105 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.89, allocations: 13.67 kB / 0.7105 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.89, allocations: 15.33 kB / 0.7105 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004488/0.8905, allocations: 388.6 kB / 0.7109 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8905, allocations: 0 / 0.7109 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001235/0.8917, allocations: 344.3 kB / 0.7112 GB, free: 14.05 MB / 0.5137 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 (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.0008178/0.8926, allocations: 319.8 kB / 0.7115 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009292/0.8935, allocations: 421.7 kB / 0.7119 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.8935, allocations: 7.812 kB / 0.7119 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.8937, allocations: 74.17 kB / 0.712 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.8948, allocations: 222.3 kB / 0.7122 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.8959, allocations: 0.8312 MB / 0.713 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.8963, allocations: 0.8258 MB / 0.7138 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005068/0.8968, allocations: 125.7 kB / 0.714 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.138e-05/0.8969, allocations: 45.45 kB / 0.714 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of SimCode: time 4.6e-07/0.8969, allocations: 0 / 0.714 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.01829/0.9152, allocations: 10.48 MB / 0.7242 GB, free: 2.516 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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)