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.4874/0.4881, allocations: 82.21 MB / 0.5935 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.194/0.6822, allocations: 154 MB / 0.7438 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008106/0.6903, allocations: 6.683 MB / 0.7503 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000386/0.6908, allocations: 7.938 kB / 0.7503 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.6916, allocations: 194.8 kB / 0.7505 GB, free: 4.293 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001119/0.6927, allocations: 414 kB / 0.7509 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.6941, allocations: 445.4 kB / 0.7513 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.6957, allocations: 1.263 MB / 0.7526 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.6962, allocations: 271.5 kB / 0.7528 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.6973, allocations: 494 kB / 0.7533 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.6978, allocations: 314.8 kB / 0.7536 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.6978, allocations: 20 kB / 0.7536 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.6987, allocations: 427.3 kB / 0.754 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.6989, allocations: 163.5 kB / 0.7542 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.6991, allocations: 113.5 kB / 0.7543 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3907/1.09, allocations: 0.5219 MB / 0.7548 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.09, allocations: 0.9375 kB / 0.7548 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/1.09, allocations: 0 / 0.7548 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.691e-05/1.09, allocations: 3.844 kB / 0.7548 GB, free: 5.824 MB / 0.5762 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.00138/1.091, allocations: 0.6723 MB / 0.7555 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.091, allocations: 8.781 kB / 0.7555 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/1.092, allocations: 59.34 kB / 0.7555 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/1.092, allocations: 333.2 kB / 0.7559 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/1.092, allocations: 26.78 kB / 0.7559 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/1.092, allocations: 32 kB / 0.7559 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.093, allocations: 498 kB / 0.7564 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.093, allocations: 1.188 kB / 0.7564 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/1.093, allocations: 18.91 kB / 0.7564 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/1.094, allocations: 12.22 kB / 0.7564 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/1.094, allocations: 339.2 kB / 0.7567 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/1.097, allocations: 2.012 MB / 0.7587 GB, free: 19.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/1.098, allocations: 121 kB / 0.7588 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.098, allocations: 55.14 kB / 0.7589 GB, free: 19.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/1.098, allocations: 5.625 kB / 0.7589 GB, free: 19.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.098, allocations: 40.78 kB / 0.7589 GB, free: 19.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/1.098, allocations: 3 kB / 0.7589 GB, free: 19.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0008255/1.099, allocations: 252.3 kB / 0.7592 GB, free: 19.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.099, allocations: 58.09 kB / 0.7592 GB, free: 19.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/1.099, allocations: 455.6 kB / 0.7597 GB, free: 19.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/1.099, allocations: 32.48 kB / 0.7597 GB, free: 19.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.099, allocations: 255.1 kB / 0.7599 GB, free: 19.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/1.1, allocations: 34.45 kB / 0.76 GB, free: 19.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/1.1, allocations: 7.5 kB / 0.76 GB, free: 19.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.1, allocations: 344.8 kB / 0.7603 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/1.1, allocations: 97.45 kB / 0.7604 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/1.1, allocations: 241.8 kB / 0.7606 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/1.1, allocations: 130.1 kB / 0.7607 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.1, allocations: 1.859 kB / 0.7607 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005791/1.101, allocations: 361.5 kB / 0.7611 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.101, allocations: 213.8 kB / 0.7613 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.101, allocations: 6.25 kB / 0.7613 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.101, allocations: 5.719 kB / 0.7613 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/1.101, allocations: 79.92 kB / 0.7614 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.101, allocations: 11.72 kB / 0.7614 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/1.102, allocations: 77.81 kB / 0.7615 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/1.102, allocations: 14.89 kB / 0.7615 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/1.102, allocations: 6.812 kB / 0.7615 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004244/1.102, allocations: 269.7 kB / 0.7617 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.102, allocations: 4.875 kB / 0.7617 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/1.102, allocations: 7.75 kB / 0.7618 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.103, allocations: 64.67 kB / 0.7618 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.103, allocations: 10.25 kB / 0.7618 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/1.103, allocations: 62.86 kB / 0.7619 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/1.103, allocations: 10.19 kB / 0.7619 GB, free: 18.3 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002198/1.103, allocations: 260.1 kB / 0.7621 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/1.103, allocations: 37.22 kB / 0.7622 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/1.103, allocations: 37.48 kB / 0.7622 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.103, allocations: 2.594 kB / 0.7622 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.103, allocations: 5.125 kB / 0.7622 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.103, allocations: 0 / 0.7622 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008926/1.104, allocations: 0.5865 MB / 0.7628 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.104, allocations: 0.75 kB / 0.7628 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/1.104, allocations: 34.92 kB / 0.7628 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.104, allocations: 0 / 0.7628 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.104, allocations: 0.8125 kB / 0.7628 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.105, allocations: 11.41 kB / 0.7628 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.105, allocations: 0.9219 kB / 0.7628 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/1.105, allocations: 290.9 kB / 0.7631 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/1.105, allocations: 140.9 kB / 0.7633 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/1.105, allocations: 1.781 kB / 0.7633 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/1.106, allocations: 35.59 kB / 0.7633 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/1.106, allocations: 5.594 kB / 0.7633 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/1.106, allocations: 14.73 kB / 0.7633 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004147/1.106, allocations: 316.7 kB / 0.7636 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.106, allocations: 0 / 0.7636 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007891/1.107, allocations: 193.9 kB / 0.7638 GB, free: 17.36 MB / 0.5919 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 (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.0004237/1.107, allocations: 145.4 kB / 0.7639 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008352/1.108, allocations: 341.2 kB / 0.7643 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.108, allocations: 1 kB / 0.7643 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/1.108, allocations: 61.72 kB / 0.7643 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.109, allocations: 206.1 kB / 0.7645 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.111, allocations: 0.7307 MB / 0.7652 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/1.111, allocations: 0.8044 MB / 0.766 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004686/1.112, allocations: 97.45 kB / 0.7661 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/1.112, allocations: 29.88 kB / 0.7661 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/1.112, allocations: 0 / 0.7661 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.01505/1.127, allocations: 6.779 MB / 0.7728 GB, free: 15.73 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: