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.658/1.658, allocations: 292.6 MB / 307.6 MB, free: 5.156 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.00116/0.00116, allocations: 187.4 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0008076/0.0008077, allocations: 91.19 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.934/5.199, allocations: 2.096 GB / 3.084 GB, free: 86.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/5.199, allocations: 99.69 kB / 3.084 GB, free: 86.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.28/15.48, allocations: 2.817 GB / 5.901 GB, free: 84.66 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.094e-06/15.48, allocations: 1.906 kB / 5.901 GB, free: 84.66 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0002517/15.48, allocations: 70.38 kB / 5.901 GB, free: 84.66 MB / 1.057 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.01443/15.5, allocations: 3.907 MB / 5.905 GB, free: 83.29 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/15.5, allocations: 10.66 kB / 5.905 GB, free: 83.29 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/15.51, allocations: 1.198 MB / 5.906 GB, free: 83.12 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009914/15.52, allocations: 2.591 MB / 5.908 GB, free: 82.71 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001587/15.52, allocations: 437 kB / 5.909 GB, free: 82.71 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/15.52, allocations: 221.3 kB / 5.909 GB, free: 82.71 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/15.53, allocations: 3.128 MB / 5.912 GB, free: 82.3 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/15.53, allocations: 3.625 kB / 5.912 GB, free: 82.3 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003371/15.53, allocations: 92.38 kB / 5.912 GB, free: 82.3 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/15.53, allocations: 90.16 kB / 5.912 GB, free: 82.29 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008199/15.53, allocations: 3.227 MB / 5.915 GB, free: 82.26 MB / 1.057 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02613/15.56, allocations: 14.08 MB / 5.929 GB, free: 74.87 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00487/15.57, allocations: 1.715 MB / 5.931 GB, free: 74.82 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/15.57, allocations: 324.9 kB / 5.931 GB, free: 74.54 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/15.57, allocations: 52.31 kB / 5.931 GB, free: 74.5 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002505/15.57, allocations: 216.2 kB / 5.931 GB, free: 74.46 MB / 1.057 GB Notification: Performance of pre-optimization done (n=110): time 1.225e-05/15.57, allocations: 0 / 5.931 GB, free: 74.46 MB / 1.057 GB Notification: Performance of matching and sorting (n=110): time 0.007655/15.58, allocations: 2.391 MB / 5.934 GB, free: 74.27 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/15.58, allocations: 69.25 kB / 5.934 GB, free: 74.21 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007348/15.58, allocations: 2.24 MB / 5.936 GB, free: 73.99 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0005093/15.58, allocations: 60.3 kB / 5.936 GB, free: 73.96 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/15.59, allocations: 1.282 MB / 5.937 GB, free: 73.51 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006352/15.59, allocations: 390.1 kB / 5.938 GB, free: 73.27 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/15.59, allocations: 37.94 kB / 5.938 GB, free: 73.27 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002176/15.59, allocations: 366.8 kB / 5.938 GB, free: 72.96 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003352/15.59, allocations: 0.996 MB / 5.939 GB, free: 72.96 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/15.59, allocations: 1.664 MB / 5.941 GB, free: 72.19 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/15.6, allocations: 1.214 MB / 5.942 GB, free: 72.1 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/15.6, allocations: 4.031 kB / 5.942 GB, free: 72.1 MB / 1.057 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007994/15.61, allocations: 2.888 MB / 5.945 GB, free: 71.85 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/15.61, allocations: 5.781 MB / 5.95 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/15.61, allocations: 12.34 kB / 5.95 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.703e-05/15.61, allocations: 27.94 kB / 5.95 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/15.61, allocations: 0.5609 MB / 5.951 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/15.61, allocations: 2.388 MB / 5.953 GB, free: 63.41 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/15.62, allocations: 479.5 kB / 5.954 GB, free: 63.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/15.62, allocations: 90.89 kB / 5.954 GB, free: 63.38 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/15.62, allocations: 6 kB / 5.954 GB, free: 63.38 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006806/15.62, allocations: 2.648 MB / 5.956 GB, free: 63.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/15.62, allocations: 14.22 kB / 5.956 GB, free: 63.29 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/15.62, allocations: 23.66 kB / 5.956 GB, free: 63.29 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/15.63, allocations: 0.5341 MB / 5.957 GB, free: 63.29 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-05/15.63, allocations: 28.95 kB / 5.957 GB, free: 63.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/15.63, allocations: 397.1 kB / 5.957 GB, free: 63.26 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/15.63, allocations: 97.39 kB / 5.957 GB, free: 63.26 MB / 1.057 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 () * Number of clocked 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.00179/15.63, allocations: 0.6335 MB / 5.958 GB, free: 63.06 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/15.63, allocations: 262.5 kB / 5.958 GB, free: 62.92 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/15.64, allocations: 1.866 MB / 5.96 GB, free: 62.82 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/15.64, allocations: 10.81 kB / 5.96 GB, free: 62.82 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/15.64, allocations: 0.6094 kB / 5.96 GB, free: 62.82 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/15.64, allocations: 5.062 kB / 5.96 GB, free: 62.82 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/15.65, allocations: 4.508 MB / 5.965 GB, free: 62.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/15.65, allocations: 3.344 kB / 5.965 GB, free: 62.25 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/15.65, allocations: 317 kB / 5.965 GB, free: 62.25 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/15.65, allocations: 12.22 kB / 5.965 GB, free: 62.25 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/15.65, allocations: 29.36 kB / 5.965 GB, free: 62.25 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007513/15.65, allocations: 2.373 MB / 5.967 GB, free: 59.91 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/15.65, allocations: 14.03 kB / 5.967 GB, free: 59.91 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/15.66, allocations: 2.498 MB / 5.97 GB, free: 58.72 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/15.66, allocations: 0.5404 MB / 5.97 GB, free: 58.49 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008199/15.66, allocations: 20.12 kB / 5.97 GB, free: 58.49 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/15.66, allocations: 289.1 kB / 5.97 GB, free: 58.48 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/15.66, allocations: 87.92 kB / 5.971 GB, free: 58.47 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/15.66, allocations: 62.08 kB / 5.971 GB, free: 58.47 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.003657/15.67, allocations: 1.746 MB / 5.972 GB, free: 58.32 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.9e-07/15.67, allocations: 3.312 kB / 5.972 GB, free: 58.32 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.008287/15.67, allocations: 1.924 MB / 5.974 GB, free: 58.2 MB / 1.057 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 () * Number of clocked 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.01174/15.69, allocations: 7.633 MB / 5.982 GB, free: 53.97 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009581/15.69, allocations: 3.662 MB / 5.985 GB, free: 53.7 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-05/15.7, allocations: 3.875 kB / 5.985 GB, free: 53.7 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/15.7, allocations: 0.8127 MB / 5.986 GB, free: 53.69 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006496/15.7, allocations: 1.203 MB / 5.987 GB, free: 53.65 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/15.71, allocations: 5.006 MB / 5.992 GB, free: 51.34 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/15.72, allocations: 1.747 MB / 5.994 GB, free: 50.59 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.005059/15.72, allocations: 0.7875 MB / 5.995 GB, free: 50.57 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008917/15.72, allocations: 197.7 kB / 5.995 GB, free: 50.56 MB / 1.057 GB Notification: Performance of SimCode: time 1.233e-06/15.72, allocations: 0 / 5.995 GB, free: 50.56 MB / 1.057 GB Notification: Performance of Templates: time 0.1532/15.88, allocations: 110.7 MB / 6.103 GB, free: 43.28 MB / 1.057 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)