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.007604/0.007604, allocations: 107.9 kB / 15.74 MB, free: 6.449 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.001144/0.001144, allocations: 196 kB / 16.67 MB, free: 6.355 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.563/1.563, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001474/0.001474, allocations: 75.89 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2094, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8374/1.047, allocations: 329 MB / 1.149 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.04094/1.088, allocations: 30.02 MB / 1.179 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005542/1.093, allocations: 99.44 kB / 1.179 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006859/1.1, allocations: 2.113 MB / 1.181 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/1.115, allocations: 5.369 MB / 1.186 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/1.125, allocations: 3.664 MB / 1.19 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01102/1.136, allocations: 7.136 MB / 1.197 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005267/1.141, allocations: 2.886 MB / 1.199 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01322/1.155, allocations: 5.019 MB / 1.204 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005759/1.16, allocations: 2.54 MB / 1.207 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001268/1.162, allocations: 296 kB / 1.207 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009419/1.171, allocations: 4.809 MB / 1.212 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/1.173, allocations: 1.087 MB / 1.213 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003437/1.176, allocations: 1.734 MB / 1.215 GB, free: 324 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.188, allocations: 5.756 MB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.188, allocations: 4 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/1.188, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001448/1.189, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 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.009241/1.198, allocations: 3.669 MB / 1.224 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.198, allocations: 8.031 kB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/1.208, allocations: 1.468 MB / 1.225 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005785/1.214, allocations: 2.056 MB / 1.227 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/1.215, allocations: 172.1 kB / 1.227 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008204/1.215, allocations: 220 kB / 1.228 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00777/1.223, allocations: 3.063 MB / 1.231 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/1.223, allocations: 0 / 1.231 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004159/1.224, allocations: 92 kB / 1.231 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.76e-05/1.224, allocations: 96.06 kB / 1.231 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007982/1.232, allocations: 3.111 MB / 1.234 GB, free: 12.3 MB / 0.9825 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.02675/1.259, allocations: 14.02 MB / 1.247 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/1.263, allocations: 1.658 MB / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/1.265, allocations: 0.776 MB / 1.25 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006693/1.266, allocations: 324.2 kB / 1.25 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/1.266, allocations: 51.56 kB / 1.25 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00129/1.267, allocations: 194.1 kB / 1.25 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 5.71e-06/1.267, allocations: 3.938 kB / 1.25 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.006396/1.273, allocations: 2.352 MB / 1.253 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.273, allocations: 64.41 kB / 1.253 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/1.278, allocations: 2.491 MB / 1.255 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002598/1.278, allocations: 53.7 kB / 1.255 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.28, allocations: 1.245 MB / 1.256 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/1.28, allocations: 390.4 kB / 1.257 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007987/1.281, allocations: 395 kB / 1.257 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.281, allocations: 305.1 kB / 1.257 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/1.284, allocations: 0.9493 MB / 1.258 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/1.287, allocations: 1.524 MB / 1.26 GB, free: 32 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/1.292, allocations: 2.276 MB / 1.262 GB, free: 13.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/1.292, allocations: 4 kB / 1.262 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007247/1.299, allocations: 2.773 MB / 1.265 GB, free: 10.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/1.299, allocations: 71.41 kB / 1.265 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/1.299, allocations: 12.75 kB / 1.265 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.57e-05/1.299, allocations: 24 kB / 1.265 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/1.302, allocations: 0.5655 MB / 1.265 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/1.304, allocations: 2.395 MB / 1.268 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/1.307, allocations: 283.8 kB / 1.268 GB, free: 7.293 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/1.307, allocations: 95.95 kB / 1.268 GB, free: 7.199 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003413/1.311, allocations: 1.382 MB / 1.27 GB, free: 5.812 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003097/1.314, allocations: 1.516 MB / 1.271 GB, free: 4.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004882/1.319, allocations: 2.268 MB / 1.273 GB, free: 1.574 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-05/1.319, allocations: 4 kB / 1.273 GB, free: 1.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006795/1.326, allocations: 2.762 MB / 1.276 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/1.326, allocations: 75.39 kB / 1.276 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.326, allocations: 16 kB / 1.276 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.326, allocations: 27.94 kB / 1.276 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/1.328, allocations: 0.5076 MB / 1.277 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/1.328, allocations: 35.84 kB / 1.277 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/1.332, allocations: 295.6 kB / 1.277 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/1.332, allocations: 91.95 kB / 1.277 GB, free: 13.73 MB / 1.029 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.0005402/1.333, allocations: 291.7 kB / 1.277 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/1.333, allocations: 260.8 kB / 1.277 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/1.337, allocations: 1.843 MB / 1.279 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.338, allocations: 16 kB / 1.279 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.338, allocations: 0 / 1.279 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.338, allocations: 7.969 kB / 1.279 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008456/1.346, allocations: 4.504 MB / 1.284 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.346, allocations: 8 kB / 1.284 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.348, allocations: 303.9 kB / 1.284 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/1.348, allocations: 16 kB / 1.284 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-05/1.348, allocations: 27.98 kB / 1.284 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/1.349, allocations: 2.368 MB / 1.286 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/1.349, allocations: 8 kB / 1.286 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/1.354, allocations: 1.975 MB / 1.288 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/1.355, allocations: 0.5368 MB / 1.289 GB, free: 1.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/1.355, allocations: 27.91 kB / 1.289 GB, free: 1.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/1.358, allocations: 190.5 kB / 1.289 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.358, allocations: 80.78 kB / 1.289 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.358, allocations: 59.95 kB / 1.289 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002881/1.361, allocations: 1.715 MB / 1.291 GB, free: 15.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.71e-07/1.361, allocations: 0 / 1.291 GB, free: 15.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003522/1.365, allocations: 1.294 MB / 1.292 GB, free: 13.84 MB / 1.045 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.00083/1.365, allocations: 389.2 kB / 1.292 GB, free: 13.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009109/1.375, allocations: 3.578 MB / 1.296 GB, free: 9.859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.375, allocations: 4.125 kB / 1.296 GB, free: 9.855 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/1.377, allocations: 0.811 MB / 1.297 GB, free: 9.047 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/1.383, allocations: 1.197 MB / 1.298 GB, free: 7.859 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/1.39, allocations: 4.181 MB / 1.302 GB, free: 3.574 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.392, allocations: 1.676 MB / 1.304 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003047/1.395, allocations: 0.7776 MB / 1.304 GB, free: 1.074 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006167/1.395, allocations: 195.4 kB / 1.305 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/1.395, allocations: 0 / 1.305 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of Templates: time 0.459/1.854, allocations: 45.79 MB / 1.349 GB, free: 380.9 MB / 1.045 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)