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.188/0.1912, allocations: 80.84 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6563/0.8475, allocations: 169.4 MB / 0.8361 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008419/0.856, allocations: 7.2 MB / 0.8431 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000551/0.8566, allocations: 14.72 kB / 0.8431 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009762/0.8576, allocations: 293.3 kB / 0.8434 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.8588, allocations: 475.4 kB / 0.8439 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.8603, allocations: 0.5355 MB / 0.8444 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.8617, allocations: 1.041 MB / 0.8454 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.8623, allocations: 360.3 kB / 0.8458 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.8635, allocations: 0.5796 MB / 0.8463 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.8639, allocations: 312.7 kB / 0.8466 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.864, allocations: 37.31 kB / 0.8467 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008618/0.8648, allocations: 0.4889 MB / 0.8471 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.865, allocations: 181.2 kB / 0.8473 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.8653, allocations: 249 kB / 0.8475 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.8662, allocations: 0.7339 MB / 0.8483 GB, free: 288 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8662, allocations: 0 / 0.8483 GB, free: 288 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8662, allocations: 4 kB / 0.8483 GB, free: 284 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.8662, allocations: 0 / 0.8483 GB, free: 284 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.001303/0.8675, allocations: 0.7526 MB / 0.849 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.8676, allocations: 9.75 kB / 0.849 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.8679, allocations: 64.52 kB / 0.8491 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.8684, allocations: 353.5 kB / 0.8494 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.8684, allocations: 32.56 kB / 0.8494 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.8685, allocations: 30.44 kB / 0.8495 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.8694, allocations: 488.4 kB / 0.8499 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.8694, allocations: 3.938 kB / 0.8499 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.8695, allocations: 17 kB / 0.85 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.8695, allocations: 7.594 kB / 0.85 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.8703, allocations: 320 kB / 0.8503 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.873, allocations: 1.996 MB / 0.8522 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.8735, allocations: 109.1 kB / 0.8523 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.8736, allocations: 46.52 kB / 0.8524 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.8736, allocations: 0 / 0.8524 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.8737, allocations: 41 kB / 0.8524 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.8737, allocations: 3.938 kB / 0.8524 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0009568/0.8747, allocations: 224.5 kB / 0.8526 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.8747, allocations: 59.34 kB / 0.8527 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.8753, allocations: 466.7 kB / 0.8531 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.8753, allocations: 28.45 kB / 0.8531 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.8755, allocations: 256.2 kB / 0.8534 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.8755, allocations: 28.36 kB / 0.8534 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.8756, allocations: 60.67 kB / 0.8535 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.8758, allocations: 348.4 kB / 0.8538 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.876, allocations: 94.17 kB / 0.8539 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.8764, allocations: 235.1 kB / 0.8541 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.8769, allocations: 290.1 kB / 0.8544 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.8769, allocations: 4 kB / 0.8544 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006559/0.8776, allocations: 353.6 kB / 0.8547 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8776, allocations: 5.531 kB / 0.8547 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.8776, allocations: 8.844 kB / 0.8548 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8777, allocations: 7.812 kB / 0.8548 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.878, allocations: 70.05 kB / 0.8548 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.878, allocations: 11.41 kB / 0.8548 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.8784, allocations: 55.66 kB / 0.8549 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.8784, allocations: 12.31 kB / 0.8549 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003127/0.8788, allocations: 208.9 kB / 0.8551 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000273/0.8791, allocations: 214 kB / 0.8553 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000378/0.8794, allocations: 259.7 kB / 0.8556 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.8795, allocations: 2.812 kB / 0.8556 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005838/0.88, allocations: 330.8 kB / 0.8559 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8801, allocations: 12.31 kB / 0.8559 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.8801, allocations: 4.875 kB / 0.8559 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.8801, allocations: 5.656 kB / 0.8559 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.8803, allocations: 63.38 kB / 0.856 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.8803, allocations: 9.188 kB / 0.856 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.8807, allocations: 41.66 kB / 0.856 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.8807, allocations: 14.38 kB / 0.856 GB, free: 10.05 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.0001504/0.8809, allocations: 196.2 kB / 0.8562 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.881, allocations: 43.41 kB / 0.8562 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.614e-05/0.8811, allocations: 39.39 kB / 0.8563 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.8811, allocations: 15.16 kB / 0.8563 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8811, allocations: 0 / 0.8563 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8811, allocations: 0 / 0.8563 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008749/0.882, allocations: 0.5633 MB / 0.8568 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.882, allocations: 2.875 kB / 0.8569 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.8822, allocations: 32.64 kB / 0.8569 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8822, allocations: 3.219 kB / 0.8569 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.8822, allocations: 3.984 kB / 0.8569 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.8822, allocations: 2.75 kB / 0.8569 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8822, allocations: 0 / 0.8569 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.8827, allocations: 275.8 kB / 0.8572 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.8829, allocations: 136.7 kB / 0.8573 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.8829, allocations: 4 kB / 0.8573 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.8833, allocations: 20.59 kB / 0.8573 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.8833, allocations: 10.48 kB / 0.8573 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.8834, allocations: 19.81 kB / 0.8573 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003278/0.8837, allocations: 321.5 kB / 0.8576 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8837, allocations: 0 / 0.8576 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006596/0.8844, allocations: 197.9 kB / 0.8578 GB, free: 8.676 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.000358/0.8847, allocations: 137 kB / 0.858 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007532/0.8855, allocations: 321.8 kB / 0.8583 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.8855, allocations: 0 / 0.8583 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.8857, allocations: 53.86 kB / 0.8583 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.8867, allocations: 186.8 kB / 0.8585 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.8877, allocations: 0.6027 MB / 0.8591 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.8881, allocations: 0.8096 MB / 0.8599 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.8885, allocations: 94.91 kB / 0.86 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.8885, allocations: 34.28 kB / 0.86 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.8885, allocations: 0 / 0.86 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of Templates: time 0.01329/0.9018, allocations: 7.314 MB / 0.8671 GB, free: 328 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)