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.0009031/0.0009031, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001034/0.001034, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.412/1.412, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7035/0.7035, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8.234 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4103, allocations: 77.53 MB / 0.5606 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6798/1.09, allocations: 321.9 MB / 0.8749 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03706/1.127, allocations: 29.91 MB / 0.9041 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004414/1.132, allocations: 89.59 kB / 0.9042 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005609/1.137, allocations: 1.753 MB / 0.9059 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0139/1.151, allocations: 4.701 MB / 0.9105 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009899/1.161, allocations: 3.344 MB / 0.9138 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01311/1.174, allocations: 9.633 MB / 0.9232 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004834/1.179, allocations: 2.359 MB / 0.9255 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/1.193, allocations: 4.682 MB / 0.9301 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005916/1.199, allocations: 2.396 MB / 0.9324 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001105/1.201, allocations: 132 kB / 0.9325 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/1.212, allocations: 5.596 MB / 0.938 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001869/1.214, allocations: 0.8991 MB / 0.9389 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003919/1.218, allocations: 1.56 MB / 0.9404 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007718/1.226, allocations: 4.15 MB / 0.9445 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.226, allocations: 0 / 0.9445 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.244e-06/1.226, allocations: 0 / 0.9445 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001585/1.226, allocations: 0 / 0.9445 GB, free: 4.914 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.008776/1.235, allocations: 3.061 MB / 0.9475 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.235, allocations: 8.031 kB / 0.9475 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.245, allocations: 1.577 MB / 0.949 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006171/1.251, allocations: 1.999 MB / 0.951 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001455/1.253, allocations: 432.1 kB / 0.9514 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007978/1.253, allocations: 216 kB / 0.9516 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008235/1.262, allocations: 3.105 MB / 0.9546 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.589e-05/1.262, allocations: 11.81 kB / 0.9546 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004346/1.262, allocations: 95.98 kB / 0.9547 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/1.262, allocations: 88 kB / 0.9548 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008237/1.271, allocations: 3.22 MB / 0.9579 GB, free: 6.789 MB / 0.6544 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.02428/1.295, allocations: 14.28 MB / 0.9719 GB, free: 7.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/1.299, allocations: 1.688 MB / 0.9735 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/1.301, allocations: 0.7989 MB / 0.9743 GB, free: 4.914 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/1.302, allocations: 341.1 kB / 0.9746 GB, free: 4.527 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/1.302, allocations: 51.56 kB / 0.9747 GB, free: 4.469 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001274/1.303, allocations: 194.1 kB / 0.9749 GB, free: 4.277 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 6.442e-06/1.303, allocations: 0 / 0.9749 GB, free: 4.277 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.0062/1.309, allocations: 2.418 MB / 0.9772 GB, free: 1.848 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/1.309, allocations: 64.41 kB / 0.9773 GB, free: 1.773 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/1.314, allocations: 2.56 MB / 0.9798 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.314, allocations: 61.7 kB / 0.9798 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.315, allocations: 1.261 MB / 0.9811 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/1.315, allocations: 390.5 kB / 0.9815 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/1.316, allocations: 133.6 kB / 0.9816 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.316, allocations: 301.1 kB / 0.9819 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/1.319, allocations: 0.9993 MB / 0.9828 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/1.322, allocations: 1.62 MB / 0.9844 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/1.327, allocations: 2.31 MB / 0.9867 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.327, allocations: 4 kB / 0.9867 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007025/1.334, allocations: 2.872 MB / 0.9895 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004303/1.334, allocations: 0.5408 MB / 0.99 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/1.335, allocations: 12 kB / 0.99 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.276e-05/1.335, allocations: 24 kB / 0.9901 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/1.338, allocations: 0.5851 MB / 0.9906 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/1.339, allocations: 2.387 MB / 0.993 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003863/1.343, allocations: 439.6 kB / 0.9934 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/1.343, allocations: 91.89 kB / 0.9935 GB, free: 392 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.343, allocations: 6.031 kB / 0.9935 GB, free: 388 kB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006473/1.35, allocations: 2.623 MB / 0.996 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/1.35, allocations: 19.98 kB / 0.996 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/1.35, allocations: 20 kB / 0.9961 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/1.352, allocations: 0.5233 MB / 0.9966 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.31e-05/1.352, allocations: 35.8 kB / 0.9966 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/1.356, allocations: 373.6 kB / 0.997 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/1.356, allocations: 95.95 kB / 0.9971 GB, free: 12.69 MB / 0.7012 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.001447/1.358, allocations: 0.6177 MB / 0.9977 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006708/1.358, allocations: 264.8 kB / 0.9979 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/1.363, allocations: 1.878 MB / 0.9997 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/1.363, allocations: 12 kB / 0.9998 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.363, allocations: 0 / 0.9998 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.363, allocations: 7.969 kB / 0.9998 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009926/1.373, allocations: 4.551 MB / 1.004 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.373, allocations: 8 kB / 1.004 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.375, allocations: 312.3 kB / 1.005 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.148e-05/1.375, allocations: 8 kB / 1.005 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.375, allocations: 35.98 kB / 1.005 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.376, allocations: 2.371 MB / 1.007 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.377, allocations: 7.938 kB / 1.007 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/1.381, allocations: 2.014 MB / 1.009 GB, free: 268 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/1.383, allocations: 0.5446 MB / 1.009 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007925/1.384, allocations: 28 kB / 1.009 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/1.387, allocations: 291.6 kB / 1.01 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/1.387, allocations: 76.73 kB / 1.01 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.387, allocations: 67.95 kB / 1.01 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004459/1.392, allocations: 1.774 MB / 1.012 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/1.392, allocations: 0 / 1.012 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005894/1.398, allocations: 1.295 MB / 1.013 GB, free: 12.16 MB / 0.7169 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.001145/1.399, allocations: 376.2 kB / 1.013 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.41, allocations: 3.691 MB / 1.017 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.41, allocations: 0 / 1.017 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/1.412, allocations: 0.8307 MB / 1.018 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009546/1.421, allocations: 1.325 MB / 1.019 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00991/1.431, allocations: 5.355 MB / 1.024 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2825/1.714, allocations: 1.676 MB / 1.026 GB, free: 300.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.715, allocations: 247.8 kB / 1.026 GB, free: 300.3 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/1.715, allocations: 0 / 1.026 GB, free: 300.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.09641/1.812, allocations: 85.84 MB / 1.11 GB, free: 245 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)