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.0009505/0.0009506, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 171.3 kB / 16.56 MB, free: 6.391 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.318/1.318, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6635/0.6635, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 8 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5156/0.6488, allocations: 265.3 MB / 0.8159 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.3545/1.003, allocations: 27.1 MB / 0.8424 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003581/1.007, allocations: 77.75 kB / 0.8425 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005489/1.012, allocations: 1.661 MB / 0.8441 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01701/1.029, allocations: 4.832 MB / 0.8488 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007842/1.037, allocations: 2.477 MB / 0.8512 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008195/1.046, allocations: 3.932 MB / 0.8551 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004396/1.05, allocations: 2.245 MB / 0.8573 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009192/1.059, allocations: 3.474 MB / 0.8607 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/1.063, allocations: 1.595 MB / 0.8622 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006521/1.063, allocations: 128.5 kB / 0.8624 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00696/1.07, allocations: 2.202 MB / 0.8645 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/1.072, allocations: 0.82 MB / 0.8653 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/1.073, allocations: 0.6329 MB / 0.8659 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00536/1.078, allocations: 3.614 MB / 0.8694 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.079, allocations: 4 kB / 0.8695 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/1.079, allocations: 4.656 kB / 0.8695 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.042e-05/1.079, allocations: 3.25 kB / 0.8695 GB, free: 23.36 MB / 0.6387 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.006165/1.085, allocations: 2.998 MB / 0.8724 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/1.085, allocations: 8.656 kB / 0.8724 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009384/1.094, allocations: 1.58 MB / 0.8739 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/1.098, allocations: 1.917 MB / 0.8758 GB, free: 20.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/1.099, allocations: 435.5 kB / 0.8762 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003685/1.1, allocations: 215.7 kB / 0.8764 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/1.105, allocations: 3.076 MB / 0.8794 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/1.105, allocations: 8.047 kB / 0.8794 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/1.105, allocations: 89.22 kB / 0.8795 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.488e-05/1.105, allocations: 94.8 kB / 0.8796 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006313/1.112, allocations: 3.202 MB / 0.8827 GB, free: 19.1 MB / 0.6387 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.02027/1.132, allocations: 14.29 MB / 0.8967 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/1.136, allocations: 1.7 MB / 0.8984 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/1.136, allocations: 158 kB / 0.8985 GB, free: 9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.136, allocations: 53.62 kB / 0.8986 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001223/1.137, allocations: 195.9 kB / 0.8987 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 4.148e-06/1.137, allocations: 0 / 0.8987 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110): time 0.005138/1.142, allocations: 2.406 MB / 0.9011 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.143, allocations: 66.12 kB / 0.9012 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/1.146, allocations: 2.536 MB / 0.9036 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/1.146, allocations: 56.48 kB / 0.9037 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/1.147, allocations: 1.27 MB / 0.9049 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/1.147, allocations: 384.5 kB / 0.9053 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.147, allocations: 36.84 kB / 0.9053 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.148, allocations: 374.2 kB / 0.9057 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/1.15, allocations: 0.9824 MB / 0.9066 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/1.153, allocations: 1.612 MB / 0.9082 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/1.155, allocations: 1.19 MB / 0.9094 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.155, allocations: 5.25 kB / 0.9094 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006099/1.161, allocations: 2.845 MB / 0.9122 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001689/1.163, allocations: 5.59 MB / 0.9176 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/1.163, allocations: 13.22 kB / 0.9176 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.163, allocations: 23.88 kB / 0.9177 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.166, allocations: 0.5774 MB / 0.9182 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/1.167, allocations: 2.398 MB / 0.9206 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/1.171, allocations: 445.3 kB / 0.921 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/1.171, allocations: 89.73 kB / 0.9211 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.171, allocations: 6.719 kB / 0.9211 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005847/1.177, allocations: 2.609 MB / 0.9236 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.177, allocations: 12 kB / 0.9236 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.177, allocations: 25.75 kB / 0.9237 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/1.18, allocations: 0.5263 MB / 0.9242 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/1.18, allocations: 29.14 kB / 0.9242 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/1.183, allocations: 372.3 kB / 0.9246 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/1.183, allocations: 96.78 kB / 0.9247 GB, free: 9.164 MB / 0.6544 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 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001324/1.185, allocations: 0.6243 MB / 0.9253 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/1.185, allocations: 260.8 kB / 0.9255 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/1.189, allocations: 1.883 MB / 0.9274 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.19, allocations: 12 kB / 0.9274 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.19, allocations: 4 kB / 0.9274 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.19, allocations: 7.969 kB / 0.9274 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/1.198, allocations: 4.534 MB / 0.9318 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.198, allocations: 7.953 kB / 0.9318 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.2, allocations: 311.3 kB / 0.9321 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/1.2, allocations: 12 kB / 0.9321 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/1.2, allocations: 28.98 kB / 0.9321 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/1.201, allocations: 2.37 MB / 0.9345 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.201, allocations: 12.48 kB / 0.9345 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/1.205, allocations: 2.505 MB / 0.9369 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.207, allocations: 0.5428 MB / 0.9375 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/1.207, allocations: 30.8 kB / 0.9375 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.21, allocations: 286.8 kB / 0.9378 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.21, allocations: 83.67 kB / 0.9378 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.21, allocations: 68.41 kB / 0.9379 GB, free: 13.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00284/1.213, allocations: 1.75 MB / 0.9396 GB, free: 12.62 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.01e-07/1.213, allocations: 4 kB / 0.9396 GB, free: 12.62 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003607/1.216, allocations: 1.3 MB / 0.9409 GB, free: 11.4 MB / 0.67 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007681/1.217, allocations: 377.6 kB / 0.9412 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008645/1.226, allocations: 3.663 MB / 0.9448 GB, free: 8.301 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.226, allocations: 0 / 0.9448 GB, free: 8.301 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/1.228, allocations: 0.8286 MB / 0.9456 GB, free: 7.695 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/1.234, allocations: 1.212 MB / 0.9468 GB, free: 6.699 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008066/1.242, allocations: 5.01 MB / 0.9517 GB, free: 2.047 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.243, allocations: 1.743 MB / 0.9534 GB, free: 328 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003871/1.247, allocations: 0.7857 MB / 0.9542 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006031/1.248, allocations: 193.8 kB / 0.9544 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of SimCode: time 6.62e-07/1.248, allocations: 0 / 0.9544 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of Templates: time 0.0754/1.323, allocations: 44.9 MB / 0.9982 GB, free: 3.195 MB / 0.7169 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)