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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7618/0.7618, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001115/0.001115, allocations: 184.4 kB / 173.8 MB, free: 6.102 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.609/1.609, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009522/0.0009524, allocations: 87.22 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 10.31 kB / 0.5603 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.579/4.733, allocations: 2.172 GB / 2.807 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/4.733, allocations: 102.7 kB / 2.808 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.365/14.1, allocations: 2.791 GB / 5.598 GB, free: 20.56 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.305e-06/14.1, allocations: 0 / 5.598 GB, free: 20.56 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004262/14.1, allocations: 75.92 kB / 5.598 GB, free: 20.49 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.01706/14.12, allocations: 4.077 MB / 5.602 GB, free: 16.3 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/14.12, allocations: 20.02 kB / 5.602 GB, free: 16.29 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/14.13, allocations: 1.19 MB / 5.603 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008097/14.13, allocations: 2.295 MB / 5.606 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001376/14.14, allocations: 444.1 kB / 5.606 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/14.14, allocations: 228 kB / 5.606 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/14.15, allocations: 3.499 MB / 5.61 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/14.15, allocations: 11.92 kB / 5.61 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009325/14.15, allocations: 99.95 kB / 5.61 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/14.15, allocations: 96.27 kB / 5.61 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/14.16, allocations: 3.592 MB / 5.613 GB, free: 4.605 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.03466/14.2, allocations: 14.54 MB / 5.627 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005971/14.2, allocations: 1.91 MB / 5.629 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/14.2, allocations: 141.9 kB / 5.629 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.026e-05/14.2, allocations: 56.39 kB / 5.63 GB, free: 2.824 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002492/14.21, allocations: 234.1 kB / 5.63 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=108): time 9.107e-06/14.21, allocations: 0 / 5.63 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108): time 0.7071/14.91, allocations: 2.841 MB / 5.633 GB, free: 58.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/14.91, allocations: 62.69 kB / 5.633 GB, free: 58.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005979/14.92, allocations: 2.339 MB / 5.635 GB, free: 58.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000766/14.92, allocations: 56.92 kB / 5.635 GB, free: 58.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/14.92, allocations: 1.325 MB / 5.636 GB, free: 58.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/14.92, allocations: 385.8 kB / 5.637 GB, free: 57.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/14.92, allocations: 40.19 kB / 5.637 GB, free: 57.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001899/14.92, allocations: 375.7 kB / 5.637 GB, free: 57.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004791/14.93, allocations: 1.135 MB / 5.638 GB, free: 57.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005552/14.93, allocations: 1.746 MB / 5.64 GB, free: 56.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005176/14.94, allocations: 1.455 MB / 5.641 GB, free: 56.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/14.94, allocations: 3.875 kB / 5.641 GB, free: 56.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01132/14.95, allocations: 3.359 MB / 5.645 GB, free: 56.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001935/14.95, allocations: 6.624 MB / 5.651 GB, free: 49.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/14.95, allocations: 19.91 kB / 5.651 GB, free: 49.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.156e-05/14.95, allocations: 26.12 kB / 5.651 GB, free: 49.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/14.96, allocations: 1.175 MB / 5.652 GB, free: 49.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005264/14.97, allocations: 2.873 MB / 5.655 GB, free: 47.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/14.97, allocations: 0.5069 MB / 5.655 GB, free: 47.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005238/14.97, allocations: 103.5 kB / 5.656 GB, free: 47.01 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/14.97, allocations: 3 kB / 5.656 GB, free: 47.01 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006438/14.98, allocations: 2.993 MB / 5.658 GB, free: 46.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/14.98, allocations: 14.69 kB / 5.659 GB, free: 46.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/14.98, allocations: 27.31 kB / 5.659 GB, free: 46.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/14.98, allocations: 0.559 MB / 5.659 GB, free: 46.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/14.98, allocations: 39.53 kB / 5.659 GB, free: 46.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/14.99, allocations: 412.2 kB / 5.66 GB, free: 46.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/14.99, allocations: 97.92 kB / 5.66 GB, free: 46.77 MB / 0.7761 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 (230): * Single equations (assignments): 220 * 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.002594/14.99, allocations: 0.6483 MB / 5.66 GB, free: 46.58 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008966/14.99, allocations: 264.3 kB / 5.66 GB, free: 46.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/15, allocations: 2.059 MB / 5.663 GB, free: 46.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/15, allocations: 12.81 kB / 5.663 GB, free: 46.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/15, allocations: 0 / 5.663 GB, free: 46.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/15, allocations: 12.88 kB / 5.663 GB, free: 46.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/15.01, allocations: 4.694 MB / 5.667 GB, free: 45.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/15.01, allocations: 7.688 kB / 5.667 GB, free: 45.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006321/15.02, allocations: 0.9616 MB / 5.668 GB, free: 45.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/15.02, allocations: 7.188 kB / 5.668 GB, free: 45.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/15.02, allocations: 39.08 kB / 5.668 GB, free: 45.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/15.03, allocations: 6.94 MB / 5.675 GB, free: 40.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/15.03, allocations: 9.031 kB / 5.675 GB, free: 40.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006355/15.04, allocations: 2.531 MB / 5.677 GB, free: 39.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/15.04, allocations: 0.5701 MB / 5.678 GB, free: 39.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006351/15.04, allocations: 24.41 kB / 5.678 GB, free: 39.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/15.05, allocations: 323.4 kB / 5.678 GB, free: 39.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/15.05, allocations: 87.34 kB / 5.678 GB, free: 39.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/15.05, allocations: 73.38 kB / 5.678 GB, free: 39.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003774/15.05, allocations: 1.811 MB / 5.68 GB, free: 39.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.81e-07/15.05, allocations: 2.094 kB / 5.68 GB, free: 39.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00952/15.06, allocations: 2.034 MB / 5.682 GB, free: 39.14 MB / 0.7761 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 (108): * Single equations (assignments): 104 * 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.01298/15.07, allocations: 7.754 MB / 5.69 GB, free: 35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01748/15.09, allocations: 5.002 MB / 5.695 GB, free: 34.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/15.09, allocations: 6.75 kB / 5.695 GB, free: 34.22 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.006623/15.1, allocations: 1.501 MB / 5.696 GB, free: 34.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007844/15.1, allocations: 1.279 MB / 5.697 GB, free: 34.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/15.11, allocations: 5.108 MB / 5.702 GB, free: 31.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/15.12, allocations: 1.776 MB / 5.704 GB, free: 31.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005032/15.12, allocations: 0.8141 MB / 5.705 GB, free: 31.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008241/15.12, allocations: 191.1 kB / 5.705 GB, free: 31.11 MB / 0.7761 GB Notification: Performance of SimCode: time 1.873e-06/15.12, allocations: 0 / 5.705 GB, free: 31.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.1777/15.3, allocations: 116.2 MB / 5.818 GB, free: 23.32 MB / 0.7761 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)