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.00116/0.00116, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.000962/0.0009621, allocations: 196 kB / 17.98 MB, free: 5.031 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.257/1.257, 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.6639/0.6639, allocations: 115.1 MB / 407 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3195, allocations: 76.14 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5701/0.8897, allocations: 328.4 MB / 0.8783 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0344/0.9241, allocations: 30.06 MB / 0.9076 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.9281, allocations: 96.94 kB / 0.9077 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005324/0.9334, allocations: 2.097 MB / 0.9098 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01428/0.9478, allocations: 4.983 MB / 0.9146 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009857/0.9576, allocations: 3.644 MB / 0.9182 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009773/0.9674, allocations: 6.948 MB / 0.925 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.9717, allocations: 2.879 MB / 0.9278 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.9844, allocations: 5.285 MB / 0.9329 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004651/0.9891, allocations: 2.428 MB / 0.9353 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005921/0.9897, allocations: 292 kB / 0.9356 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008867/0.9986, allocations: 4.805 MB / 0.9403 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.9998, allocations: 1.067 MB / 0.9413 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/1.002, allocations: 1.738 MB / 0.943 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009318/1.012, allocations: 5.746 MB / 0.9486 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.012, allocations: 0 / 0.9486 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/1.012, allocations: 0 / 0.9486 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000106/1.012, allocations: 0 / 0.9486 GB, free: 5.078 MB / 0.6544 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.007544/1.019, allocations: 3.704 MB / 0.9523 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.019, allocations: 12.03 kB / 0.9523 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008738/1.028, allocations: 1.46 MB / 0.9537 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/1.032, allocations: 2.077 MB / 0.9557 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/1.032, allocations: 164.1 kB / 0.9559 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/1.033, allocations: 216 kB / 0.9561 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005281/1.038, allocations: 3.038 MB / 0.959 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/1.038, allocations: 4 kB / 0.9591 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/1.038, allocations: 92 kB / 0.9591 GB, free: 10.01 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.897e-05/1.038, allocations: 92 kB / 0.9592 GB, free: 9.918 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006449/1.045, allocations: 3.111 MB / 0.9623 GB, free: 6.789 MB / 0.67 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.02122/1.066, allocations: 14 MB / 0.9759 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/1.07, allocations: 1.661 MB / 0.9776 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.071, allocations: 0.7743 MB / 0.9783 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/1.072, allocations: 328.6 kB / 0.9786 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.072, allocations: 47.56 kB / 0.9787 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009283/1.073, allocations: 202.1 kB / 0.9789 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.815e-06/1.073, allocations: 0 / 0.9789 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.005109/1.078, allocations: 2.356 MB / 0.9812 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/1.078, allocations: 68.41 kB / 0.9812 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/1.081, allocations: 2.509 MB / 0.9837 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.081, allocations: 57.7 kB / 0.9837 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.082, allocations: 1.261 MB / 0.985 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.083, allocations: 398.4 kB / 0.9853 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/1.083, allocations: 387 kB / 0.9857 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.083, allocations: 309 kB / 0.986 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/1.086, allocations: 0.9455 MB / 0.9869 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/1.088, allocations: 1.566 MB / 0.9885 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/1.092, allocations: 2.232 MB / 0.9906 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.092, allocations: 4 kB / 0.9906 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005772/1.098, allocations: 2.742 MB / 0.9933 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/1.098, allocations: 75.39 kB / 0.9934 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.098, allocations: 15.98 kB / 0.9934 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/1.098, allocations: 27.94 kB / 0.9934 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.101, allocations: 0.5503 MB / 0.994 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/1.102, allocations: 2.383 MB / 0.9963 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/1.105, allocations: 279.9 kB / 0.9966 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.105, allocations: 95.95 kB / 0.9967 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00286/1.108, allocations: 1.374 MB / 0.998 GB, free: 332 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002533/1.111, allocations: 1.566 MB / 0.9995 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004032/1.115, allocations: 2.221 MB / 1.002 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.826e-06/1.115, allocations: 7.938 kB / 1.002 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005759/1.121, allocations: 2.742 MB / 1.004 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/1.121, allocations: 75.39 kB / 1.004 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/1.121, allocations: 12 kB / 1.004 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.121, allocations: 20 kB / 1.004 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/1.123, allocations: 0.4999 MB / 1.005 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.865e-05/1.123, allocations: 35.91 kB / 1.005 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/1.126, allocations: 292.2 kB / 1.005 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.126, allocations: 83.97 kB / 1.005 GB, free: 8.281 MB / 0.7169 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.0005336/1.127, allocations: 299.6 kB / 1.006 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/1.127, allocations: 260.8 kB / 1.006 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/1.131, allocations: 1.835 MB / 1.008 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.131, allocations: 12 kB / 1.008 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/1.131, allocations: 0 / 1.008 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.131, allocations: 3.984 kB / 1.008 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007294/1.138, allocations: 4.512 MB / 1.012 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.138, allocations: 8 kB / 1.012 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.14, allocations: 304 kB / 1.012 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/1.14, allocations: 12 kB / 1.012 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/1.14, allocations: 35.92 kB / 1.012 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/1.141, allocations: 2.364 MB / 1.015 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.141, allocations: 8 kB / 1.015 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/1.145, allocations: 1.983 MB / 1.017 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.146, allocations: 0.5212 MB / 1.017 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/1.146, allocations: 35.86 kB / 1.017 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.148, allocations: 178.1 kB / 1.017 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.148, allocations: 76.78 kB / 1.018 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.148, allocations: 71.95 kB / 1.018 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002508/1.151, allocations: 1.731 MB / 1.019 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.151, allocations: 0 / 1.019 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002741/1.154, allocations: 1.283 MB / 1.021 GB, free: 8.398 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.0006798/1.154, allocations: 377.5 kB / 1.021 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007603/1.162, allocations: 3.554 MB / 1.024 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.162, allocations: 8.188 kB / 1.024 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/1.164, allocations: 0.811 MB / 1.025 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/1.168, allocations: 1.207 MB / 1.026 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2367/1.405, allocations: 4.233 MB / 1.03 GB, free: 318.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/1.406, allocations: 1.697 MB / 1.032 GB, free: 317.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003754/1.41, allocations: 0.7732 MB / 1.033 GB, free: 317.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/1.411, allocations: 196.2 kB / 1.033 GB, free: 317.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.433e-06/1.411, allocations: 3.875 kB / 1.033 GB, free: 317.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.06484/1.476, allocations: 45.67 MB / 1.078 GB, free: 299.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)