Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009392/0.0009394, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009879/0.0009879, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.004/1.004, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005315, allocations: 11.98 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1643, allocations: 83.39 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.4987/0.663, allocations: 265.6 MB / 0.8567 GB, free: 2.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3942/1.057, allocations: 27.17 MB / 0.8832 GB, free: 8.496 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003512/1.061, allocations: 81.75 kB / 0.8833 GB, free: 8.492 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00558/1.066, allocations: 1.662 MB / 0.8849 GB, free: 8.488 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01689/1.083, allocations: 4.689 MB / 0.8895 GB, free: 8.434 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008662/1.092, allocations: 2.609 MB / 0.892 GB, free: 8.391 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009416/1.101, allocations: 3.93 MB / 0.8959 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006928/1.108, allocations: 2.241 MB / 0.8981 GB, free: 24.11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/1.119, allocations: 3.471 MB / 0.9015 GB, free: 24.1 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004835/1.124, allocations: 1.595 MB / 0.903 GB, free: 24.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001416/1.126, allocations: 131.7 kB / 0.9031 GB, free: 24.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008816/1.135, allocations: 2.208 MB / 0.9053 GB, free: 24.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002432/1.137, allocations: 0.8189 MB / 0.9061 GB, free: 24.08 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002526/1.14, allocations: 0.6333 MB / 0.9067 GB, free: 24.05 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007483/1.147, allocations: 3.808 MB / 0.9104 GB, free: 23.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.147, allocations: 1.125 kB / 0.9104 GB, free: 23.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.796e-06/1.147, allocations: 0 / 0.9104 GB, free: 23.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002045/1.147, allocations: 0 / 0.9104 GB, free: 23.77 MB / 0.6856 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.009943/1.157, allocations: 3.004 MB / 0.9134 GB, free: 22.22 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.157, allocations: 8.5 kB / 0.9134 GB, free: 22.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/1.168, allocations: 1.589 MB / 0.9149 GB, free: 21.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005978/1.174, allocations: 1.902 MB / 0.9168 GB, free: 21.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001344/1.176, allocations: 436.5 kB / 0.9172 GB, free: 21.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008936/1.176, allocations: 218.6 kB / 0.9174 GB, free: 21.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00818/1.185, allocations: 3.073 MB / 0.9204 GB, free: 21.01 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/1.185, allocations: 5.688 kB / 0.9204 GB, free: 21.01 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005399/1.185, allocations: 102 kB / 0.9205 GB, free: 21 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.185, allocations: 87.34 kB / 0.9206 GB, free: 20.99 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007283/1.193, allocations: 3.209 MB / 0.9237 GB, free: 20.39 MB / 0.6856 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.02352/1.216, allocations: 14.3 MB / 0.9377 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/1.22, allocations: 1.695 MB / 0.9394 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/1.22, allocations: 164.8 kB / 0.9395 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.22, allocations: 51.62 kB / 0.9396 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001427/1.222, allocations: 194.6 kB / 0.9397 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.146e-06/1.222, allocations: 4 kB / 0.9397 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.005105/1.227, allocations: 2.411 MB / 0.9421 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.227, allocations: 62.88 kB / 0.9422 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/1.23, allocations: 2.54 MB / 0.9446 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002655/1.231, allocations: 56.8 kB / 0.9447 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000747/1.231, allocations: 1.265 MB / 0.9459 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/1.232, allocations: 390.4 kB / 0.9463 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.232, allocations: 37.69 kB / 0.9463 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.232, allocations: 374.4 kB / 0.9467 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/1.234, allocations: 0.9904 MB / 0.9477 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/1.237, allocations: 1.629 MB / 0.9493 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/1.24, allocations: 1.208 MB / 0.9504 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.24, allocations: 3.094 kB / 0.9504 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006531/1.247, allocations: 2.881 MB / 0.9533 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.002124/1.249, allocations: 5.774 MB / 0.9589 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/1.249, allocations: 17.67 kB / 0.9589 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.662e-05/1.249, allocations: 23.69 kB / 0.9589 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/1.252, allocations: 0.5875 MB / 0.9595 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/1.253, allocations: 2.396 MB / 0.9618 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004373/1.258, allocations: 444 kB / 0.9623 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/1.258, allocations: 90.2 kB / 0.9624 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.258, allocations: 7.625 kB / 0.9624 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00579/1.264, allocations: 2.642 MB / 0.9649 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.264, allocations: 18.28 kB / 0.965 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.264, allocations: 23.53 kB / 0.965 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.267, allocations: 0.5382 MB / 0.9655 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/1.267, allocations: 28.75 kB / 0.9655 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/1.27, allocations: 382.6 kB / 0.9659 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/1.27, allocations: 89.95 kB / 0.966 GB, free: 11.95 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (214): * Single equations (assignments): 208 * 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.001459/1.272, allocations: 0.6309 MB / 0.9666 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/1.273, allocations: 257.3 kB / 0.9668 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/1.277, allocations: 1.873 MB / 0.9687 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.277, allocations: 14.17 kB / 0.9687 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/1.277, allocations: 4 kB / 0.9687 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.277, allocations: 8.578 kB / 0.9687 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/1.286, allocations: 4.522 MB / 0.9731 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.286, allocations: 4 kB / 0.9731 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.288, allocations: 325.6 kB / 0.9734 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/1.288, allocations: 12 kB / 0.9734 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/1.288, allocations: 29.8 kB / 0.9735 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/1.289, allocations: 2.367 MB / 0.9758 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.289, allocations: 10.62 kB / 0.9758 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004476/1.293, allocations: 2.512 MB / 0.9782 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/1.295, allocations: 0.5371 MB / 0.9788 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/1.295, allocations: 26.48 kB / 0.9788 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/1.298, allocations: 288.7 kB / 0.9791 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.298, allocations: 81.5 kB / 0.9791 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.298, allocations: 67.61 kB / 0.9792 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003106/1.302, allocations: 1.74 MB / 0.9809 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.6e-07/1.302, allocations: 0 / 0.9809 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004261/1.306, allocations: 1.301 MB / 0.9822 GB, free: 376 kB / 0.7012 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.000928/1.307, allocations: 386 kB / 0.9825 GB, free: 56 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009124/1.316, allocations: 3.712 MB / 0.9862 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.316, allocations: 7.859 kB / 0.9862 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.318, allocations: 0.8199 MB / 0.987 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006199/1.324, allocations: 1.194 MB / 0.9881 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/1.332, allocations: 5.012 MB / 0.993 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.333, allocations: 1.747 MB / 0.9947 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003633/1.337, allocations: 0.7934 MB / 0.9955 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/1.338, allocations: 190.5 kB / 0.9957 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of SimCode: time 6.82e-07/1.338, allocations: 0 / 0.9957 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of Templates: time 0.06968/1.407, allocations: 44.6 MB / 1.039 GB, free: 8.516 MB / 0.7637 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: