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.001578/0.001578, allocations: 120.6 kB / 17.09 MB, free: 5.992 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.001719/0.00172, allocations: 196.6 kB / 18.02 MB, free: 5.066 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 70.25 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 76.19 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7018/0.8575, allocations: 328.4 MB / 0.9534 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04213/0.8997, allocations: 30.08 MB / 0.9828 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.9034, allocations: 99.44 kB / 0.9829 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005544/0.909, allocations: 2.097 MB / 0.9849 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.9226, allocations: 4.987 MB / 0.9898 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00959/0.9322, allocations: 3.638 MB / 0.9934 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01131/0.9435, allocations: 6.954 MB / 1 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005524/0.9491, allocations: 2.859 MB / 1.003 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/0.9631, allocations: 5.356 MB / 1.008 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005208/0.9683, allocations: 2.414 MB / 1.011 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.9698, allocations: 296 kB / 1.011 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.9803, allocations: 4.809 MB / 1.016 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002105/0.9825, allocations: 1.067 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004156/0.9866, allocations: 1.738 MB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.9983, allocations: 5.742 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.9983, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9983, allocations: 3.938 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001666/0.9985, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 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.01001/1.009, allocations: 3.697 MB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.009, allocations: 12.03 kB / 1.027 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/1.019, allocations: 1.464 MB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/1.024, allocations: 2.073 MB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/1.024, allocations: 188 kB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007476/1.025, allocations: 216 kB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007404/1.032, allocations: 3.035 MB / 1.034 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/1.032, allocations: 0 / 1.034 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/1.033, allocations: 88 kB / 1.034 GB, free: 264 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/1.033, allocations: 88 kB / 1.034 GB, free: 172 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007616/1.04, allocations: 3.111 MB / 1.037 GB, free: 13.04 MB / 0.795 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.3504/1.391, allocations: 14 MB / 1.051 GB, free: 322.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/1.395, allocations: 1.658 MB / 1.053 GB, free: 322.3 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/1.397, allocations: 0.776 MB / 1.054 GB, free: 322.2 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/1.398, allocations: 323.1 kB / 1.054 GB, free: 322 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.398, allocations: 57.09 kB / 1.054 GB, free: 321.9 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001261/1.399, allocations: 197.3 kB / 1.054 GB, free: 321.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=110): time 5.66e-06/1.399, allocations: 3.25 kB / 1.054 GB, free: 321.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=110): time 0.006359/1.405, allocations: 2.357 MB / 1.056 GB, free: 321.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.405, allocations: 67.14 kB / 1.056 GB, free: 321.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/1.41, allocations: 2.514 MB / 1.059 GB, free: 320.6 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003843/1.41, allocations: 58.86 kB / 1.059 GB, free: 320.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008981/1.411, allocations: 1.263 MB / 1.06 GB, free: 319.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/1.411, allocations: 391.8 kB / 1.061 GB, free: 319.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000816/1.412, allocations: 384.6 kB / 1.061 GB, free: 319.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.085e-05/1.412, allocations: 302.3 kB / 1.061 GB, free: 318.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/1.415, allocations: 0.9471 MB / 1.062 GB, free: 318.6 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/1.418, allocations: 1.561 MB / 1.064 GB, free: 317.6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004822/1.423, allocations: 2.234 MB / 1.066 GB, free: 316.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/1.423, allocations: 4.406 kB / 1.066 GB, free: 316.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006808/1.43, allocations: 2.75 MB / 1.069 GB, free: 315.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/1.43, allocations: 74.84 kB / 1.069 GB, free: 315.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.43, allocations: 15.59 kB / 1.069 GB, free: 315.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/1.43, allocations: 19.84 kB / 1.069 GB, free: 315.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.433, allocations: 0.5433 MB / 1.069 GB, free: 315.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000919/1.434, allocations: 2.396 MB / 1.072 GB, free: 313 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/1.437, allocations: 278.8 kB / 1.072 GB, free: 313 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/1.438, allocations: 88.45 kB / 1.072 GB, free: 312.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003088/1.441, allocations: 1.388 MB / 1.073 GB, free: 312.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002488/1.443, allocations: 1.56 MB / 1.075 GB, free: 311.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003882/1.447, allocations: 2.221 MB / 1.077 GB, free: 310.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/1.447, allocations: 3.969 kB / 1.077 GB, free: 310.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005879/1.453, allocations: 2.742 MB / 1.08 GB, free: 309.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/1.453, allocations: 81.09 kB / 1.08 GB, free: 309.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.453, allocations: 11.81 kB / 1.08 GB, free: 309.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.453, allocations: 23.59 kB / 1.08 GB, free: 309.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/1.455, allocations: 0.4975 MB / 1.08 GB, free: 309.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/1.455, allocations: 27.89 kB / 1.08 GB, free: 309.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/1.459, allocations: 289 kB / 1.081 GB, free: 309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/1.459, allocations: 101.1 kB / 1.081 GB, free: 309 MB / 0.795 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.0005751/1.459, allocations: 290.8 kB / 1.081 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/1.46, allocations: 263.2 kB / 1.081 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/1.464, allocations: 1.845 MB / 1.083 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.464, allocations: 9 kB / 1.083 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.464, allocations: 1.125 kB / 1.083 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/1.464, allocations: 8.5 kB / 1.083 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007508/1.472, allocations: 4.497 MB / 1.087 GB, free: 304.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.472, allocations: 9.641 kB / 1.087 GB, free: 304.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.473, allocations: 304.7 kB / 1.088 GB, free: 304.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.473, allocations: 7 kB / 1.088 GB, free: 304.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/1.473, allocations: 33.98 kB / 1.088 GB, free: 304.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006439/1.474, allocations: 2.376 MB / 1.09 GB, free: 302.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.474, allocations: 8.281 kB / 1.09 GB, free: 302.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/1.478, allocations: 1.974 MB / 1.092 GB, free: 300.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009433/1.479, allocations: 0.5217 MB / 1.092 GB, free: 299.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1.479, allocations: 43.78 kB / 1.092 GB, free: 299.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.481, allocations: 171.8 kB / 1.093 GB, free: 299.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.482, allocations: 80.78 kB / 1.093 GB, free: 299.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.482, allocations: 63.95 kB / 1.093 GB, free: 299.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002433/1.484, allocations: 1.735 MB / 1.094 GB, free: 297.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.81e-07/1.484, allocations: 0 / 1.094 GB, free: 297.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002804/1.487, allocations: 1.29 MB / 1.096 GB, free: 296.6 MB / 0.795 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.0007152/1.488, allocations: 368.7 kB / 1.096 GB, free: 296.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007678/1.495, allocations: 3.557 MB / 1.1 GB, free: 292.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.495, allocations: 4 kB / 1.1 GB, free: 292.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.497, allocations: 0.8111 MB / 1.1 GB, free: 291.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/1.503, allocations: 1.201 MB / 1.102 GB, free: 290.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/1.509, allocations: 4.324 MB / 1.106 GB, free: 286.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/1.51, allocations: 1.68 MB / 1.107 GB, free: 284.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000952/1.511, allocations: 223.3 kB / 1.108 GB, free: 284.3 MB / 0.795 GB Notification: Performance of SimCode: time 6.81e-07/1.511, allocations: 3.938 kB / 1.108 GB, free: 284.3 MB / 0.795 GB Notification: Performance of Templates: time 0.06836/1.579, allocations: 86.1 MB / 1.192 GB, free: 198.5 MB / 0.795 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)