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.0008186/0.0008188, allocations: 98.58 kB / 16.02 MB, free: 80 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.001061/0.001062, allocations: 182 kB / 16.92 MB, free: 6.773 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 13.25 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 77.53 MB / 0.5599 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.015/1.179, allocations: 321.9 MB / 0.8743 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02933/1.208, allocations: 29.9 MB / 0.9035 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/1.211, allocations: 85.72 kB / 0.9036 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004099/1.215, allocations: 1.758 MB / 0.9053 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/1.226, allocations: 4.7 MB / 0.9099 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00752/1.234, allocations: 3.346 MB / 0.9131 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0104/1.244, allocations: 9.635 MB / 0.9225 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003869/1.248, allocations: 2.363 MB / 0.9249 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/1.263, allocations: 4.684 MB / 0.9294 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004996/1.268, allocations: 2.398 MB / 0.9318 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005422/1.269, allocations: 130.6 kB / 0.9319 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009135/1.278, allocations: 5.586 MB / 0.9373 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/1.279, allocations: 0.8955 MB / 0.9382 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/1.281, allocations: 1.565 MB / 0.9398 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007911/1.289, allocations: 5.807 MB / 0.9454 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.289, allocations: 3.938 kB / 0.9454 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/1.289, allocations: 0 / 0.9454 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.647e-05/1.289, allocations: 0 / 0.9454 GB, free: 10.4 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.005936/1.295, allocations: 3.063 MB / 0.9484 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/1.295, allocations: 11.69 kB / 0.9484 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009488/1.305, allocations: 1.569 MB / 0.95 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/1.308, allocations: 1.997 MB / 0.9519 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/1.31, allocations: 429.4 kB / 0.9523 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004222/1.31, allocations: 221.3 kB / 0.9525 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/1.317, allocations: 3.107 MB / 0.9556 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/1.317, allocations: 3.188 kB / 0.9556 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/1.317, allocations: 99.72 kB / 0.9557 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/1.317, allocations: 84 kB / 0.9557 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00759/1.325, allocations: 3.226 MB / 0.9589 GB, free: 1.934 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.02365/1.348, allocations: 14.28 MB / 0.9728 GB, free: 2.797 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/1.353, allocations: 1.687 MB / 0.9745 GB, free: 1.113 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/1.354, allocations: 0.7945 MB / 0.9753 GB, free: 328 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/1.355, allocations: 338.8 kB / 0.9756 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/1.355, allocations: 51.56 kB / 0.9756 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001309/1.356, allocations: 197.3 kB / 0.9758 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 4.709e-06/1.356, allocations: 3.938 kB / 0.9758 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.005889/1.362, allocations: 2.421 MB / 0.9782 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.362, allocations: 72.34 kB / 0.9783 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004013/1.366, allocations: 2.556 MB / 0.9808 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002394/1.367, allocations: 57.7 kB / 0.9808 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009802/1.368, allocations: 1.263 MB / 0.982 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/1.368, allocations: 384.6 kB / 0.9824 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.368, allocations: 133.6 kB / 0.9825 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/1.368, allocations: 305.1 kB / 0.9828 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/1.371, allocations: 0.9954 MB / 0.9838 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/1.374, allocations: 1.623 MB / 0.9854 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/1.379, allocations: 2.314 MB / 0.9876 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/1.379, allocations: 4 kB / 0.9877 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00743/1.386, allocations: 2.865 MB / 0.9904 GB, free: 336 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004643/1.387, allocations: 0.5372 MB / 0.991 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.387, allocations: 16 kB / 0.991 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/1.387, allocations: 23.98 kB / 0.991 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/1.39, allocations: 0.5882 MB / 0.9916 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/1.391, allocations: 2.382 MB / 0.9939 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004905/1.396, allocations: 447.5 kB / 0.9943 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002934/1.396, allocations: 87.95 kB / 0.9944 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.396, allocations: 4 kB / 0.9944 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006173/1.402, allocations: 2.619 MB / 0.997 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/1.403, allocations: 16 kB / 0.997 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.403, allocations: 20 kB / 0.997 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/1.405, allocations: 0.5302 MB / 0.9975 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/1.405, allocations: 29.05 kB / 0.9976 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/1.409, allocations: 374.5 kB / 0.9979 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/1.409, allocations: 91.95 kB / 0.998 GB, free: 8.445 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.001368/1.41, allocations: 0.6271 MB / 0.9986 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/1.411, allocations: 264.8 kB / 0.9989 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/1.415, allocations: 1.883 MB / 1.001 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/1.415, allocations: 8 kB / 1.001 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.415, allocations: 2.906 kB / 1.001 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.415, allocations: 11.95 kB / 1.001 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008691/1.424, allocations: 4.549 MB / 1.005 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.424, allocations: 8 kB / 1.005 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.426, allocations: 304.3 kB / 1.005 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/1.426, allocations: 8 kB / 1.005 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-05/1.426, allocations: 35.98 kB / 1.006 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/1.427, allocations: 2.369 MB / 1.008 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/1.427, allocations: 14.52 kB / 1.008 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/1.431, allocations: 2.018 MB / 1.01 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.433, allocations: 0.5405 MB / 1.01 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/1.433, allocations: 28 kB / 1.01 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.435, allocations: 283.5 kB / 1.011 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.436, allocations: 82.75 kB / 1.011 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.436, allocations: 63.95 kB / 1.011 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002938/1.439, allocations: 1.778 MB / 1.013 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.439, allocations: 3.938 kB / 1.013 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003287/1.442, allocations: 1.299 MB / 1.014 GB, free: 8.039 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.0007981/1.443, allocations: 389.2 kB / 1.014 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00899/1.452, allocations: 3.673 MB / 1.018 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.452, allocations: 0 / 1.018 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.454, allocations: 0.8322 MB / 1.019 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009052/1.463, allocations: 1.325 MB / 1.02 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/1.471, allocations: 5.262 MB / 1.025 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.473, allocations: 1.698 MB / 1.027 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004051/1.477, allocations: 0.7858 MB / 1.027 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007887/1.478, allocations: 223.4 kB / 1.028 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of SimCode: time 1.383e-06/1.478, allocations: 0 / 1.028 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.08912/1.567, allocations: 51.13 MB / 1.078 GB, free: 7.465 MB / 0.7794 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)