Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.338/2.338, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 193.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 99.75 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 54.53 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9849/1.278, allocations: 326.4 MB / 1.537 GB, free: 4 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03718/1.316, allocations: 30.27 MB / 1.566 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00509/1.321, allocations: 89.16 kB / 1.566 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.007723/1.329, allocations: 1.766 MB / 1.568 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01571/1.344, allocations: 4.676 MB / 1.573 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/1.355, allocations: 3.345 MB / 1.576 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01265/1.367, allocations: 9.669 MB / 1.585 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004457/1.372, allocations: 2.433 MB / 1.588 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/1.387, allocations: 4.792 MB / 1.593 GB, free: 12.72 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006575/1.394, allocations: 2.475 MB / 1.595 GB, free: 10.44 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/1.395, allocations: 163.9 kB / 1.595 GB, free: 10.28 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/1.409, allocations: 5.623 MB / 1.601 GB, free: 5.246 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.002375/1.412, allocations: 0.9428 MB / 1.602 GB, free: 4.324 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.004879/1.417, allocations: 1.607 MB / 1.603 GB, free: 2.734 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/1.435, allocations: 5.912 MB / 1.609 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/1.435, allocations: 0 / 1.609 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.018e-06/1.435, allocations: 4 kB / 1.609 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00026/1.435, allocations: 0 / 1.609 GB, free: 13.14 MB / 0.9636 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.01644/1.452, allocations: 3.71 MB / 1.612 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.451e-05/1.452, allocations: 15.97 kB / 1.613 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/1.466, allocations: 1.467 MB / 1.614 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007119/1.473, allocations: 1.974 MB / 1.616 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001926/1.475, allocations: 398.2 kB / 1.616 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/1.476, allocations: 224 kB / 1.616 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.487, allocations: 3.064 MB / 1.619 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/1.487, allocations: 3.938 kB / 1.619 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005775/1.487, allocations: 92 kB / 1.62 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/1.488, allocations: 88 kB / 1.62 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/1.499, allocations: 3.15 MB / 1.623 GB, free: 14.75 MB / 0.9792 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.03231/1.531, allocations: 14.08 MB / 1.636 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/1.537, allocations: 1.656 MB / 1.638 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/1.539, allocations: 0.7773 MB / 1.639 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008218/1.54, allocations: 325 kB / 1.639 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/1.54, allocations: 59.36 kB / 1.639 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001724/1.542, allocations: 194 kB / 1.639 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 8.847e-06/1.542, allocations: 4 kB / 1.639 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=110): time 0.008723/1.551, allocations: 2.356 MB / 1.642 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/1.551, allocations: 68.41 kB / 1.642 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/1.557, allocations: 2.533 MB / 1.644 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/1.558, allocations: 57.7 kB / 1.644 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.559, allocations: 1.268 MB / 1.646 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/1.559, allocations: 390.5 kB / 1.646 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009012/1.56, allocations: 391 kB / 1.646 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.56, allocations: 313 kB / 1.647 GB, free: 5.137 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/1.563, allocations: 0.9728 MB / 1.648 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/1.566, allocations: 1.615 MB / 1.649 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/1.572, allocations: 2.276 MB / 1.651 GB, free: 15.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/1.572, allocations: 4 kB / 1.651 GB, free: 15.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007515/1.58, allocations: 2.821 MB / 1.654 GB, free: 12.95 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/1.58, allocations: 75.39 kB / 1.654 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.58, allocations: 20.06 kB / 1.654 GB, free: 12.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.239e-05/1.58, allocations: 20 kB / 1.654 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/1.583, allocations: 0.5695 MB / 1.655 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/1.584, allocations: 2.395 MB / 1.657 GB, free: 9.766 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.588, allocations: 403.5 kB / 1.657 GB, free: 9.371 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/1.588, allocations: 91.95 kB / 1.658 GB, free: 9.281 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003731/1.592, allocations: 1.406 MB / 1.659 GB, free: 7.871 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003261/1.596, allocations: 1.61 MB / 1.661 GB, free: 5.992 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004886/1.6, allocations: 2.266 MB / 1.663 GB, free: 3.527 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.329e-05/1.6, allocations: 4 kB / 1.663 GB, free: 3.523 MB / 1.01 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007177/1.608, allocations: 2.816 MB / 1.665 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/1.608, allocations: 76.64 kB / 1.666 GB, free: 0.5977 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.608, allocations: 12 kB / 1.666 GB, free: 0.5859 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/1.608, allocations: 24 kB / 1.666 GB, free: 0.5625 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/1.61, allocations: 0.5115 MB / 1.666 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/1.61, allocations: 35.86 kB / 1.666 GB, free: 16 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/1.614, allocations: 405.3 kB / 1.666 GB, free: 15.62 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/1.614, allocations: 91.95 kB / 1.667 GB, free: 15.53 MB / 1.026 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.0006122/1.615, allocations: 290.9 kB / 1.667 GB, free: 15.24 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007498/1.616, allocations: 264.7 kB / 1.667 GB, free: 14.98 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/1.62, allocations: 1.847 MB / 1.669 GB, free: 13.12 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.62, allocations: 12 kB / 1.669 GB, free: 13.11 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.62, allocations: 4.219 kB / 1.669 GB, free: 13.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/1.621, allocations: 7.969 kB / 1.669 GB, free: 13.09 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008701/1.629, allocations: 4.492 MB / 1.673 GB, free: 8.461 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.629, allocations: 7.938 kB / 1.673 GB, free: 8.453 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.631, allocations: 316.2 kB / 1.674 GB, free: 8.145 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/1.631, allocations: 8 kB / 1.674 GB, free: 8.137 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.825e-05/1.631, allocations: 35.98 kB / 1.674 GB, free: 8.102 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/1.632, allocations: 2.364 MB / 1.676 GB, free: 5.645 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.632, allocations: 4 kB / 1.676 GB, free: 5.641 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/1.64, allocations: 3.903 MB / 1.68 GB, free: 1.598 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.641, allocations: 0.525 MB / 1.68 GB, free: 1.051 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004331/1.642, allocations: 31.94 kB / 1.68 GB, free: 1.02 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/1.644, allocations: 268.6 kB / 1.681 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.645, allocations: 80.73 kB / 1.681 GB, free: 0.6797 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.645, allocations: 67.94 kB / 1.681 GB, free: 0.6133 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002996/1.648, allocations: 1.751 MB / 1.682 GB, free: 14.86 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.9e-07/1.648, allocations: 0 / 1.682 GB, free: 14.86 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.003991/1.652, allocations: 1.31 MB / 1.684 GB, free: 13.55 MB / 1.042 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.0008085/1.653, allocations: 377.4 kB / 1.684 GB, free: 13.19 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.009124/1.662, allocations: 3.622 MB / 1.688 GB, free: 9.523 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.662, allocations: 5.875 kB / 1.688 GB, free: 9.52 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/1.664, allocations: 0.811 MB / 1.688 GB, free: 8.707 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006712/1.67, allocations: 1.199 MB / 1.69 GB, free: 7.52 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008753/1.679, allocations: 5.755 MB / 1.695 GB, free: 1.645 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/1.681, allocations: 1.728 MB / 1.697 GB, free: 15.88 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.003893/1.684, allocations: 0.7818 MB / 1.698 GB, free: 15.09 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007241/1.685, allocations: 195.4 kB / 1.698 GB, free: 14.89 MB / 1.057 GB Notification: Performance of SimCode: time 1.472e-06/1.685, allocations: 0 / 1.698 GB, free: 14.89 MB / 1.057 GB Notification: Performance of Templates: time 0.07901/1.764, allocations: 47.45 MB / 1.744 GB, free: 15.91 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)