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.001159/0.00116, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01047/0.01047, allocations: 170 kB / 16.26 MB, free: 6.613 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.751/1.751, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.6331/0.6331, allocations: 95.63 MB / 366.4 MB, free: 10.27 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.0007587/0.0007587, allocations: 16.52 kB / 447.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3979, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5425/0.9405, allocations: 183.4 MB / 0.6848 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.9507, allocations: 8.784 MB / 0.6933 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.9519, allocations: 11.94 kB / 0.6933 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.9532, allocations: 252.8 kB / 0.6936 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.9548, allocations: 495.4 kB / 0.6941 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.9587, allocations: 1.123 MB / 0.6952 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002444/0.9612, allocations: 1.586 MB / 0.6967 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009014/0.9621, allocations: 316.3 kB / 0.697 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.9636, allocations: 417.5 kB / 0.6974 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.9646, allocations: 372.5 kB / 0.6978 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.9648, allocations: 19.97 kB / 0.6978 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.968, allocations: 1.394 MB / 0.6991 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.9684, allocations: 173.5 kB / 0.6993 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005927/0.969, allocations: 283.7 kB / 0.6996 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.9719, allocations: 1.387 MB / 0.7009 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.972, allocations: 2.562 kB / 0.7009 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.972, allocations: 0 / 0.7009 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.972, allocations: 4 kB / 0.7009 GB, free: 6.531 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.001975/0.974, allocations: 0.8422 MB / 0.7018 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9741, allocations: 16.48 kB / 0.7018 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/0.9744, allocations: 64.03 kB / 0.7018 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.9751, allocations: 398.9 kB / 0.7022 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.9751, allocations: 25.81 kB / 0.7022 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.9752, allocations: 39.45 kB / 0.7023 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.9762, allocations: 0.5157 MB / 0.7028 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.9762, allocations: 0 / 0.7028 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.9763, allocations: 19.88 kB / 0.7028 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.9763, allocations: 12.34 kB / 0.7028 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.9772, allocations: 448.6 kB / 0.7032 GB, free: 5.211 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.003386/0.9806, allocations: 2.456 MB / 0.7056 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.981, allocations: 148.6 kB / 0.7058 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.9812, allocations: 69.83 kB / 0.7058 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.9815, allocations: 349.1 kB / 0.7062 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.9815, allocations: 39.2 kB / 0.7062 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.9815, allocations: 4 kB / 0.7062 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007735/0.9823, allocations: 261.5 kB / 0.7065 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.9824, allocations: 58.47 kB / 0.7065 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005887/0.983, allocations: 0.5459 MB / 0.7071 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.983, allocations: 28.64 kB / 0.7071 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.9832, allocations: 282.5 kB / 0.7074 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.9832, allocations: 50.5 kB / 0.7074 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.9833, allocations: 35.45 kB / 0.7074 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9834, allocations: 351.4 kB / 0.7078 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.9837, allocations: 119.4 kB / 0.7079 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.984, allocations: 249.9 kB / 0.7081 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.9845, allocations: 366.7 kB / 0.7085 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9845, allocations: 0 / 0.7085 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007167/0.9853, allocations: 436.4 kB / 0.7089 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.9854, allocations: 219.5 kB / 0.7091 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9854, allocations: 4.562 kB / 0.7091 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9854, allocations: 12.72 kB / 0.7091 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.9858, allocations: 87.02 kB / 0.7092 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.9858, allocations: 5.125 kB / 0.7092 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.9863, allocations: 74.16 kB / 0.7093 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.9863, allocations: 19.58 kB / 0.7093 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.9863, allocations: 4.938 kB / 0.7093 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006187/0.9869, allocations: 373.5 kB / 0.7097 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.987, allocations: 5.844 kB / 0.7097 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.987, allocations: 4.594 kB / 0.7097 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.9873, allocations: 79.36 kB / 0.7097 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.9873, allocations: 16.59 kB / 0.7098 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.9877, allocations: 58.08 kB / 0.7098 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.9877, allocations: 17.75 kB / 0.7098 GB, free: 0.832 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.988, allocations: 260.3 kB / 0.7101 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.9881, allocations: 48.09 kB / 0.7101 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.9886, allocations: 231.1 kB / 0.7103 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.9886, allocations: 7.281 kB / 0.7103 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9886, allocations: 96 / 0.7103 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9886, allocations: 7.984 kB / 0.7104 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.989, allocations: 380.6 kB / 0.7107 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9891, allocations: 0 / 0.7107 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.9892, allocations: 32.8 kB / 0.7107 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9892, allocations: 0 / 0.7107 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.9892, allocations: 5.812 kB / 0.7108 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.9892, allocations: 7 kB / 0.7108 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9892, allocations: 0 / 0.7108 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.9897, allocations: 302 kB / 0.711 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.9899, allocations: 159.6 kB / 0.7112 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.9899, allocations: 6.969 kB / 0.7112 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.9903, allocations: 22.86 kB / 0.7112 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.9904, allocations: 9.547 kB / 0.7112 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.9904, allocations: 16.42 kB / 0.7113 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004017/0.9908, allocations: 393.4 kB / 0.7116 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9908, allocations: 0 / 0.7116 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009416/0.9918, allocations: 342.6 kB / 0.712 GB, free: 15.58 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.000737/0.9925, allocations: 326.2 kB / 0.7123 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008163/0.9933, allocations: 436.7 kB / 0.7127 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9933, allocations: 0 / 0.7127 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.9935, allocations: 71.66 kB / 0.7128 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.9947, allocations: 232.3 kB / 0.713 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.9957, allocations: 0.8621 MB / 0.7138 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.9961, allocations: 0.8272 MB / 0.7146 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004689/0.9966, allocations: 126.7 kB / 0.7147 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.9967, allocations: 41.88 kB / 0.7148 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.9967, allocations: 0 / 0.7148 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.01635/1.013, allocations: 10.44 MB / 0.725 GB, free: 5.949 MB / 0.5137 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: