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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7832/0.7832, allocations: 117.9 MB / 133.9 MB, free: 9.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 180.5 kB / 161.7 MB, free: 13.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 394.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008606, allocations: 94.25 kB / 470.1 MB, free: 29.03 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005465, allocations: 12 kB / 0.5423 GB, free: 9.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1484, allocations: 74.54 MB / 0.6151 GB, free: 15.17 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.207/4.356, allocations: 2.171 GB / 2.786 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/4.356, allocations: 103.9 kB / 2.786 GB, free: 124 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.812/14.17, allocations: 2.785 GB / 5.571 GB, free: 59.44 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.305e-06/14.17, allocations: 0 / 5.571 GB, free: 59.44 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0006175/14.17, allocations: 75.52 kB / 5.571 GB, free: 59.44 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01915/14.19, allocations: 4.051 MB / 5.575 GB, free: 57.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/14.19, allocations: 10.78 kB / 5.575 GB, free: 57.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009931/14.2, allocations: 1.184 MB / 5.576 GB, free: 57.63 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008538/14.21, allocations: 2.382 MB / 5.578 GB, free: 57.13 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001652/14.21, allocations: 439.9 kB / 5.579 GB, free: 57.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/14.21, allocations: 236.3 kB / 5.579 GB, free: 57.12 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/14.22, allocations: 3.536 MB / 5.582 GB, free: 56.69 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/14.22, allocations: 8.969 kB / 5.582 GB, free: 56.69 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001023/14.22, allocations: 97.97 kB / 5.583 GB, free: 56.69 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/14.22, allocations: 93.36 kB / 5.583 GB, free: 56.68 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/14.24, allocations: 3.603 MB / 5.586 GB, free: 56.65 MB / 0.7605 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.02805/14.27, allocations: 14.6 MB / 5.6 GB, free: 49.02 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/14.27, allocations: 1.978 MB / 5.602 GB, free: 48.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/14.27, allocations: 0.8168 MB / 5.603 GB, free: 48.97 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/14.27, allocations: 139.9 kB / 5.603 GB, free: 48.87 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/14.27, allocations: 59.02 kB / 5.603 GB, free: 48.83 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002528/14.28, allocations: 224.5 kB / 5.604 GB, free: 48.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=112): time 1.059e-05/14.28, allocations: 0 / 5.604 GB, free: 48.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=112): time 0.008621/14.28, allocations: 2.899 MB / 5.606 GB, free: 48.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/14.28, allocations: 64.03 kB / 5.606 GB, free: 48.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005884/14.29, allocations: 2.643 MB / 5.609 GB, free: 48.22 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004397/14.29, allocations: 60.14 kB / 5.609 GB, free: 48.19 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/14.29, allocations: 1.316 MB / 5.61 GB, free: 47.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/14.29, allocations: 399.9 kB / 5.611 GB, free: 47.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/14.29, allocations: 43.28 kB / 5.611 GB, free: 47.45 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000167/14.29, allocations: 383.2 kB / 5.611 GB, free: 47.14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/14.3, allocations: 1.15 MB / 5.612 GB, free: 47.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/14.3, allocations: 1.776 MB / 5.614 GB, free: 46.44 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006655/14.31, allocations: 2.749 MB / 5.617 GB, free: 45.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-05/14.31, allocations: 7.312 kB / 5.617 GB, free: 45.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008775/14.31, allocations: 3.401 MB / 5.62 GB, free: 45.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005679/14.32, allocations: 0.7133 MB / 5.621 GB, free: 44.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.833e-05/14.32, allocations: 14.53 kB / 5.621 GB, free: 44.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.494e-05/14.32, allocations: 31.94 kB / 5.621 GB, free: 44.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00622/14.32, allocations: 1.191 MB / 5.622 GB, free: 44.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/14.33, allocations: 7.027 MB / 5.629 GB, free: 39.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005529/14.34, allocations: 0.5088 MB / 5.629 GB, free: 39.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000754/14.34, allocations: 109.2 kB / 5.629 GB, free: 39.17 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/14.34, allocations: 5.812 kB / 5.629 GB, free: 39.17 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008187/14.35, allocations: 3.03 MB / 5.632 GB, free: 38.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-05/14.35, allocations: 18.25 kB / 5.632 GB, free: 38.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/14.35, allocations: 21.88 kB / 5.632 GB, free: 38.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/14.35, allocations: 0.5663 MB / 5.633 GB, free: 38.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.013e-05/14.35, allocations: 38.06 kB / 5.633 GB, free: 38.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/14.36, allocations: 412.1 kB / 5.633 GB, free: 38.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/14.36, allocations: 101.2 kB / 5.634 GB, free: 38.93 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 6 * 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.002348/14.36, allocations: 0.6555 MB / 5.634 GB, free: 38.72 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/14.36, allocations: 264.5 kB / 5.634 GB, free: 38.59 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/14.37, allocations: 2.106 MB / 5.636 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/14.37, allocations: 11.44 kB / 5.636 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/14.37, allocations: 0 / 5.636 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/14.37, allocations: 6.422 kB / 5.636 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/14.38, allocations: 4.759 MB / 5.641 GB, free: 37.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/14.38, allocations: 3.25 kB / 5.641 GB, free: 37.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005105/14.38, allocations: 0.9701 MB / 5.642 GB, free: 37.97 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.431e-05/14.38, allocations: 9.844 kB / 5.642 GB, free: 37.97 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/14.38, allocations: 33.09 kB / 5.642 GB, free: 37.97 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/14.4, allocations: 6.854 MB / 5.649 GB, free: 32.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/14.4, allocations: 9.062 kB / 5.649 GB, free: 32.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/14.4, allocations: 2.187 MB / 5.651 GB, free: 32.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003963/14.41, allocations: 0.578 MB / 5.652 GB, free: 32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/14.41, allocations: 24.47 kB / 5.652 GB, free: 32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004551/14.41, allocations: 319.5 kB / 5.652 GB, free: 32 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/14.41, allocations: 89.94 kB / 5.652 GB, free: 31.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/14.41, allocations: 69.52 kB / 5.652 GB, free: 31.99 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004907/14.42, allocations: 1.817 MB / 5.654 GB, free: 31.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.92e-07/14.42, allocations: 2.375 kB / 5.654 GB, free: 31.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01132/14.43, allocations: 2.052 MB / 5.656 GB, free: 31.71 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (112): * Single equations (assignments): 108 * 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.01301/14.44, allocations: 7.771 MB / 5.663 GB, free: 27.54 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01555/14.46, allocations: 5.152 MB / 5.668 GB, free: 26.76 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/14.46, allocations: 2.25 kB / 5.668 GB, free: 26.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.006447/14.46, allocations: 1.633 MB / 5.67 GB, free: 26.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01229/14.48, allocations: 1.361 MB / 5.671 GB, free: 26.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/14.49, allocations: 5.231 MB / 5.676 GB, free: 24.26 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/14.49, allocations: 1.719 MB / 5.678 GB, free: 23.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006227/14.5, allocations: 0.8335 MB / 5.679 GB, free: 23.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/14.5, allocations: 224.2 kB / 5.679 GB, free: 23.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.152e-06/14.5, allocations: 0 / 5.679 GB, free: 23.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.1817/14.68, allocations: 121.2 MB / 5.797 GB, free: 10.35 MB / 0.7917 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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)