Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [: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.8664/0.8664, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001298/0.001299, allocations: 170.9 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.457/1.457, allocations: 170.5 MB / 373.9 MB, free: 15.81 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.001735/0.001735, allocations: 124.4 kB / 444.5 MB, free: 9.352 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.5459/0.546, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.051/5.597, allocations: 2.142 GB / 2.808 GB, free: 43.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/5.598, allocations: 93.81 kB / 2.808 GB, free: 43.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.624/10.22, allocations: 1.247 GB / 4.055 GB, free: 16.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003128/10.22, allocations: 47.98 kB / 4.055 GB, free: 16.62 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00918/10.23, allocations: 2.311 MB / 4.057 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.939e-05/10.23, allocations: 12.02 kB / 4.057 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/10.24, allocations: 0.6454 MB / 4.058 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006439/10.24, allocations: 1.628 MB / 4.06 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/10.25, allocations: 151.8 kB / 4.06 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008877/10.25, allocations: 91.91 kB / 4.06 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00405/10.25, allocations: 1.29 MB / 4.061 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004427/10.25, allocations: 1.384 MB / 4.063 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.484e-05/10.25, allocations: 3.984 kB / 4.063 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/10.25, allocations: 11.94 kB / 4.063 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.694e-05/10.26, allocations: 46.64 kB / 4.063 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/10.27, allocations: 7.281 MB / 4.07 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/10.27, allocations: 0.6862 MB / 4.07 GB, free: 340 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/10.27, allocations: 341.2 kB / 4.071 GB, free: 0 / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/10.27, allocations: 182.8 kB / 4.071 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/10.27, allocations: 51.16 kB / 4.071 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 4.308e-06/10.27, allocations: 0 / 4.071 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.003379/10.27, allocations: 0.8848 MB / 4.072 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/10.27, allocations: 85.77 kB / 4.072 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/10.28, allocations: 0.9642 MB / 4.073 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002499/10.28, allocations: 29.7 kB / 4.073 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/10.28, allocations: 0.6426 MB / 4.073 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/10.28, allocations: 224.8 kB / 4.074 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/10.28, allocations: 3.938 kB / 4.074 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001757/10.28, allocations: 349.8 kB / 4.074 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/10.28, allocations: 342.5 kB / 4.074 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/10.28, allocations: 0.7993 MB / 4.075 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/10.28, allocations: 482.4 kB / 4.076 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/10.28, allocations: 0 / 4.076 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00265/10.28, allocations: 1.151 MB / 4.077 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002827/10.29, allocations: 4.921 MB / 4.082 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.267e-05/10.29, allocations: 15.94 kB / 4.082 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-05/10.29, allocations: 20 kB / 4.082 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/10.29, allocations: 267.6 kB / 4.082 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.725e-05/10.29, allocations: 27.92 kB / 4.082 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/10.29, allocations: 202.7 kB / 4.082 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/10.29, allocations: 52 kB / 4.082 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/10.29, allocations: 4 kB / 4.082 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002062/10.29, allocations: 0.9479 MB / 4.083 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/10.29, allocations: 20.06 kB / 4.083 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/10.29, allocations: 20 kB / 4.083 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/10.29, allocations: 235.6 kB / 4.083 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/10.29, allocations: 27.92 kB / 4.083 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/10.3, allocations: 139 kB / 4.083 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/10.3, allocations: 55.98 kB / 4.083 GB, free: 2.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 4 (humBac.vol.i_w,humFor.vol.i_w,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 4 * 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.0005118/10.3, allocations: 152.5 kB / 4.084 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/10.3, allocations: 146.2 kB / 4.084 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/10.3, allocations: 0.7713 MB / 4.085 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/10.3, allocations: 4 kB / 4.085 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/10.3, allocations: 0 / 4.085 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/10.3, allocations: 0.7537 MB / 4.085 GB, free: 360 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4166/10.72, allocations: 2.117 MB / 4.087 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/10.72, allocations: 0 / 4.087 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/10.72, allocations: 191 kB / 4.087 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/10.72, allocations: 7.297 kB / 4.088 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/10.72, allocations: 11.42 kB / 4.088 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/10.72, allocations: 3.312 kB / 4.088 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/10.72, allocations: 0 / 4.088 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001826/10.72, allocations: 1.307 MB / 4.089 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/10.72, allocations: 330 kB / 4.089 GB, free: 120 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/10.72, allocations: 15.03 kB / 4.089 GB, free: 120 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/10.72, allocations: 124.5 kB / 4.089 GB, free: 120 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/10.72, allocations: 36.59 kB / 4.089 GB, free: 120 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/10.72, allocations: 45.08 kB / 4.089 GB, free: 120 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0009618/10.72, allocations: 0.7115 MB / 4.09 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003752/10.73, allocations: 1.059 MB / 4.091 GB, free: 119.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.005346/10.73, allocations: 3.484 MB / 4.094 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002522/10.73, allocations: 1.595 MB / 4.096 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/10.73, allocations: 5.938 kB / 4.096 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/10.74, allocations: 335.2 kB / 4.096 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/10.74, allocations: 0.7142 MB / 4.097 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/10.74, allocations: 2.436 MB / 4.099 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/10.75, allocations: 1.537 MB / 4.101 GB, free: 117 MB / 0.6667 GB Notification: Performance of SimCode: time 1.012e-06/10.75, allocations: 2.062 kB / 4.101 GB, free: 117 MB / 0.6667 GB Notification: Performance of Templates: time 0.0861/10.83, allocations: 48.85 MB / 4.149 GB, free: 115.9 MB / 0.6667 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)