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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001239/0.001239, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.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.001343/0.001343, allocations: 71.12 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2208, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7027/0.9236, allocations: 324.7 MB / 1.101 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03679/0.9604, allocations: 29.67 MB / 1.13 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00433/0.9648, allocations: 91.44 kB / 1.13 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006157/0.971, allocations: 1.851 MB / 1.131 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.9845, allocations: 4.641 MB / 1.136 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008925/0.9934, allocations: 3.39 MB / 1.139 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009855/1.003, allocations: 6.926 MB / 1.146 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004458/1.008, allocations: 2.799 MB / 1.149 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0134/1.021, allocations: 5.228 MB / 1.154 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005004/1.026, allocations: 2.533 MB / 1.156 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/1.027, allocations: 300 kB / 1.157 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009423/1.037, allocations: 5.077 MB / 1.162 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001832/1.039, allocations: 1.079 MB / 1.163 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003125/1.042, allocations: 1.734 MB / 1.164 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007315/1.049, allocations: 4.296 MB / 1.169 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.049, allocations: 0 / 1.169 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.704e-06/1.049, allocations: 0 / 1.169 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001041/1.049, allocations: 0 / 1.169 GB, free: 8.668 MB / 0.8731 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.009165/1.058, allocations: 3.708 MB / 1.172 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.059, allocations: 8.031 kB / 1.172 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/1.069, allocations: 1.471 MB / 1.174 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/1.073, allocations: 1.972 MB / 1.176 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/1.074, allocations: 399.8 kB / 1.176 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005766/1.075, allocations: 216 kB / 1.176 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/1.081, allocations: 3.066 MB / 1.179 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/1.081, allocations: 7.938 kB / 1.179 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/1.082, allocations: 95.98 kB / 1.179 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.133e-05/1.082, allocations: 92 kB / 1.179 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00705/1.089, allocations: 3.142 MB / 1.182 GB, free: 10.18 MB / 0.8887 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.02365/1.112, allocations: 14.09 MB / 1.196 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/1.116, allocations: 1.657 MB / 1.198 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/1.118, allocations: 0.7766 MB / 1.199 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006696/1.119, allocations: 328.6 kB / 1.199 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.119, allocations: 51.55 kB / 1.199 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001491/1.12, allocations: 206 kB / 1.199 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 5.55e-06/1.12, allocations: 4 kB / 1.199 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.005794/1.126, allocations: 2.352 MB / 1.201 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.126, allocations: 64.41 kB / 1.201 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/1.13, allocations: 2.537 MB / 1.204 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/1.131, allocations: 53.7 kB / 1.204 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.132, allocations: 1.268 MB / 1.205 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/1.132, allocations: 394.4 kB / 1.206 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006999/1.133, allocations: 398.9 kB / 1.206 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.133, allocations: 301.1 kB / 1.206 GB, free: 488 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/1.135, allocations: 0.9807 MB / 1.207 GB, free: 15.49 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/1.138, allocations: 1.602 MB / 1.209 GB, free: 13.61 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/1.143, allocations: 2.276 MB / 1.211 GB, free: 11.13 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/1.143, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00685/1.15, allocations: 2.82 MB / 1.214 GB, free: 8.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/1.15, allocations: 71.39 kB / 1.214 GB, free: 8.203 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/1.15, allocations: 20.69 kB / 1.214 GB, free: 8.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/1.15, allocations: 20 kB / 1.214 GB, free: 8.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.153, allocations: 0.5773 MB / 1.214 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/1.155, allocations: 2.383 MB / 1.217 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.159, allocations: 403.5 kB / 1.217 GB, free: 4.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/1.159, allocations: 99.89 kB / 1.217 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003439/1.162, allocations: 1.406 MB / 1.219 GB, free: 3.207 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002912/1.165, allocations: 1.606 MB / 1.22 GB, free: 1.328 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004541/1.17, allocations: 2.27 MB / 1.222 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.706e-06/1.17, allocations: 4 kB / 1.222 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006656/1.177, allocations: 2.82 MB / 1.225 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/1.177, allocations: 75.39 kB / 1.225 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.177, allocations: 12 kB / 1.225 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.177, allocations: 24 kB / 1.225 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/1.179, allocations: 0.5113 MB / 1.226 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.445e-05/1.179, allocations: 39.8 kB / 1.226 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/1.183, allocations: 407.3 kB / 1.226 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/1.183, allocations: 91.95 kB / 1.226 GB, free: 10.85 MB / 0.9356 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 (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.000566/1.184, allocations: 294.6 kB / 1.227 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/1.184, allocations: 264.8 kB / 1.227 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/1.189, allocations: 1.835 MB / 1.229 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.189, allocations: 15.94 kB / 1.229 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.189, allocations: 0 / 1.229 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.189, allocations: 8.25 kB / 1.229 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/1.197, allocations: 4.489 MB / 1.233 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.197, allocations: 4 kB / 1.233 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.199, allocations: 316.1 kB / 1.233 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/1.199, allocations: 8 kB / 1.233 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/1.199, allocations: 35.97 kB / 1.233 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/1.2, allocations: 2.371 MB / 1.236 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.2, allocations: 7.938 kB / 1.236 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/1.204, allocations: 1.971 MB / 1.238 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.206, allocations: 0.5289 MB / 1.238 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/1.206, allocations: 24 kB / 1.238 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/1.208, allocations: 259.1 kB / 1.238 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.209, allocations: 84.72 kB / 1.239 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.209, allocations: 63.95 kB / 1.239 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002953/1.212, allocations: 1.755 MB / 1.24 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/1.212, allocations: 0 / 1.24 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003827/1.216, allocations: 1.302 MB / 1.242 GB, free: 10.87 MB / 0.9512 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.0008654/1.217, allocations: 365.9 kB / 1.242 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009491/1.226, allocations: 3.8 MB / 1.246 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.226, allocations: 3.938 kB / 1.246 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/1.228, allocations: 0.8079 MB / 1.246 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005872/1.234, allocations: 1.199 MB / 1.248 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/1.242, allocations: 5.298 MB / 1.253 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.244, allocations: 1.68 MB / 1.254 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.245, allocations: 219.3 kB / 1.255 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of SimCode: time 1.092e-06/1.245, allocations: 0 / 1.255 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of Templates: time 0.4539/1.699, allocations: 85.9 MB / 1.338 GB, free: 379.2 MB / 0.9981 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)