Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008387/0.0008388, allocations: 19.98 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7012, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8773/1.579, allocations: 265.9 MB / 0.9876 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03597/1.615, allocations: 27.08 MB / 1.014 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/1.62, allocations: 79.44 kB / 1.014 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00659/1.626, allocations: 1.698 MB / 1.016 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01952/1.646, allocations: 4.735 MB / 1.02 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009042/1.655, allocations: 2.634 MB / 1.023 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009231/1.664, allocations: 4.011 MB / 1.027 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005665/1.67, allocations: 2.26 MB / 1.029 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009291/1.679, allocations: 3.401 MB / 1.032 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004313/1.684, allocations: 1.709 MB / 1.034 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/1.685, allocations: 130.5 kB / 1.034 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00858/1.693, allocations: 2.198 MB / 1.036 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00218/1.695, allocations: 0.8334 MB / 1.037 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002843/1.698, allocations: 0.6347 MB / 1.038 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007672/1.706, allocations: 3.65 MB / 1.041 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.706, allocations: 0 / 1.041 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.954e-06/1.706, allocations: 0 / 1.041 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001914/1.706, allocations: 0 / 1.041 GB, free: 12.02 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.009642/1.716, allocations: 2.968 MB / 1.044 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.716, allocations: 12.03 kB / 1.044 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009884/1.726, allocations: 1.59 MB / 1.046 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/1.731, allocations: 1.89 MB / 1.048 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00135/1.732, allocations: 433.9 kB / 1.048 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006893/1.733, allocations: 219.2 kB / 1.048 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007222/1.74, allocations: 3.104 MB / 1.051 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/1.74, allocations: 2.625 kB / 1.051 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/1.741, allocations: 102.7 kB / 1.051 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/1.741, allocations: 90.75 kB / 1.052 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/1.748, allocations: 3.204 MB / 1.055 GB, free: 0.957 MB / 0.7325 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.02923/1.777, allocations: 14.28 MB / 1.069 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/1.783, allocations: 1.703 MB / 1.07 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/1.783, allocations: 162 kB / 1.07 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/1.784, allocations: 51.56 kB / 1.07 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002286/1.786, allocations: 190.1 kB / 1.071 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 9.208e-06/1.786, allocations: 0 / 1.071 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.007534/1.793, allocations: 2.409 MB / 1.073 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/1.794, allocations: 66.92 kB / 1.073 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006024/1.8, allocations: 2.507 MB / 1.076 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/1.8, allocations: 57.7 kB / 1.076 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/1.801, allocations: 1.245 MB / 1.077 GB, free: 9.219 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/1.802, allocations: 394.4 kB / 1.077 GB, free: 8.828 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.802, allocations: 32 kB / 1.077 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.802, allocations: 369.9 kB / 1.078 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/1.805, allocations: 0.9954 MB / 1.079 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003136/1.808, allocations: 1.568 MB / 1.08 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/1.811, allocations: 1.188 MB / 1.081 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/1.811, allocations: 4 kB / 1.081 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007249/1.819, allocations: 2.874 MB / 1.084 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002562/1.821, allocations: 6.114 MB / 1.09 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/1.821, allocations: 16 kB / 1.09 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.562e-05/1.821, allocations: 24 kB / 1.09 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003428/1.825, allocations: 0.5937 MB / 1.091 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/1.826, allocations: 2.396 MB / 1.093 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/1.831, allocations: 442.3 kB / 1.093 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/1.831, allocations: 99.94 kB / 1.093 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.831, allocations: 4 kB / 1.093 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00695/1.838, allocations: 2.643 MB / 1.096 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/1.838, allocations: 16 kB / 1.096 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/1.839, allocations: 24 kB / 1.096 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.841, allocations: 0.5365 MB / 1.097 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.241e-05/1.841, allocations: 33.7 kB / 1.097 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.845, allocations: 367.4 kB / 1.097 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/1.845, allocations: 95.95 kB / 1.097 GB, free: 3.711 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.001661/1.847, allocations: 0.6284 MB / 1.098 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000885/1.848, allocations: 264.8 kB / 1.098 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/1.853, allocations: 1.877 MB / 1.1 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.853, allocations: 12 kB / 1.1 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.853, allocations: 0 / 1.1 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.853, allocations: 7.969 kB / 1.1 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/1.866, allocations: 4.534 MB / 1.104 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.866, allocations: 11.95 kB / 1.104 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.867, allocations: 311.2 kB / 1.105 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.301e-05/1.867, allocations: 15.98 kB / 1.105 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.868, allocations: 31.98 kB / 1.105 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/1.869, allocations: 2.361 MB / 1.107 GB, free: 9.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/1.869, allocations: 11.47 kB / 1.107 GB, free: 9.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/1.875, allocations: 2.499 MB / 1.109 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/1.877, allocations: 0.5522 MB / 1.11 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009578/1.878, allocations: 27.98 kB / 1.11 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/1.882, allocations: 301.2 kB / 1.11 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.882, allocations: 78.03 kB / 1.11 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.882, allocations: 71.89 kB / 1.11 GB, free: 5.652 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004432/1.887, allocations: 1.733 MB / 1.112 GB, free: 3.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 5e-07/1.887, allocations: 0 / 1.112 GB, free: 3.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00609/1.893, allocations: 1.306 MB / 1.113 GB, free: 2.609 MB / 0.795 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.001115/1.894, allocations: 380.1 kB / 1.114 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009748/1.904, allocations: 3.691 MB / 1.117 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/1.904, allocations: 7.938 kB / 1.117 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/1.906, allocations: 0.8226 MB / 1.118 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006994/1.913, allocations: 1.199 MB / 1.119 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.924, allocations: 4.949 MB / 1.124 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/1.926, allocations: 1.73 MB / 1.126 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005183/1.932, allocations: 0.7816 MB / 1.127 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009636/1.933, allocations: 191.4 kB / 1.127 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of SimCode: time 1.493e-06/1.933, allocations: 0 / 1.127 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of Templates: time 0.07913/2.012, allocations: 44.32 MB / 1.17 GB, free: 9.242 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: