Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 176.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009163/0.0009159, allocations: 95.62 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.946e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7907, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.509/6.3, allocations: 2.095 GB / 3.068 GB, free: 283.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/6.3, allocations: 91.94 kB / 3.068 GB, free: 283.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.13/17.43, allocations: 2.784 GB / 5.852 GB, free: 73.67 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.413e-06/17.43, allocations: 0 / 5.852 GB, free: 73.67 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003868/17.43, allocations: 69.05 kB / 5.852 GB, free: 73.66 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01162/17.44, allocations: 3.491 MB / 5.855 GB, free: 72.18 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/17.44, allocations: 11.5 kB / 5.855 GB, free: 72.18 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00934/17.45, allocations: 1.192 MB / 5.856 GB, free: 72.01 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007296/17.46, allocations: 2.575 MB / 5.859 GB, free: 71.48 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001232/17.46, allocations: 352.7 kB / 5.859 GB, free: 71.47 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000944/17.46, allocations: 141.2 kB / 5.859 GB, free: 71.47 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005571/17.46, allocations: 2.429 MB / 5.862 GB, free: 71.45 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00661/17.47, allocations: 2.368 MB / 5.864 GB, free: 71.06 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/17.47, allocations: 9.531 kB / 5.864 GB, free: 71.06 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/17.47, allocations: 3.031 kB / 5.864 GB, free: 71.06 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.109e-05/17.47, allocations: 92.84 kB / 5.864 GB, free: 71.05 MB / 1.042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/17.49, allocations: 13.58 MB / 5.878 GB, free: 63.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/17.49, allocations: 1.492 MB / 5.879 GB, free: 63.46 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/17.49, allocations: 0.6053 MB / 5.88 GB, free: 63.45 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/17.49, allocations: 327.6 kB / 5.88 GB, free: 63.17 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/17.49, allocations: 57.14 kB / 5.88 GB, free: 63.12 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001512/17.5, allocations: 160.4 kB / 5.88 GB, free: 63.06 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 4.248e-06/17.5, allocations: 3.938 kB / 5.88 GB, free: 63.06 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.002627/17.5, allocations: 1.518 MB / 5.882 GB, free: 62.88 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/17.5, allocations: 63.62 kB / 5.882 GB, free: 62.82 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/17.5, allocations: 1.559 MB / 5.883 GB, free: 62.59 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/17.5, allocations: 33.14 kB / 5.883 GB, free: 62.56 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007767/17.5, allocations: 1.291 MB / 5.884 GB, free: 62 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/17.5, allocations: 373 kB / 5.885 GB, free: 61.76 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/17.5, allocations: 5.125 kB / 5.885 GB, free: 61.76 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001026/17.5, allocations: 365.7 kB / 5.885 GB, free: 61.45 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009029/17.5, allocations: 0.67 MB / 5.886 GB, free: 61.45 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/17.5, allocations: 1.323 MB / 5.887 GB, free: 60.69 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/17.51, allocations: 1.166 MB / 5.888 GB, free: 60.66 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/17.51, allocations: 2.906 kB / 5.888 GB, free: 60.66 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004599/17.51, allocations: 2.37 MB / 5.891 GB, free: 60.5 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/17.51, allocations: 5.627 MB / 5.896 GB, free: 54.63 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/17.51, allocations: 12.81 kB / 5.896 GB, free: 54.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.156e-05/17.51, allocations: 26 kB / 5.896 GB, free: 54.63 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/17.52, allocations: 0.5699 MB / 5.897 GB, free: 54.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009989/17.52, allocations: 2.402 MB / 5.899 GB, free: 52.29 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/17.52, allocations: 380.8 kB / 5.899 GB, free: 52.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/17.52, allocations: 97.97 kB / 5.899 GB, free: 52.27 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/17.52, allocations: 2.656 kB / 5.899 GB, free: 52.27 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003997/17.53, allocations: 2.136 MB / 5.902 GB, free: 52.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/17.53, allocations: 13.44 kB / 5.902 GB, free: 52.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/17.53, allocations: 22.81 kB / 5.902 GB, free: 52.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/17.53, allocations: 0.5347 MB / 5.902 GB, free: 52.17 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/17.53, allocations: 29.3 kB / 5.902 GB, free: 52.17 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/17.53, allocations: 317.5 kB / 5.902 GB, free: 52.15 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/17.53, allocations: 101.5 kB / 5.903 GB, free: 52.15 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * 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.0005586/17.53, allocations: 161.3 kB / 5.903 GB, free: 52.01 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/17.53, allocations: 220.4 kB / 5.903 GB, free: 51.89 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/17.54, allocations: 1.618 MB / 5.904 GB, free: 51.78 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/17.54, allocations: 11.75 kB / 5.904 GB, free: 51.78 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/17.54, allocations: 2.656 kB / 5.904 GB, free: 51.78 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/17.54, allocations: 7.828 kB / 5.904 GB, free: 51.78 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006971/17.54, allocations: 3.923 MB / 5.908 GB, free: 51.22 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/17.54, allocations: 7.312 kB / 5.908 GB, free: 51.22 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/17.54, allocations: 310.7 kB / 5.909 GB, free: 51.21 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/17.54, allocations: 10.72 kB / 5.909 GB, free: 51.21 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/17.54, allocations: 20.19 kB / 5.909 GB, free: 51.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007283/17.54, allocations: 2.37 MB / 5.911 GB, free: 48.86 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/17.55, allocations: 3.719 kB / 5.911 GB, free: 48.86 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/17.55, allocations: 2.208 MB / 5.913 GB, free: 47.77 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/17.55, allocations: 498.9 kB / 5.914 GB, free: 47.57 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/17.55, allocations: 8.781 kB / 5.914 GB, free: 47.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/17.55, allocations: 248 kB / 5.914 GB, free: 47.55 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/17.55, allocations: 80.64 kB / 5.914 GB, free: 47.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/17.55, allocations: 59.72 kB / 5.914 GB, free: 47.55 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001803/17.55, allocations: 1.153 MB / 5.915 GB, free: 47.4 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.6e-07/17.55, allocations: 2.75 kB / 5.915 GB, free: 47.4 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.005657/17.56, allocations: 1.723 MB / 5.917 GB, free: 47.23 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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.01133/17.57, allocations: 8.263 MB / 5.925 GB, free: 42.96 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005325/17.58, allocations: 2.842 MB / 5.928 GB, free: 42.59 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/17.58, allocations: 7.484 kB / 5.928 GB, free: 42.59 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/17.58, allocations: 0.6276 MB / 5.928 GB, free: 42.55 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/17.58, allocations: 0.7306 MB / 5.929 GB, free: 42.52 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/17.59, allocations: 3.093 MB / 5.932 GB, free: 41.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/17.59, allocations: 1.752 MB / 5.934 GB, free: 40.75 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.004441/17.59, allocations: 0.8204 MB / 5.935 GB, free: 40.71 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/17.59, allocations: 137.7 kB / 5.935 GB, free: 40.7 MB / 1.042 GB Notification: Performance of SimCode: time 9.42e-07/17.59, allocations: 0 / 5.935 GB, free: 40.7 MB / 1.042 GB Notification: Performance of Templates: time 0.1023/17.7, allocations: 69.67 MB / 6.003 GB, free: 19.86 MB / 1.042 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)