Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [: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.7329/0.7329, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001192/0.001192, allocations: 172.2 kB / 171.6 MB, free: 1.969 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.466/1.466, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001674/0.001674, allocations: 105.9 kB / 444.4 MB, free: 9.367 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.5547/0.5548, allocations: 73.39 MB / 0.666 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.905/5.46, allocations: 2.152 GB / 2.818 GB, free: 42.73 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/5.46, allocations: 84.66 kB / 2.818 GB, free: 42.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 11.3/16.76, allocations: 2.695 GB / 5.513 GB, free: 47.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005361/16.76, allocations: 75.88 kB / 5.513 GB, free: 47.19 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 562 * Number of variables: 562 Notification: Performance of Generate backend data structure: time 0.01764/16.77, allocations: 3.72 MB / 5.517 GB, free: 45.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/16.77, allocations: 12.69 kB / 5.517 GB, free: 45.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/16.79, allocations: 1.502 MB / 5.518 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009559/16.8, allocations: 2.183 MB / 5.52 GB, free: 44.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001698/16.8, allocations: 0.5452 MB / 5.521 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/16.8, allocations: 145.7 kB / 5.521 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009325/16.81, allocations: 2.634 MB / 5.524 GB, free: 44.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/16.82, allocations: 2.51 MB / 5.526 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/16.82, allocations: 6.75 kB / 5.526 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009858/16.82, allocations: 3.344 kB / 5.526 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/16.82, allocations: 102 kB / 5.526 GB, free: 44.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03426/16.86, allocations: 13.9 MB / 5.54 GB, free: 36.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/16.86, allocations: 1.139 MB / 5.541 GB, free: 36.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009459/16.86, allocations: 0.5276 MB / 5.541 GB, free: 36.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/16.86, allocations: 448.2 kB / 5.542 GB, free: 36.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/16.86, allocations: 48.28 kB / 5.542 GB, free: 36.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 5.49e-06/16.86, allocations: 2.156 kB / 5.542 GB, free: 36.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96): time 0.005702/16.87, allocations: 1.641 MB / 5.544 GB, free: 36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/16.87, allocations: 117.7 kB / 5.544 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004518/16.87, allocations: 1.611 MB / 5.545 GB, free: 35.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000487/16.87, allocations: 34.89 kB / 5.545 GB, free: 35.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/16.87, allocations: 1.113 MB / 5.546 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/16.87, allocations: 344.3 kB / 5.547 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/16.87, allocations: 4.031 kB / 5.547 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002207/16.87, allocations: 392.1 kB / 5.547 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/16.87, allocations: 0.6897 MB / 5.548 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/16.88, allocations: 1.815 MB / 5.55 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/16.88, allocations: 1.298 MB / 5.551 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.99e-05/16.88, allocations: 13.44 kB / 5.551 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007044/16.89, allocations: 2.699 MB / 5.553 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.004502/16.89, allocations: 13.24 MB / 5.566 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/16.89, allocations: 38.25 kB / 5.566 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/16.89, allocations: 50.47 kB / 5.566 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/16.91, allocations: 2.408 MB / 5.569 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/16.91, allocations: 3.242 MB / 5.572 GB, free: 16.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007053/16.92, allocations: 0.6426 MB / 5.573 GB, free: 16.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009947/16.92, allocations: 131.5 kB / 5.573 GB, free: 16.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/16.92, allocations: 3.375 kB / 5.573 GB, free: 16.4 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007155/16.93, allocations: 2.389 MB / 5.575 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/16.93, allocations: 33.69 kB / 5.575 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.169e-05/16.93, allocations: 52.81 kB / 5.575 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/16.93, allocations: 0.6418 MB / 5.576 GB, free: 16.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-05/16.93, allocations: 67.64 kB / 5.576 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004902/16.94, allocations: 445.2 kB / 5.576 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005455/16.94, allocations: 129.3 kB / 5.576 GB, free: 16.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001266/16.94, allocations: 201 kB / 5.577 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/16.94, allocations: 218.2 kB / 5.577 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/16.94, allocations: 1.465 MB / 5.578 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/16.94, allocations: 11.03 kB / 5.578 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/16.94, allocations: 0 / 5.578 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/16.94, allocations: 5.594 kB / 5.578 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/16.96, allocations: 4.687 MB / 5.583 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/16.96, allocations: 5.531 kB / 5.583 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01195/16.97, allocations: 1.954 MB / 5.585 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-05/16.97, allocations: 12.16 kB / 5.585 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003478/16.97, allocations: 17.06 kB / 5.585 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/16.99, allocations: 6.375 MB / 5.591 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-05/16.99, allocations: 4.25 kB / 5.591 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005316/16.99, allocations: 1.924 MB / 5.593 GB, free: 25.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/16.99, allocations: 499.3 kB / 5.593 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/17, allocations: 6.312 kB / 5.593 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004299/17, allocations: 323.1 kB / 5.594 GB, free: 25.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/17, allocations: 71.45 kB / 5.594 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003543/17, allocations: 59.98 kB / 5.594 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.004528/17, allocations: 1.138 MB / 5.595 GB, free: 24.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0159/17.02, allocations: 1.78 MB / 5.597 GB, free: 24.81 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/17.04, allocations: 8.266 MB / 5.605 GB, free: 20.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02593/17.06, allocations: 6.052 MB / 5.611 GB, free: 19.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/17.06, allocations: 4.188 kB / 5.611 GB, free: 19.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.02387/17.09, allocations: 4.162 MB / 5.615 GB, free: 19.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/17.09, allocations: 0.6818 MB / 5.615 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/17.1, allocations: 3.125 MB / 5.618 GB, free: 18.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/17.1, allocations: 1.916 MB / 5.62 GB, free: 17.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.913e-06/17.1, allocations: 0 / 5.62 GB, free: 17.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.7297/17.83, allocations: 81.68 MB / 5.7 GB, free: 128 MB / 0.7605 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)