Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.178/0.1801, allocations: 80.84 MB / 0.6707 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6889/0.8691, allocations: 169.4 MB / 0.8361 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008957/0.878, allocations: 7.203 MB / 0.8431 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008256/0.879, allocations: 15.12 kB / 0.8431 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.8801, allocations: 297.2 kB / 0.8434 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.8817, allocations: 467.5 kB / 0.8439 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.8835, allocations: 0.5247 MB / 0.8444 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.8849, allocations: 1.047 MB / 0.8454 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.8854, allocations: 355.3 kB / 0.8458 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.8867, allocations: 0.5895 MB / 0.8463 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.8872, allocations: 312.5 kB / 0.8466 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.8872, allocations: 37.38 kB / 0.8467 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.8883, allocations: 495.9 kB / 0.8471 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.8885, allocations: 181.6 kB / 0.8473 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.8888, allocations: 248.6 kB / 0.8475 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009454/0.8897, allocations: 0.7366 MB / 0.8483 GB, free: 204 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8897, allocations: 6.75 kB / 0.8483 GB, free: 200 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8897, allocations: 4 kB / 0.8483 GB, free: 196 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.8898, allocations: 0 / 0.8483 GB, free: 196 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001378/0.8911, allocations: 0.7643 MB / 0.849 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8912, allocations: 9.344 kB / 0.849 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.8915, allocations: 62.27 kB / 0.8491 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.8921, allocations: 358.8 kB / 0.8494 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.8921, allocations: 31.59 kB / 0.8495 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.8922, allocations: 31 kB / 0.8495 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.8932, allocations: 484.2 kB / 0.85 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8932, allocations: 3.938 kB / 0.85 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.8933, allocations: 20.59 kB / 0.85 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.8933, allocations: 7.562 kB / 0.85 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.8941, allocations: 323.1 kB / 0.8503 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.8968, allocations: 1.991 MB / 0.8522 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.8972, allocations: 104.7 kB / 0.8523 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.8973, allocations: 49.27 kB / 0.8524 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.8974, allocations: 3.25 kB / 0.8524 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.8974, allocations: 41.34 kB / 0.8524 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 3.437e-06/0.8974, allocations: 7.922 kB / 0.8524 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0008913/0.8983, allocations: 227.2 kB / 0.8526 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.8984, allocations: 61.75 kB / 0.8527 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.8989, allocations: 461.4 kB / 0.8531 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.8989, allocations: 28.39 kB / 0.8532 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.8992, allocations: 256.2 kB / 0.8534 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.8992, allocations: 45.31 kB / 0.8535 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.8993, allocations: 62.84 kB / 0.8535 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.8995, allocations: 341.2 kB / 0.8538 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.8997, allocations: 102.4 kB / 0.8539 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.9001, allocations: 237.4 kB / 0.8542 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.9006, allocations: 285.2 kB / 0.8544 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9006, allocations: 4 kB / 0.8544 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006616/0.9013, allocations: 351.3 kB / 0.8548 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.9013, allocations: 6.844 kB / 0.8548 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.9013, allocations: 6.625 kB / 0.8548 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9013, allocations: 7.781 kB / 0.8548 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.9016, allocations: 67.17 kB / 0.8549 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.9017, allocations: 11.34 kB / 0.8549 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.9021, allocations: 63.72 kB / 0.8549 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.9021, allocations: 12.53 kB / 0.855 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000296/0.9024, allocations: 209.1 kB / 0.8551 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002715/0.9027, allocations: 213.5 kB / 0.8554 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003864/0.9031, allocations: 266.7 kB / 0.8556 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.9031, allocations: 0 / 0.8556 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005531/0.9037, allocations: 329.4 kB / 0.8559 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.9037, allocations: 11.75 kB / 0.8559 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9037, allocations: 4.812 kB / 0.8559 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.9037, allocations: 5.844 kB / 0.8559 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.9039, allocations: 63.81 kB / 0.856 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.904, allocations: 14.8 kB / 0.856 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.9043, allocations: 31.62 kB / 0.856 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.9044, allocations: 16.53 kB / 0.8561 GB, free: 9.926 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (32): * Single equations (assignments): 32 * 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.0001465/0.9045, allocations: 197.6 kB / 0.8563 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.9046, allocations: 43.77 kB / 0.8563 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.9047, allocations: 39.89 kB / 0.8563 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.9047, allocations: 6.438 kB / 0.8563 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9047, allocations: 0 / 0.8563 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9047, allocations: 0 / 0.8563 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.9056, allocations: 0.5741 MB / 0.8569 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9056, allocations: 0 / 0.8569 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.9058, allocations: 32.94 kB / 0.8569 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.9058, allocations: 2.781 kB / 0.8569 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.9058, allocations: 0 / 0.8569 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.9058, allocations: 6.938 kB / 0.8569 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9058, allocations: 0 / 0.8569 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.9063, allocations: 276.5 kB / 0.8572 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.9064, allocations: 137.1 kB / 0.8573 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.9065, allocations: 6.625 kB / 0.8573 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.9069, allocations: 18 kB / 0.8574 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.9069, allocations: 9.047 kB / 0.8574 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.907, allocations: 31.61 kB / 0.8574 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003286/0.9073, allocations: 315.4 kB / 0.8577 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9073, allocations: 0 / 0.8577 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006383/0.9079, allocations: 200.7 kB / 0.8579 GB, free: 8.543 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0003333/0.9083, allocations: 129.5 kB / 0.858 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007166/0.909, allocations: 324.5 kB / 0.8583 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.909, allocations: 0 / 0.8583 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.9092, allocations: 56.45 kB / 0.8584 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/0.9102, allocations: 186.5 kB / 0.8586 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009353/0.9111, allocations: 0.6067 MB / 0.8591 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.9115, allocations: 0.8109 MB / 0.8599 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.9118, allocations: 93.36 kB / 0.86 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.9119, allocations: 31.59 kB / 0.8601 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.9119, allocations: 3.938 kB / 0.8601 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of Templates: time 0.01303/0.925, allocations: 7.32 MB / 0.8672 GB, free: 144 kB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)