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.00109/0.00109, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001179/0.001179, allocations: 185.8 kB / 16.25 MB, free: 6.137 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.1 MB, free: 4.723 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.725/1.725, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001341/0.001341, allocations: 69.97 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2316, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7115/0.9431, allocations: 324.7 MB / 1.1 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03584/0.979, allocations: 29.67 MB / 1.129 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/0.9829, allocations: 91.44 kB / 1.129 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006142/0.9891, allocations: 1.847 MB / 1.131 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01299/1.002, allocations: 4.647 MB / 1.135 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009048/1.011, allocations: 3.391 MB / 1.139 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.022, allocations: 6.917 MB / 1.145 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004793/1.026, allocations: 2.806 MB / 1.148 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01494/1.041, allocations: 5.227 MB / 1.153 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004982/1.046, allocations: 2.542 MB / 1.156 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/1.048, allocations: 300 kB / 1.156 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/1.058, allocations: 5.073 MB / 1.161 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002073/1.06, allocations: 1.079 MB / 1.162 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003818/1.064, allocations: 1.742 MB / 1.164 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.076, allocations: 6.041 MB / 1.17 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.076, allocations: 0 / 1.17 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.715e-06/1.076, allocations: 0 / 1.17 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001839/1.076, allocations: 0 / 1.17 GB, free: 6.934 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.009914/1.086, allocations: 3.704 MB / 1.173 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/1.086, allocations: 8.031 kB / 1.173 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.097, allocations: 1.475 MB / 1.175 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/1.101, allocations: 1.968 MB / 1.177 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/1.102, allocations: 403.7 kB / 1.177 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/1.102, allocations: 220 kB / 1.177 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/1.109, allocations: 3.059 MB / 1.18 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/1.109, allocations: 7.938 kB / 1.18 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/1.109, allocations: 92 kB / 1.18 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.441e-05/1.109, allocations: 88 kB / 1.18 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007/1.116, allocations: 3.142 MB / 1.183 GB, free: 8.453 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.0242/1.14, allocations: 14.1 MB / 1.197 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/1.144, allocations: 1.648 MB / 1.199 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/1.146, allocations: 0.776 MB / 1.2 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/1.147, allocations: 325.2 kB / 1.2 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.148e-05/1.147, allocations: 55.5 kB / 1.2 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/1.149, allocations: 206 kB / 1.2 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 4.018e-06/1.149, allocations: 0 / 1.2 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.005964/1.155, allocations: 2.356 MB / 1.202 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/1.155, allocations: 64.41 kB / 1.203 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/1.159, allocations: 2.537 MB / 1.205 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/1.159, allocations: 61.7 kB / 1.205 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009244/1.16, allocations: 1.264 MB / 1.206 GB, free: 15.83 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/1.16, allocations: 394.4 kB / 1.207 GB, free: 15.44 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006548/1.161, allocations: 395 kB / 1.207 GB, free: 15.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/1.161, allocations: 305.1 kB / 1.207 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/1.163, allocations: 0.9728 MB / 1.208 GB, free: 13.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002896/1.166, allocations: 1.614 MB / 1.21 GB, free: 11.88 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004548/1.171, allocations: 2.272 MB / 1.212 GB, free: 9.406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.171, allocations: 4 kB / 1.212 GB, free: 9.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00673/1.178, allocations: 2.824 MB / 1.215 GB, free: 6.555 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/1.178, allocations: 75.33 kB / 1.215 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/1.178, allocations: 20.75 kB / 1.215 GB, free: 6.449 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/1.178, allocations: 24.03 kB / 1.215 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/1.181, allocations: 0.5695 MB / 1.216 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/1.182, allocations: 2.387 MB / 1.218 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003937/1.186, allocations: 399.5 kB / 1.218 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/1.186, allocations: 91.95 kB / 1.218 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00333/1.19, allocations: 1.41 MB / 1.22 GB, free: 1.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002909/1.193, allocations: 1.602 MB / 1.221 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004491/1.197, allocations: 2.269 MB / 1.223 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.087e-05/1.197, allocations: 4 kB / 1.223 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006583/1.204, allocations: 2.828 MB / 1.226 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/1.204, allocations: 71.39 kB / 1.226 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.204, allocations: 12 kB / 1.226 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.204, allocations: 24 kB / 1.226 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.206, allocations: 0.5152 MB / 1.227 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.371e-05/1.207, allocations: 39.8 kB / 1.227 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.21, allocations: 400 kB / 1.227 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/1.211, allocations: 91.95 kB / 1.227 GB, free: 9.129 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.0006778/1.211, allocations: 291.8 kB / 1.228 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/1.212, allocations: 260.8 kB / 1.228 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/1.216, allocations: 1.851 MB / 1.23 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.216, allocations: 15.94 kB / 1.23 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.216, allocations: 0 / 1.23 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.216, allocations: 3.984 kB / 1.23 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008185/1.224, allocations: 4.493 MB / 1.234 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.225, allocations: 4 kB / 1.234 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.226, allocations: 304 kB / 1.234 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.226, allocations: 8 kB / 1.234 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/1.226, allocations: 35.98 kB / 1.234 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/1.227, allocations: 2.367 MB / 1.237 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.228, allocations: 15.86 kB / 1.237 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/1.232, allocations: 1.975 MB / 1.239 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.233, allocations: 0.5211 MB / 1.239 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/1.233, allocations: 31.98 kB / 1.239 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.236, allocations: 263.1 kB / 1.239 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.236, allocations: 84.72 kB / 1.24 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.236, allocations: 63.95 kB / 1.24 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002998/1.239, allocations: 1.747 MB / 1.241 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.3e-07/1.239, allocations: 0 / 1.241 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003666/1.243, allocations: 1.306 MB / 1.243 GB, free: 9.137 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.0007449/1.244, allocations: 370.3 kB / 1.243 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009593/1.253, allocations: 3.784 MB / 1.247 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/1.253, allocations: 4 kB / 1.247 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.255, allocations: 0.8079 MB / 1.247 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/1.261, allocations: 1.204 MB / 1.249 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008638/1.27, allocations: 5.226 MB / 1.254 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.271, allocations: 1.693 MB / 1.255 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003987/1.275, allocations: 0.7818 MB / 1.256 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/1.276, allocations: 195.4 kB / 1.256 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/1.276, allocations: 0 / 1.256 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of Templates: time 0.4255/1.701, allocations: 47.49 MB / 1.303 GB, free: 395.1 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)