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.1959/0.198, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6693/0.8674, allocations: 169.4 MB / 0.8361 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008254/0.8757, allocations: 7.191 MB / 0.8431 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007413/0.8765, allocations: 11.91 kB / 0.8431 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.8776, allocations: 304.2 kB / 0.8434 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.879, allocations: 470.2 kB / 0.8439 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.8804, allocations: 0.5366 MB / 0.8444 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.8817, allocations: 1.048 MB / 0.8454 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.8822, allocations: 357 kB / 0.8458 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.8834, allocations: 0.5862 MB / 0.8463 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.8838, allocations: 315.2 kB / 0.8466 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.8839, allocations: 35.06 kB / 0.8467 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.8847, allocations: 0.4888 MB / 0.8471 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.8849, allocations: 177.2 kB / 0.8473 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.8851, allocations: 257.1 kB / 0.8476 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.886, allocations: 0.7342 MB / 0.8483 GB, free: 260 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.886, allocations: 0 / 0.8483 GB, free: 260 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8861, allocations: 0 / 0.8483 GB, free: 260 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.8861, allocations: 4 kB / 0.8483 GB, free: 256 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.001333/0.8874, allocations: 0.7468 MB / 0.849 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8875, allocations: 11.56 kB / 0.849 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.8878, allocations: 63.98 kB / 0.8491 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.8883, allocations: 350.8 kB / 0.8494 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.8883, allocations: 29.84 kB / 0.8494 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.8884, allocations: 33.19 kB / 0.8495 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/0.8893, allocations: 481.4 kB / 0.8499 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.8893, allocations: 6.219 kB / 0.8499 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.8894, allocations: 20.59 kB / 0.85 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.8894, allocations: 11.73 kB / 0.85 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.8902, allocations: 318.9 kB / 0.8503 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.8925, allocations: 1.993 MB / 0.8522 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.8929, allocations: 108.7 kB / 0.8523 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.8931, allocations: 45.42 kB / 0.8524 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.8931, allocations: 7.969 kB / 0.8524 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.8932, allocations: 41.34 kB / 0.8524 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 4.328e-06/0.8932, allocations: 0 / 0.8524 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0008822/0.8941, allocations: 225.8 kB / 0.8526 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.8941, allocations: 61.88 kB / 0.8527 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.8946, allocations: 465.6 kB / 0.8531 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.8946, allocations: 28.3 kB / 0.8532 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.8948, allocations: 255.4 kB / 0.8534 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.8948, allocations: 33.5 kB / 0.8534 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.8949, allocations: 60.17 kB / 0.8535 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8951, allocations: 348.5 kB / 0.8538 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.8953, allocations: 93.81 kB / 0.8539 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.8956, allocations: 231.2 kB / 0.8541 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.8961, allocations: 291.5 kB / 0.8544 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8961, allocations: 2.469 kB / 0.8544 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000669/0.8968, allocations: 345.6 kB / 0.8547 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.8968, allocations: 11.72 kB / 0.8548 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8968, allocations: 8.844 kB / 0.8548 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.8969, allocations: 7.281 kB / 0.8548 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.8971, allocations: 66.39 kB / 0.8548 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.8972, allocations: 8.438 kB / 0.8548 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.8976, allocations: 62.25 kB / 0.8549 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.8976, allocations: 11.34 kB / 0.8549 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002721/0.8979, allocations: 210.8 kB / 0.8551 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002418/0.8981, allocations: 211.4 kB / 0.8553 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003623/0.8985, allocations: 271.2 kB / 0.8556 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.8985, allocations: 0 / 0.8556 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005195/0.899, allocations: 325.9 kB / 0.8559 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8991, allocations: 11.44 kB / 0.8559 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8991, allocations: 2.75 kB / 0.8559 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.8991, allocations: 11.86 kB / 0.8559 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.8993, allocations: 63.25 kB / 0.856 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8993, allocations: 9.312 kB / 0.856 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.8997, allocations: 37.52 kB / 0.856 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.8997, allocations: 17.55 kB / 0.856 GB, free: 10.02 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.0001177/0.8998, allocations: 196.6 kB / 0.8562 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.8999, allocations: 44.09 kB / 0.8563 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.9, allocations: 35.59 kB / 0.8563 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.9, allocations: 4 kB / 0.8563 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9, allocations: 3.938 kB / 0.8563 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9, allocations: 0 / 0.8563 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/0.9009, allocations: 0.5653 MB / 0.8569 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.9009, allocations: 6.75 kB / 0.8569 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.901, allocations: 33.72 kB / 0.8569 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.901, allocations: 1.812 kB / 0.8569 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.901, allocations: 0 / 0.8569 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.901, allocations: 10.78 kB / 0.8569 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9011, allocations: 0 / 0.8569 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.9015, allocations: 278.7 kB / 0.8572 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.9017, allocations: 131.2 kB / 0.8573 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.9017, allocations: 7.984 kB / 0.8573 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.9021, allocations: 20.78 kB / 0.8573 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.9021, allocations: 12.23 kB / 0.8573 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.9022, allocations: 13.83 kB / 0.8573 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002999/0.9025, allocations: 321.6 kB / 0.8577 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9025, allocations: 0 / 0.8577 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006468/0.9031, allocations: 201.9 kB / 0.8578 GB, free: 8.645 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.0004271/0.9036, allocations: 134 kB / 0.858 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007873/0.9044, allocations: 320.2 kB / 0.8583 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9044, allocations: 4.062 kB / 0.8583 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.9046, allocations: 50.41 kB / 0.8583 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9056, allocations: 181.8 kB / 0.8585 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.9066, allocations: 0.611 MB / 0.8591 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.907, allocations: 0.8055 MB / 0.8599 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.9073, allocations: 90.98 kB / 0.86 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.9074, allocations: 41.77 kB / 0.86 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.9074, allocations: 0 / 0.86 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of Templates: time 0.01244/0.9198, allocations: 7.42 MB / 0.8673 GB, free: 84 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)