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.1821/0.1839, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5634/0.7473, allocations: 167.2 MB / 0.7529 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007801/0.7552, allocations: 7.243 MB / 0.76 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009439/0.7562, allocations: 8.281 kB / 0.76 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.7573, allocations: 254 kB / 0.7603 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.7588, allocations: 453.7 kB / 0.7607 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.7604, allocations: 486 kB / 0.7612 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.7618, allocations: 1.514 MB / 0.7626 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.7623, allocations: 301.6 kB / 0.7629 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.7633, allocations: 0.5064 MB / 0.7634 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.7637, allocations: 345.5 kB / 0.7638 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.7638, allocations: 19.69 kB / 0.7638 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007578/0.7645, allocations: 495.5 kB / 0.7642 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.7647, allocations: 167.2 kB / 0.7644 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.765, allocations: 232.5 kB / 0.7646 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.7657, allocations: 0.7061 MB / 0.7653 GB, free: 10.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.7657, allocations: 0 / 0.7653 GB, free: 10.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7657, allocations: 0 / 0.7653 GB, free: 10.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.7657, allocations: 7.062 kB / 0.7653 GB, free: 10.43 MB / 0.545 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.001254/0.767, allocations: 0.749 MB / 0.7661 GB, free: 9.859 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.767, allocations: 9.594 kB / 0.7661 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.7673, allocations: 71.08 kB / 0.7661 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.7677, allocations: 338.9 kB / 0.7665 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.7678, allocations: 29.91 kB / 0.7665 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.7678, allocations: 32.72 kB / 0.7665 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.7688, allocations: 478.7 kB / 0.767 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7688, allocations: 0 / 0.767 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.7688, allocations: 22.2 kB / 0.767 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.7689, allocations: 14.25 kB / 0.767 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.7696, allocations: 318.8 kB / 0.7673 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.772, allocations: 2.002 MB / 0.7693 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.7724, allocations: 102.5 kB / 0.7694 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.7726, allocations: 47.7 kB / 0.7694 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.7726, allocations: 3.984 kB / 0.7694 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7726, allocations: 40.59 kB / 0.7695 GB, free: 7.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.7726, allocations: 0 / 0.7695 GB, free: 7.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0009061/0.7736, allocations: 230.6 kB / 0.7697 GB, free: 7.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.7736, allocations: 58.28 kB / 0.7697 GB, free: 7.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.7741, allocations: 469 kB / 0.7702 GB, free: 7.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.7741, allocations: 28.42 kB / 0.7702 GB, free: 7.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.7743, allocations: 246.3 kB / 0.7704 GB, free: 7.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.7743, allocations: 29.97 kB / 0.7705 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.7744, allocations: 64.95 kB / 0.7705 GB, free: 6.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7746, allocations: 347.9 kB / 0.7709 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.7748, allocations: 105.1 kB / 0.771 GB, free: 6.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.7751, allocations: 230.2 kB / 0.7712 GB, free: 6.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.7756, allocations: 293.4 kB / 0.7715 GB, free: 6.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7756, allocations: 3.25 kB / 0.7715 GB, free: 6.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006196/0.7762, allocations: 338.8 kB / 0.7718 GB, free: 6.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7762, allocations: 11.88 kB / 0.7718 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7762, allocations: 5.188 kB / 0.7718 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7763, allocations: 8.812 kB / 0.7718 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.7765, allocations: 75.77 kB / 0.7719 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.7766, allocations: 5.031 kB / 0.7719 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.777, allocations: 74.3 kB / 0.772 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.777, allocations: 13.66 kB / 0.772 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002611/0.7773, allocations: 204.9 kB / 0.7722 GB, free: 5.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000249/0.7775, allocations: 218.7 kB / 0.7724 GB, free: 5.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003442/0.7779, allocations: 262 kB / 0.7726 GB, free: 5.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.7779, allocations: 6.594 kB / 0.7726 GB, free: 5.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004879/0.7784, allocations: 314.1 kB / 0.7729 GB, free: 5.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.7784, allocations: 10.94 kB / 0.7729 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.7784, allocations: 10.06 kB / 0.773 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.7784, allocations: 8.781 kB / 0.773 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.7787, allocations: 69.62 kB / 0.773 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7787, allocations: 5.062 kB / 0.773 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.7791, allocations: 39.09 kB / 0.7731 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.7791, allocations: 17.81 kB / 0.7731 GB, free: 5.391 MB / 0.545 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.0001249/0.7792, allocations: 202.8 kB / 0.7733 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.7793, allocations: 43.59 kB / 0.7733 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.7794, allocations: 33.41 kB / 0.7734 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7794, allocations: 0 / 0.7734 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.7794, allocations: 0 / 0.7734 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7794, allocations: 6.781 kB / 0.7734 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.7802, allocations: 0.5683 MB / 0.7739 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7802, allocations: 2.812 kB / 0.7739 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.7803, allocations: 24.97 kB / 0.7739 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7803, allocations: 2.875 kB / 0.7739 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.7803, allocations: 0 / 0.7739 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7803, allocations: 3.938 kB / 0.7739 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7804, allocations: 11.58 kB / 0.774 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.7808, allocations: 272.3 kB / 0.7742 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.7809, allocations: 139.1 kB / 0.7743 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.781, allocations: 6.562 kB / 0.7744 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.7813, allocations: 30.42 kB / 0.7744 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.7814, allocations: 2.062 kB / 0.7744 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.7814, allocations: 15.05 kB / 0.7744 GB, free: 4.383 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003192/0.7818, allocations: 320.6 kB / 0.7747 GB, free: 4.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7818, allocations: 0 / 0.7747 GB, free: 4.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006407/0.7824, allocations: 198.9 kB / 0.7749 GB, free: 4.238 MB / 0.545 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.0003716/0.7828, allocations: 152.4 kB / 0.775 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006923/0.7835, allocations: 320.3 kB / 0.7753 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7835, allocations: 2.094 kB / 0.7753 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.7837, allocations: 58.39 kB / 0.7754 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.7847, allocations: 190.1 kB / 0.7756 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.7858, allocations: 0.7214 MB / 0.7763 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.7862, allocations: 0.8041 MB / 0.7771 GB, free: 2.648 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003839/0.7865, allocations: 101 kB / 0.7772 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.7866, allocations: 31.97 kB / 0.7772 GB, free: 2.586 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.7866, allocations: 3.938 kB / 0.7772 GB, free: 2.582 MB / 0.545 GB Notification: Performance of Templates: time 0.01204/0.7987, allocations: 7.028 MB / 0.7841 GB, free: 15.14 MB / 0.5606 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)