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.006157/0.006157, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001244/0.001244, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.575/1.575, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.002575/0.002575, allocations: 67.91 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2277, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7736/1.001, allocations: 329 MB / 1.149 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03719/1.038, allocations: 30.01 MB / 1.179 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003768/1.042, allocations: 99.44 kB / 1.179 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006324/1.049, allocations: 2.124 MB / 1.181 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/1.064, allocations: 5.36 MB / 1.186 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.009314/1.073, allocations: 3.655 MB / 1.19 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01012/1.084, allocations: 7.141 MB / 1.197 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/1.088, allocations: 2.89 MB / 1.199 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/1.1, allocations: 5.018 MB / 1.204 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005011/1.105, allocations: 2.539 MB / 1.207 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008655/1.106, allocations: 299.9 kB / 1.207 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.116, allocations: 4.805 MB / 1.212 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00173/1.118, allocations: 1.083 MB / 1.213 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004194/1.122, allocations: 1.738 MB / 1.215 GB, free: 344 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/1.134, allocations: 5.78 MB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.134, allocations: 4 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.814e-06/1.134, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.289e-05/1.134, allocations: 0 / 1.22 GB, free: 10.54 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.007347/1.141, allocations: 3.769 MB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.142, allocations: 12.03 kB / 1.224 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/1.152, allocations: 1.477 MB / 1.225 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/1.156, allocations: 2.07 MB / 1.227 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/1.156, allocations: 176.1 kB / 1.227 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/1.157, allocations: 216 kB / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006076/1.163, allocations: 3.063 MB / 1.231 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/1.163, allocations: 7.938 kB / 1.231 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/1.163, allocations: 88 kB / 1.231 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-05/1.163, allocations: 96.05 kB / 1.231 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006829/1.17, allocations: 3.103 MB / 1.234 GB, free: 12.16 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.02175/1.192, allocations: 14.05 MB / 1.248 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/1.196, allocations: 1.657 MB / 1.249 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/1.198, allocations: 0.7735 MB / 1.25 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/1.199, allocations: 325.1 kB / 1.25 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/1.199, allocations: 55.56 kB / 1.25 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000903/1.199, allocations: 206.6 kB / 1.251 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.055e-06/1.199, allocations: 0 / 1.251 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.005886/1.205, allocations: 2.369 MB / 1.253 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.205, allocations: 64.34 kB / 1.253 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/1.209, allocations: 2.484 MB / 1.255 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/1.209, allocations: 57.7 kB / 1.255 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/1.211, allocations: 1.267 MB / 1.257 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/1.211, allocations: 412.5 kB / 1.257 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006498/1.212, allocations: 391.2 kB / 1.257 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.212, allocations: 305.1 kB / 1.258 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/1.214, allocations: 0.9572 MB / 1.259 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/1.217, allocations: 1.524 MB / 1.26 GB, free: 15.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/1.222, allocations: 2.28 MB / 1.262 GB, free: 13.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/1.222, allocations: 4 kB / 1.262 GB, free: 13.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00665/1.229, allocations: 2.783 MB / 1.265 GB, free: 10.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-05/1.229, allocations: 75.33 kB / 1.265 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.229, allocations: 12 kB / 1.265 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.229, allocations: 24 kB / 1.265 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/1.232, allocations: 0.5583 MB / 1.266 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/1.233, allocations: 2.395 MB / 1.268 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/1.236, allocations: 279.9 kB / 1.268 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/1.237, allocations: 91.95 kB / 1.268 GB, free: 6.969 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003307/1.24, allocations: 1.394 MB / 1.27 GB, free: 5.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002977/1.243, allocations: 1.52 MB / 1.271 GB, free: 3.809 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004887/1.248, allocations: 2.26 MB / 1.273 GB, free: 1.336 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.356e-05/1.248, allocations: 8 kB / 1.273 GB, free: 1.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007003/1.255, allocations: 2.783 MB / 1.276 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/1.255, allocations: 67.39 kB / 1.276 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.255, allocations: 16 kB / 1.276 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.255, allocations: 27.94 kB / 1.276 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/1.258, allocations: 0.5111 MB / 1.277 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.886e-05/1.258, allocations: 31.92 kB / 1.277 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.261, allocations: 283.7 kB / 1.277 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.261, allocations: 107.9 kB / 1.277 GB, free: 13.47 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.0005785/1.262, allocations: 292.6 kB / 1.277 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007423/1.262, allocations: 270.3 kB / 1.278 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/1.267, allocations: 1.843 MB / 1.28 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.267, allocations: 8 kB / 1.28 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.267, allocations: 4 kB / 1.28 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.267, allocations: 8.25 kB / 1.28 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/1.276, allocations: 4.504 MB / 1.284 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.276, allocations: 8.031 kB / 1.284 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.278, allocations: 299.6 kB / 1.284 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/1.278, allocations: 11.98 kB / 1.284 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.278, allocations: 43.97 kB / 1.284 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/1.28, allocations: 2.364 MB / 1.287 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.28, allocations: 11.94 kB / 1.287 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/1.284, allocations: 1.984 MB / 1.289 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.286, allocations: 0.5421 MB / 1.289 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006451/1.287, allocations: 39.92 kB / 1.289 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.289, allocations: 186 kB / 1.289 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/1.289, allocations: 76.78 kB / 1.289 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.29, allocations: 67.95 kB / 1.289 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003707/1.293, allocations: 1.715 MB / 1.291 GB, free: 14.85 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.293, allocations: 0 / 1.291 GB, free: 14.85 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004216/1.298, allocations: 1.295 MB / 1.292 GB, free: 13.55 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.0008913/1.299, allocations: 374.2 kB / 1.293 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009445/1.308, allocations: 3.597 MB / 1.296 GB, free: 9.559 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.308, allocations: 0 / 1.296 GB, free: 9.559 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/1.31, allocations: 0.8112 MB / 1.297 GB, free: 8.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007478/1.318, allocations: 1.205 MB / 1.298 GB, free: 7.559 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008276/1.326, allocations: 4.249 MB / 1.302 GB, free: 3.199 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/1.328, allocations: 1.688 MB / 1.304 GB, free: 1.469 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003503/1.331, allocations: 0.7738 MB / 1.305 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007845/1.332, allocations: 191.3 kB / 1.305 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of SimCode: time 1.002e-06/1.332, allocations: 0 / 1.305 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of Templates: time 0.471/1.803, allocations: 45.81 MB / 1.35 GB, free: 381.1 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)