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.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001243/0.001243, allocations: 192.8 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 222 MB, free: 4.793 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.489/1.489, allocations: 251.6 MB / 0.5088 GB, free: 3.371 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.001303/0.001303, allocations: 67.91 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5194, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6639/1.183, allocations: 327 MB / 1.043 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03628/1.22, allocations: 30.23 MB / 1.073 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/1.223, allocations: 87.44 kB / 1.073 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005034/1.228, allocations: 1.796 MB / 1.074 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01336/1.242, allocations: 5.049 MB / 1.079 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009177/1.251, allocations: 3.349 MB / 1.083 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01133/1.262, allocations: 9.853 MB / 1.092 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/1.266, allocations: 2.444 MB / 1.095 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/1.277, allocations: 4.522 MB / 1.099 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004915/1.282, allocations: 2.597 MB / 1.102 GB, free: 11.71 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000774/1.283, allocations: 160 kB / 1.102 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/1.293, allocations: 5.615 MB / 1.107 GB, free: 5.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00205/1.295, allocations: 0.9655 MB / 1.108 GB, free: 4.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003424/1.298, allocations: 1.601 MB / 1.11 GB, free: 3.344 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009745/1.308, allocations: 5.928 MB / 1.116 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.308, allocations: 0 / 1.116 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/1.308, allocations: 0 / 1.116 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.037e-05/1.308, allocations: 0 / 1.116 GB, free: 13.4 MB / 0.8106 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.007902/1.316, allocations: 3.684 MB / 1.119 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.316, allocations: 8.031 kB / 1.119 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/1.327, allocations: 1.46 MB / 1.121 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/1.331, allocations: 1.974 MB / 1.123 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001285/1.333, allocations: 384 kB / 1.123 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006401/1.333, allocations: 227.9 kB / 1.123 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006365/1.34, allocations: 3.106 MB / 1.126 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/1.34, allocations: 7.938 kB / 1.126 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002964/1.34, allocations: 88 kB / 1.126 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.05e-05/1.34, allocations: 88.06 kB / 1.126 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006882/1.347, allocations: 3.146 MB / 1.129 GB, free: 14.93 MB / 0.8262 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.0227/1.37, allocations: 14.09 MB / 1.143 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/1.374, allocations: 1.653 MB / 1.145 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.375, allocations: 0.7767 MB / 1.146 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/1.376, allocations: 321.2 kB / 1.146 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/1.376, allocations: 55.56 kB / 1.146 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001484/1.378, allocations: 198 kB / 1.146 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 4.278e-06/1.378, allocations: 0 / 1.146 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.00572/1.383, allocations: 2.352 MB / 1.148 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.384, allocations: 64.41 kB / 1.148 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/1.388, allocations: 2.511 MB / 1.151 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004347/1.388, allocations: 57.7 kB / 1.151 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/1.389, allocations: 1.244 MB / 1.152 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/1.39, allocations: 398.4 kB / 1.153 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007266/1.391, allocations: 383 kB / 1.153 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/1.391, allocations: 313 kB / 1.153 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/1.393, allocations: 0.9728 MB / 1.154 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/1.396, allocations: 1.54 MB / 1.156 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/1.401, allocations: 2.299 MB / 1.158 GB, free: 24 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.401, allocations: 4 kB / 1.158 GB, free: 20 kB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006602/1.407, allocations: 2.813 MB / 1.161 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.156e-05/1.408, allocations: 75.44 kB / 1.161 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.408, allocations: 16 kB / 1.161 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.525e-05/1.408, allocations: 23.98 kB / 1.161 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/1.411, allocations: 0.5656 MB / 1.161 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/1.412, allocations: 2.398 MB / 1.164 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/1.416, allocations: 403.6 kB / 1.164 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/1.416, allocations: 95.95 kB / 1.164 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003442/1.42, allocations: 1.41 MB / 1.165 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002844/1.423, allocations: 1.532 MB / 1.167 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004532/1.427, allocations: 2.28 MB / 1.169 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.065e-05/1.427, allocations: 15.98 kB / 1.169 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006855/1.434, allocations: 2.801 MB / 1.172 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.937e-05/1.434, allocations: 78.41 kB / 1.172 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/1.434, allocations: 19.98 kB / 1.172 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/1.434, allocations: 24 kB / 1.172 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/1.437, allocations: 0.5187 MB / 1.173 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-05/1.437, allocations: 27.92 kB / 1.173 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/1.44, allocations: 395.4 kB / 1.173 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/1.441, allocations: 91.95 kB / 1.173 GB, free: 15.84 MB / 0.8731 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 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005979/1.441, allocations: 303.6 kB / 1.173 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/1.442, allocations: 260.8 kB / 1.174 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/1.446, allocations: 1.847 MB / 1.175 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.446, allocations: 12 kB / 1.175 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.446, allocations: 4 kB / 1.175 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.446, allocations: 3.984 kB / 1.175 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008596/1.455, allocations: 4.504 MB / 1.18 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.455, allocations: 4 kB / 1.18 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.457, allocations: 303.8 kB / 1.18 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/1.457, allocations: 12 kB / 1.18 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/1.457, allocations: 31.98 kB / 1.18 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/1.458, allocations: 2.371 MB / 1.182 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.458, allocations: 7.938 kB / 1.182 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/1.462, allocations: 1.967 MB / 1.184 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.463, allocations: 0.5368 MB / 1.185 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/1.464, allocations: 31.88 kB / 1.185 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.466, allocations: 272.5 kB / 1.185 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.466, allocations: 84.72 kB / 1.185 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.466, allocations: 63.95 kB / 1.185 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002765/1.469, allocations: 1.738 MB / 1.187 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/1.469, allocations: 4 kB / 1.187 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003397/1.473, allocations: 1.302 MB / 1.188 GB, free: 15.82 MB / 0.8887 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000703/1.473, allocations: 371.1 kB / 1.189 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0085/1.482, allocations: 3.612 MB / 1.192 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.482, allocations: 4 kB / 1.192 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.484, allocations: 0.8078 MB / 1.193 GB, free: 11 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/1.489, allocations: 1.23 MB / 1.194 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006951/1.496, allocations: 5.138 MB / 1.199 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.498, allocations: 1.68 MB / 1.201 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003416/1.501, allocations: 0.7777 MB / 1.202 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/1.502, allocations: 195.4 kB / 1.202 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/1.502, allocations: 0 / 1.202 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of Templates: time 0.0715/1.573, allocations: 46.14 MB / 1.247 GB, free: 4.281 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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)