Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4644/0.4644, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001077/0.001077, allocations: 175.6 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.149/1.149, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001764/0.001765, allocations: 115.2 kB / 381 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.297e-06, allocations: 0 / 448.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 61.53 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.43/9.578, allocations: 4.5 GB / 4.998 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/9.578, allocations: 86.58 kB / 4.998 GB, free: 132 MB / 0.5261 GB Notification: Performance of FrontEnd: time 10.15/19.72, allocations: 2.708 GB / 7.706 GB, free: 35.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004206/19.72, allocations: 73.77 kB / 7.706 GB, free: 35.97 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.02445/19.75, allocations: 6.174 MB / 7.712 GB, free: 32.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/19.75, allocations: 10.5 kB / 7.712 GB, free: 32.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/19.75, allocations: 373.6 kB / 7.713 GB, free: 32.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008259/19.76, allocations: 2.955 MB / 7.715 GB, free: 31.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/19.76, allocations: 276.1 kB / 7.716 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/19.76, allocations: 145.4 kB / 7.716 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005351/19.77, allocations: 2.816 MB / 7.719 GB, free: 31.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/19.77, allocations: 2.586 MB / 7.721 GB, free: 31.37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/19.77, allocations: 0 / 7.721 GB, free: 31.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/19.77, allocations: 5.938 kB / 7.721 GB, free: 31.37 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.515e-05/19.77, allocations: 97.55 kB / 7.721 GB, free: 31.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/19.79, allocations: 12.3 MB / 7.733 GB, free: 25.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/19.79, allocations: 1.573 MB / 7.735 GB, free: 25.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/19.79, allocations: 0.7554 MB / 7.736 GB, free: 25.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00379/19.8, allocations: 4.357 MB / 7.74 GB, free: 20.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/19.8, allocations: 56.81 kB / 7.74 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=148): time 3.576e-06/19.8, allocations: 0 / 7.74 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=148): time 0.006693/19.8, allocations: 2.107 MB / 7.742 GB, free: 20.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/19.8, allocations: 118.8 kB / 7.742 GB, free: 20.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/19.81, allocations: 1.527 MB / 7.743 GB, free: 20.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003625/19.81, allocations: 40.17 kB / 7.744 GB, free: 20.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/19.81, allocations: 1.018 MB / 7.745 GB, free: 19.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/19.81, allocations: 0.496 MB / 7.745 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/19.81, allocations: 5.594 kB / 7.745 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001296/19.81, allocations: 392.7 kB / 7.745 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/19.81, allocations: 0.7602 MB / 7.746 GB, free: 19.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/19.81, allocations: 1.631 MB / 7.748 GB, free: 17.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0044/19.82, allocations: 1.504 MB / 7.749 GB, free: 17.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/19.82, allocations: 6.812 kB / 7.749 GB, free: 17.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.008068/19.82, allocations: 3.053 MB / 7.752 GB, free: 17.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002378/19.83, allocations: 10.24 MB / 7.762 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.626e-05/19.83, allocations: 25.25 kB / 7.762 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/19.83, allocations: 319.6 kB / 7.762 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/19.83, allocations: 0.6569 MB / 7.763 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/19.84, allocations: 3.281 MB / 7.766 GB, free: 19.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/19.84, allocations: 301.3 kB / 7.767 GB, free: 19.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/19.84, allocations: 144.4 kB / 7.767 GB, free: 19.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/19.84, allocations: 3.25 kB / 7.767 GB, free: 19.83 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005769/19.84, allocations: 2.694 MB / 7.769 GB, free: 19.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/19.84, allocations: 28.97 kB / 7.769 GB, free: 19.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/19.85, allocations: 320.5 kB / 7.77 GB, free: 19.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/19.85, allocations: 0.5275 MB / 7.77 GB, free: 19.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009417/19.85, allocations: 0.8285 MB / 7.771 GB, free: 19.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/19.85, allocations: 239.9 kB / 7.771 GB, free: 18.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/19.85, allocations: 145.5 kB / 7.771 GB, free: 18.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (289): * Single equations (assignments): 278 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008695/19.85, allocations: 190.5 kB / 7.772 GB, free: 18.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006292/19.86, allocations: 238 kB / 7.772 GB, free: 18.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007877/19.86, allocations: 2.893 MB / 7.775 GB, free: 18.51 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/19.86, allocations: 24.34 kB / 7.775 GB, free: 18.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/19.86, allocations: 1.312 kB / 7.775 GB, free: 18.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/19.86, allocations: 9.141 kB / 7.775 GB, free: 18.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009968/19.87, allocations: 4.535 MB / 7.779 GB, free: 18.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/19.87, allocations: 5.969 kB / 7.779 GB, free: 18.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/19.88, allocations: 420 kB / 7.78 GB, free: 18.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/19.88, allocations: 290.2 kB / 7.78 GB, free: 18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/19.88, allocations: 30.03 kB / 7.78 GB, free: 18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/19.88, allocations: 3.213 MB / 7.783 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/19.88, allocations: 9.438 kB / 7.783 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006551/19.89, allocations: 2.627 MB / 7.786 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/19.89, allocations: 0.5487 MB / 7.786 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/19.89, allocations: 6.312 kB / 7.786 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/19.89, allocations: 152.2 kB / 7.786 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/19.89, allocations: 103.1 kB / 7.786 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/19.89, allocations: 99.52 kB / 7.786 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001726/19.89, allocations: 1.098 MB / 7.787 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01073/19.9, allocations: 2.699 MB / 7.79 GB, free: 13.64 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/19.92, allocations: 5.766 MB / 7.796 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008028/19.92, allocations: 3.871 MB / 7.8 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/19.92, allocations: 2.781 kB / 7.8 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/19.93, allocations: 1.051 MB / 7.801 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/19.93, allocations: 0.8454 MB / 7.801 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008821/19.94, allocations: 3.63 MB / 7.805 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/19.94, allocations: 2.091 MB / 7.807 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of SimCode: time 9.12e-07/19.94, allocations: 2.531 kB / 7.807 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of Templates: time 0.5886/20.53, allocations: 87.77 MB / 7.893 GB, free: 103.1 MB / 0.6823 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)