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.001222/0.001222, allocations: 118.4 kB / 17.1 MB, free: 6.008 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.001188/0.001188, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6709/0.6709, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.81 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.11, allocations: 76.18 MB / 0.6328 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5418/0.6519, allocations: 328.4 MB / 0.9534 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03244/0.6843, allocations: 30.07 MB / 0.9828 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.6873, allocations: 99.38 kB / 0.9829 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004437/0.6918, allocations: 2.085 MB / 0.9849 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.7031, allocations: 4.987 MB / 0.9898 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007763/0.7109, allocations: 3.648 MB / 0.9934 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008272/0.7192, allocations: 6.954 MB / 1 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003876/0.7231, allocations: 2.859 MB / 1.003 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.7339, allocations: 5.347 MB / 1.008 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.7378, allocations: 2.428 MB / 1.011 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006851/0.7385, allocations: 292 kB / 1.011 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00799/0.7465, allocations: 4.809 MB / 1.016 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.7476, allocations: 1.067 MB / 1.017 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002349/0.75, allocations: 1.734 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007851/0.7579, allocations: 5.753 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7579, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7579, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.033e-05/0.7579, allocations: 4 kB / 1.024 GB, free: 11.47 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.00648/0.7644, allocations: 3.696 MB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.7645, allocations: 12.02 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009546/0.774, allocations: 1.464 MB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.7777, allocations: 2.073 MB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.7779, allocations: 168.1 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.7782, allocations: 220 kB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/0.7837, allocations: 3.035 MB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.7837, allocations: 4 kB / 1.034 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.784, allocations: 91.94 kB / 1.034 GB, free: 420 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-05/0.7841, allocations: 103.9 kB / 1.034 GB, free: 312 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006458/0.7905, allocations: 3.099 MB / 1.038 GB, free: 13.18 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.269/1.06, allocations: 14 MB / 1.051 GB, free: 322.1 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/1.063, allocations: 1.654 MB / 1.053 GB, free: 322.1 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/1.065, allocations: 0.7769 MB / 1.054 GB, free: 322.1 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/1.066, allocations: 323.9 kB / 1.054 GB, free: 321.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.066, allocations: 54.42 kB / 1.054 GB, free: 321.7 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009393/1.067, allocations: 198.9 kB / 1.054 GB, free: 321.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=110): time 3.547e-06/1.067, allocations: 0 / 1.054 GB, free: 321.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=110): time 0.005429/1.072, allocations: 2.354 MB / 1.056 GB, free: 321.1 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/1.072, allocations: 64.88 kB / 1.056 GB, free: 321 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/1.075, allocations: 2.515 MB / 1.059 GB, free: 320.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/1.075, allocations: 55.45 kB / 1.059 GB, free: 320.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006819/1.076, allocations: 1.27 MB / 1.06 GB, free: 319.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/1.076, allocations: 387.6 kB / 1.061 GB, free: 318.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006626/1.077, allocations: 385.1 kB / 1.061 GB, free: 318.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.438e-05/1.077, allocations: 302.4 kB / 1.061 GB, free: 318.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/1.08, allocations: 0.9494 MB / 1.062 GB, free: 318.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/1.082, allocations: 1.563 MB / 1.064 GB, free: 317.1 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/1.086, allocations: 2.232 MB / 1.066 GB, free: 315.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.086, allocations: 7.031 kB / 1.066 GB, free: 315.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005716/1.092, allocations: 2.756 MB / 1.069 GB, free: 315 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/1.092, allocations: 70.88 kB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.092, allocations: 11.91 kB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/1.092, allocations: 22.12 kB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/1.095, allocations: 0.5441 MB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000752/1.096, allocations: 2.394 MB / 1.072 GB, free: 312.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.099, allocations: 285.1 kB / 1.072 GB, free: 312.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/1.099, allocations: 87.41 kB / 1.072 GB, free: 312.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002817/1.102, allocations: 1.38 MB / 1.073 GB, free: 311.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002301/1.104, allocations: 1.569 MB / 1.075 GB, free: 310.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003663/1.108, allocations: 2.219 MB / 1.077 GB, free: 309.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.621e-06/1.108, allocations: 3.969 kB / 1.077 GB, free: 309.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005194/1.113, allocations: 2.743 MB / 1.08 GB, free: 308.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/1.113, allocations: 66.92 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.113, allocations: 19.38 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.113, allocations: 23.69 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.115, allocations: 0.4978 MB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.115, allocations: 31.5 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/1.118, allocations: 288.1 kB / 1.081 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.118, allocations: 94.98 kB / 1.081 GB, free: 308.5 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.0004027/1.119, allocations: 293.9 kB / 1.081 GB, free: 308.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/1.119, allocations: 260.7 kB / 1.081 GB, free: 308.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/1.123, allocations: 1.842 MB / 1.083 GB, free: 307.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.123, allocations: 11.69 kB / 1.083 GB, free: 307.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.123, allocations: 0.5625 kB / 1.083 GB, free: 307.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/1.123, allocations: 0.5172 MB / 1.083 GB, free: 306.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/1.124, allocations: 24.12 kB / 1.083 GB, free: 306.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.126, allocations: 166.6 kB / 1.084 GB, free: 306.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.126, allocations: 58.8 kB / 1.084 GB, free: 306.6 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004035/1.13, allocations: 1.727 MB / 1.085 GB, free: 305.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00472/1.135, allocations: 2.809 MB / 1.088 GB, free: 304.1 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001306/1.136, allocations: 0.7164 MB / 1.089 GB, free: 303.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002111/1.138, allocations: 1.735 MB / 1.091 GB, free: 301.7 MB / 0.795 GB Notification: Performance of Backend: time 4.11e-07/1.138, allocations: 0 / 1.091 GB, free: 301.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008112/1.146, allocations: 3.903 MB / 1.094 GB, free: 298 MB / 0.795 GB Notification: Performance of SimCode: time 0.006648/1.153, allocations: 5.035 MB / 1.099 GB, free: 292.9 MB / 0.795 GB Notification: Performance of Templates: time 0.07065/1.223, allocations: 66 MB / 1.164 GB, free: 227.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)