Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001771/0.001771, allocations: 106.9 kB / 15.99 MB, free: 6.352 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.002046/0.002045, allocations: 191.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7589/0.7589, allocations: 122.9 MB / 413.6 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.4906 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3736, allocations: 77.92 MB / 0.5667 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6775/1.051, allocations: 324.7 MB / 0.8838 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03869/1.09, allocations: 29.86 MB / 0.9129 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005186/1.095, allocations: 91.44 kB / 0.913 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00722/1.102, allocations: 1.847 MB / 0.9148 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01756/1.12, allocations: 4.691 MB / 0.9194 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/1.13, allocations: 3.37 MB / 0.9227 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01242/1.143, allocations: 6.969 MB / 0.9295 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005253/1.148, allocations: 2.789 MB / 0.9322 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0168/1.165, allocations: 5.24 MB / 0.9373 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/1.17, allocations: 2.552 MB / 0.9398 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/1.172, allocations: 296 kB / 0.9401 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/1.183, allocations: 5.069 MB / 0.9451 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002309/1.186, allocations: 1.079 MB / 0.9461 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003929/1.19, allocations: 1.738 MB / 0.9478 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0137/1.204, allocations: 6.041 MB / 0.9537 GB, free: 10.9 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.204, allocations: 4 kB / 0.9537 GB, free: 10.9 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.073e-06/1.204, allocations: 4 kB / 0.9537 GB, free: 10.89 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001785/1.204, allocations: 0 / 0.9537 GB, free: 10.89 MB / 0.67 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.01195/1.216, allocations: 3.704 MB / 0.9573 GB, free: 7.105 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/1.216, allocations: 12.61 kB / 0.9574 GB, free: 7.094 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/1.226, allocations: 1.464 MB / 0.9588 GB, free: 5.625 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006014/1.233, allocations: 1.991 MB / 0.9607 GB, free: 3.555 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001401/1.234, allocations: 388.2 kB / 0.9611 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/1.235, allocations: 216 kB / 0.9613 GB, free: 2.961 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008722/1.244, allocations: 3.075 MB / 0.9643 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/1.244, allocations: 7.984 kB / 0.9643 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/1.244, allocations: 91.98 kB / 0.9644 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/1.244, allocations: 88 kB / 0.9645 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007629/1.252, allocations: 3.15 MB / 0.9676 GB, free: 12.39 MB / 0.6856 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.02477/1.277, allocations: 14.07 MB / 0.9813 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/1.281, allocations: 1.649 MB / 0.9829 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/1.283, allocations: 0.7737 MB / 0.9837 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/1.283, allocations: 329.1 kB / 0.984 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.283, allocations: 51.56 kB / 0.984 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/1.285, allocations: 198.1 kB / 0.9842 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.406e-06/1.285, allocations: 0 / 0.9842 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.005836/1.291, allocations: 2.356 MB / 0.9865 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.291, allocations: 64.41 kB / 0.9866 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/1.295, allocations: 2.54 MB / 0.9891 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/1.295, allocations: 53.7 kB / 0.9891 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.296, allocations: 1.276 MB / 0.9904 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/1.296, allocations: 386.5 kB / 0.9907 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006961/1.297, allocations: 387 kB / 0.9911 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.297, allocations: 301.1 kB / 0.9914 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.3, allocations: 0.9611 MB / 0.9923 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/1.303, allocations: 1.597 MB / 0.9939 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004603/1.307, allocations: 2.243 MB / 0.9961 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.307, allocations: 3.938 kB / 0.9961 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006751/1.314, allocations: 2.79 MB / 0.9988 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/1.314, allocations: 77.53 kB / 0.9989 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.314, allocations: 19.97 kB / 0.9989 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/1.314, allocations: 24 kB / 0.9989 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.317, allocations: 0.558 MB / 0.9995 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/1.319, allocations: 2.387 MB / 1.002 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/1.322, allocations: 405.4 kB / 1.002 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.323, allocations: 91.95 kB / 1.002 GB, free: 7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003335/1.326, allocations: 1.41 MB / 1.004 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002951/1.329, allocations: 1.573 MB / 1.005 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004493/1.333, allocations: 2.232 MB / 1.007 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.846e-06/1.333, allocations: 4 kB / 1.007 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.00653/1.34, allocations: 2.777 MB / 1.01 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/1.34, allocations: 75.39 kB / 1.01 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.34, allocations: 15.94 kB / 1.01 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/1.34, allocations: 20 kB / 1.01 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/1.343, allocations: 0.5116 MB / 1.011 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-05/1.343, allocations: 31.86 kB / 1.011 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/1.347, allocations: 410.2 kB / 1.011 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.347, allocations: 87.95 kB / 1.011 GB, free: 13.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (208): * Single equations (assignments): 202 * 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.0005152/1.347, allocations: 296.6 kB / 1.011 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/1.348, allocations: 264.7 kB / 1.012 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.352, allocations: 1.843 MB / 1.014 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.352, allocations: 15.94 kB / 1.014 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.352, allocations: 3.984 kB / 1.014 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.352, allocations: 3.984 kB / 1.014 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008472/1.361, allocations: 4.504 MB / 1.018 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.361, allocations: 8 kB / 1.018 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.363, allocations: 312.3 kB / 1.018 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/1.363, allocations: 12 kB / 1.018 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/1.363, allocations: 27.98 kB / 1.018 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/1.364, allocations: 2.364 MB / 1.021 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.364, allocations: 12.22 kB / 1.021 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/1.368, allocations: 1.975 MB / 1.023 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.37, allocations: 0.5212 MB / 1.023 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/1.37, allocations: 31.92 kB / 1.023 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.373, allocations: 273.2 kB / 1.023 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.373, allocations: 80.73 kB / 1.023 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.373, allocations: 63.94 kB / 1.023 GB, free: 416 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.2588/1.632, allocations: 1.752 MB / 1.025 GB, free: 315.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.72e-07/1.632, allocations: 0.9688 kB / 1.025 GB, free: 315.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004557/1.636, allocations: 1.293 MB / 1.026 GB, free: 315.6 MB / 0.7325 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.000889/1.637, allocations: 371.7 kB / 1.027 GB, free: 315.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.649, allocations: 3.76 MB / 1.03 GB, free: 314.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.649, allocations: 3.344 kB / 1.03 GB, free: 314.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.651, allocations: 0.8115 MB / 1.031 GB, free: 314.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006333/1.657, allocations: 1.218 MB / 1.032 GB, free: 313.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/1.665, allocations: 5.195 MB / 1.038 GB, free: 310.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.667, allocations: 1.697 MB / 1.039 GB, free: 310.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004059/1.671, allocations: 0.7856 MB / 1.04 GB, free: 310.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/1.671, allocations: 197.7 kB / 1.04 GB, free: 310.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/1.671, allocations: 1.156 kB / 1.04 GB, free: 310.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.06342/1.735, allocations: 47.73 MB / 1.087 GB, free: 276.9 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)