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.001531/0.001531, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 185.8 kB / 16.62 MB, free: 6.613 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.92/1.92, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.00141/0.00141, allocations: 78.27 kB / 0.6722 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2368, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7467/0.9836, allocations: 328.4 MB / 1.105 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03717/1.021, allocations: 29.85 MB / 1.134 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/1.025, allocations: 99.44 kB / 1.134 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005667/1.031, allocations: 2.093 MB / 1.136 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01319/1.044, allocations: 4.954 MB / 1.141 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008887/1.053, allocations: 3.649 MB / 1.145 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009109/1.062, allocations: 6.931 MB / 1.151 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003867/1.066, allocations: 2.865 MB / 1.154 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01301/1.079, allocations: 5.285 MB / 1.159 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004657/1.084, allocations: 2.405 MB / 1.162 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006551/1.084, allocations: 296 kB / 1.162 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009303/1.094, allocations: 4.805 MB / 1.167 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/1.095, allocations: 1.071 MB / 1.168 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002401/1.097, allocations: 1.726 MB / 1.169 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009456/1.107, allocations: 5.746 MB / 1.175 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.107, allocations: 0 / 1.175 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/1.107, allocations: 0 / 1.175 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.684e-05/1.107, allocations: 0 / 1.175 GB, free: 6.305 MB / 0.8887 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.007089/1.114, allocations: 3.693 MB / 1.179 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.114, allocations: 8.031 kB / 1.179 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009725/1.124, allocations: 1.464 MB / 1.18 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/1.128, allocations: 2.073 MB / 1.182 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/1.128, allocations: 172.1 kB / 1.182 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00037/1.129, allocations: 224 kB / 1.182 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/1.135, allocations: 3.042 MB / 1.185 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/1.135, allocations: 0 / 1.185 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/1.135, allocations: 88 kB / 1.185 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.97e-05/1.135, allocations: 92 kB / 1.185 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006884/1.142, allocations: 3.107 MB / 1.189 GB, free: 8.023 MB / 0.9044 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.02345/1.165, allocations: 14.03 MB / 1.202 GB, free: 8.891 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.169, allocations: 1.66 MB / 1.204 GB, free: 7.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/1.171, allocations: 0.7823 MB / 1.205 GB, free: 6.441 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/1.172, allocations: 329.1 kB / 1.205 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/1.172, allocations: 55.56 kB / 1.205 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001062/1.173, allocations: 202 kB / 1.205 GB, free: 5.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 3.106e-06/1.173, allocations: 0 / 1.205 GB, free: 5.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=110): time 0.005755/1.178, allocations: 2.36 MB / 1.207 GB, free: 3.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.179, allocations: 64.41 kB / 1.208 GB, free: 3.359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/1.182, allocations: 2.517 MB / 1.21 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/1.182, allocations: 61.58 kB / 1.21 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.183, allocations: 1.261 MB / 1.211 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/1.184, allocations: 394.4 kB / 1.212 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006604/1.184, allocations: 395 kB / 1.212 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/1.185, allocations: 301.1 kB / 1.212 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/1.187, allocations: 0.9533 MB / 1.213 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/1.19, allocations: 1.587 MB / 1.215 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004564/1.195, allocations: 2.245 MB / 1.217 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/1.195, allocations: 12 kB / 1.217 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006517/1.201, allocations: 2.789 MB / 1.22 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/1.201, allocations: 71.39 kB / 1.22 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/1.201, allocations: 20.03 kB / 1.22 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/1.201, allocations: 20 kB / 1.22 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/1.204, allocations: 0.5538 MB / 1.22 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/1.206, allocations: 2.391 MB / 1.223 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.209, allocations: 279.8 kB / 1.223 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/1.209, allocations: 95.95 kB / 1.223 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003324/1.212, allocations: 1.386 MB / 1.224 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003019/1.215, allocations: 1.587 MB / 1.226 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00467/1.22, allocations: 2.25 MB / 1.228 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.191e-05/1.22, allocations: 7.938 kB / 1.228 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006954/1.227, allocations: 2.778 MB / 1.231 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/1.227, allocations: 71.39 kB / 1.231 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/1.227, allocations: 16 kB / 1.231 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/1.227, allocations: 20 kB / 1.231 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/1.23, allocations: 0.5035 MB / 1.231 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.364e-05/1.23, allocations: 35.88 kB / 1.232 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.233, allocations: 300.2 kB / 1.232 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/1.234, allocations: 91.95 kB / 1.232 GB, free: 9.238 MB / 0.9512 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.0006263/1.234, allocations: 295.7 kB / 1.232 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007917/1.235, allocations: 264.7 kB / 1.232 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/1.24, allocations: 1.831 MB / 1.234 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.24, allocations: 12 kB / 1.234 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.24, allocations: 15.86 kB / 1.234 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.24, allocations: 3.984 kB / 1.234 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009354/1.249, allocations: 4.481 MB / 1.239 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.249, allocations: 4 kB / 1.239 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.251, allocations: 315.6 kB / 1.239 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/1.251, allocations: 8 kB / 1.239 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.251, allocations: 39.98 kB / 1.239 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/1.252, allocations: 2.364 MB / 1.241 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.252, allocations: 4 kB / 1.241 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/1.256, allocations: 1.975 MB / 1.243 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.258, allocations: 0.529 MB / 1.244 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005387/1.258, allocations: 24 kB / 1.244 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.261, allocations: 179.8 kB / 1.244 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.261, allocations: 76.73 kB / 1.244 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.261, allocations: 67.94 kB / 1.244 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003168/1.264, allocations: 1.723 MB / 1.246 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.3e-07/1.264, allocations: 0 / 1.246 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003603/1.268, allocations: 1.291 MB / 1.247 GB, free: 9.375 MB / 0.9669 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.0007775/1.269, allocations: 376.4 kB / 1.247 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008827/1.277, allocations: 3.597 MB / 1.251 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/1.277, allocations: 3.859 kB / 1.251 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.279, allocations: 0.8112 MB / 1.252 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006016/1.285, allocations: 1.186 MB / 1.253 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/1.294, allocations: 4.256 MB / 1.257 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.295, allocations: 1.701 MB / 1.259 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00404/1.299, allocations: 0.7738 MB / 1.259 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/1.3, allocations: 199.4 kB / 1.26 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/1.3, allocations: 0 / 1.26 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.4207/1.721, allocations: 45.42 MB / 1.304 GB, free: 394.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)