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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8409/0.8409, allocations: 132.4 MB / 139.7 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001125/0.001125, allocations: 164.3 kB / 171.6 MB, free: 2 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.465/1.465, allocations: 170.5 MB / 373.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001925/0.001925, allocations: 120.2 kB / 444.4 MB, free: 9.438 MB / 346.7 MB [/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.5821/0.5821, allocations: 73.39 MB / 0.666 GB, free: 62.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.975/5.557, allocations: 2.124 GB / 2.79 GB, free: 72.92 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/5.557, allocations: 83.95 kB / 2.79 GB, free: 72.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.405/6.963, allocations: 331.5 MB / 3.114 GB, free: 135.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.791e-05/6.963, allocations: 8.344 kB / 3.114 GB, free: 135.3 MB / 0.6198 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.001916/6.965, allocations: 0.751 MB / 3.115 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/6.965, allocations: 9.938 kB / 3.115 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004551/6.965, allocations: 61.25 kB / 3.115 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/6.966, allocations: 359.2 kB / 3.115 GB, free: 134.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/6.966, allocations: 11.09 kB / 3.115 GB, free: 134.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/6.966, allocations: 25.41 kB / 3.115 GB, free: 134.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004802/6.966, allocations: 227.3 kB / 3.115 GB, free: 134.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/6.967, allocations: 366.2 kB / 3.116 GB, free: 134.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/6.967, allocations: 0 / 3.116 GB, free: 134.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/6.967, allocations: 0 / 3.116 GB, free: 134.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/6.967, allocations: 10.84 kB / 3.116 GB, free: 134.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/6.969, allocations: 1.806 MB / 3.117 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/6.97, allocations: 59.94 kB / 3.117 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/6.97, allocations: 45.53 kB / 3.117 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/6.97, allocations: 3.594 kB / 3.117 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/6.97, allocations: 30.56 kB / 3.118 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.786e-06/6.97, allocations: 0 / 3.118 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005429/6.97, allocations: 137.2 kB / 3.118 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/6.97, allocations: 54.94 kB / 3.118 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/6.971, allocations: 289.1 kB / 3.118 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/6.971, allocations: 25.7 kB / 3.118 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/6.971, allocations: 244 kB / 3.118 GB, free: 133 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/6.971, allocations: 25.19 kB / 3.118 GB, free: 133 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/6.971, allocations: 0 / 3.118 GB, free: 133 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/6.971, allocations: 342.6 kB / 3.119 GB, free: 132.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/6.971, allocations: 58.98 kB / 3.119 GB, free: 132.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/6.971, allocations: 202.8 kB / 3.119 GB, free: 132.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/6.971, allocations: 94.72 kB / 3.119 GB, free: 132.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/6.971, allocations: 0 / 3.119 GB, free: 132.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003937/6.972, allocations: 263.5 kB / 3.119 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003557/6.972, allocations: 1.661 MB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/6.972, allocations: 7.562 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/6.972, allocations: 6.812 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/6.973, allocations: 79.06 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/6.973, allocations: 6.719 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/6.973, allocations: 66.27 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/6.973, allocations: 15.06 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.363e-06/6.973, allocations: 3.031 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002827/6.973, allocations: 193.9 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/6.973, allocations: 4.969 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/6.973, allocations: 7.625 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/6.974, allocations: 72.23 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/6.974, allocations: 4.781 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/6.974, allocations: 44.61 kB / 3.121 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/6.974, allocations: 15.16 kB / 3.121 GB, free: 130.7 MB / 0.6198 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 () * 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.0001018/6.974, allocations: 113.9 kB / 3.121 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/6.974, allocations: 32.56 kB / 3.121 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/6.974, allocations: 31.78 kB / 3.121 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/6.974, allocations: 3.891 kB / 3.121 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/6.974, allocations: 0 / 3.121 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/6.974, allocations: 3.812 kB / 3.121 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/6.975, allocations: 482.3 kB / 3.122 GB, free: 130.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/6.975, allocations: 3.75 kB / 3.122 GB, free: 130.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/6.975, allocations: 32.86 kB / 3.122 GB, free: 130.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/6.975, allocations: 3.906 kB / 3.122 GB, free: 130.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/6.975, allocations: 0 / 3.122 GB, free: 130.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/6.975, allocations: 3.938 kB / 3.122 GB, free: 130.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.975, allocations: 0 / 3.122 GB, free: 130.3 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000194/6.975, allocations: 246.4 kB / 3.122 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/6.975, allocations: 127.5 kB / 3.122 GB, free: 130 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/6.975, allocations: 3.938 kB / 3.122 GB, free: 130 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/6.976, allocations: 37.17 kB / 3.122 GB, free: 130 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/6.976, allocations: 7.484 kB / 3.122 GB, free: 130 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/6.976, allocations: 14.88 kB / 3.122 GB, free: 130 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001821/6.976, allocations: 212.7 kB / 3.123 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009561/6.977, allocations: 284.5 kB / 3.123 GB, free: 129.9 MB / 0.6198 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 () * 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.001656/6.979, allocations: 1.416 MB / 3.124 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003825/6.979, allocations: 256.4 kB / 3.124 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/6.979, allocations: 0 / 3.124 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/6.979, allocations: 31.92 kB / 3.125 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/6.98, allocations: 104.3 kB / 3.125 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/6.981, allocations: 386.5 kB / 3.125 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/6.981, allocations: 0.8463 MB / 3.126 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/6.981, allocations: 0 / 3.126 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.02047/7.001, allocations: 13.17 MB / 3.139 GB, free: 128.5 MB / 0.6198 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)