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.7079/0.7079, allocations: 128.7 MB / 144.5 MB, free: 1.395 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.001083/0.001083, allocations: 188.4 kB / 174.3 MB, free: 5.926 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.361/1.361, allocations: 205.1 MB / 408.9 MB, free: 9.73 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.0009816/0.0009816, allocations: 116 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 60.33 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1249, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5544/0.6793, allocations: 327.1 MB / 0.9511 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0389/0.7182, allocations: 30.59 MB / 0.981 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003901/0.7222, allocations: 87.44 kB / 0.9811 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005687/0.728, allocations: 1.858 MB / 0.9829 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.74, allocations: 4.728 MB / 0.9875 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009075/0.7491, allocations: 3.815 MB / 0.9912 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3862/1.135, allocations: 10.31 MB / 1.001 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/1.139, allocations: 2.466 MB / 1.004 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/1.151, allocations: 4.761 MB / 1.008 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/1.157, allocations: 2.76 MB / 1.011 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008859/1.158, allocations: 170.6 kB / 1.011 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01115/1.169, allocations: 5.302 MB / 1.016 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001984/1.171, allocations: 1.017 MB / 1.017 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004129/1.175, allocations: 1.7 MB / 1.019 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/1.186, allocations: 6.324 MB / 1.025 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.186, allocations: 5.312 kB / 1.025 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/1.186, allocations: 4 kB / 1.025 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.869e-05/1.186, allocations: 0 / 1.025 GB, free: 4.855 MB / 0.6823 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.008699/1.195, allocations: 3.928 MB / 1.029 GB, free: 19.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.195, allocations: 9.031 kB / 1.029 GB, free: 19.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00913/1.204, allocations: 1.461 MB / 1.03 GB, free: 18.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/1.209, allocations: 2.023 MB / 1.032 GB, free: 18.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/1.21, allocations: 415.6 kB / 1.033 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/1.211, allocations: 227.7 kB / 1.033 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007622/1.219, allocations: 3.442 MB / 1.036 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/1.219, allocations: 5.688 kB / 1.036 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/1.219, allocations: 98.62 kB / 1.037 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.72e-05/1.219, allocations: 95.36 kB / 1.037 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008419/1.227, allocations: 3.494 MB / 1.04 GB, free: 17.8 MB / 0.698 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.02388/1.251, allocations: 14.55 MB / 1.054 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/1.256, allocations: 1.847 MB / 1.056 GB, free: 9.977 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/1.258, allocations: 0.7814 MB / 1.057 GB, free: 9.953 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/1.259, allocations: 141.9 kB / 1.057 GB, free: 9.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/1.259, allocations: 53.81 kB / 1.057 GB, free: 9.82 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001505/1.26, allocations: 210.2 kB / 1.057 GB, free: 9.715 MB / 0.698 GB Notification: Performance of pre-optimization done (n=108): time 4.368e-06/1.26, allocations: 0 / 1.057 GB, free: 9.715 MB / 0.698 GB Notification: Performance of matching and sorting (n=108): time 0.008193/1.268, allocations: 2.774 MB / 1.06 GB, free: 9.504 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.268, allocations: 66.72 kB / 1.06 GB, free: 9.441 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/1.272, allocations: 2.643 MB / 1.063 GB, free: 9.168 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/1.273, allocations: 59.02 kB / 1.063 GB, free: 9.137 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/1.273, allocations: 1.325 MB / 1.064 GB, free: 8.641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/1.274, allocations: 387.3 kB / 1.064 GB, free: 8.406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/1.274, allocations: 417.2 kB / 1.065 GB, free: 8.367 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/1.274, allocations: 307.9 kB / 1.065 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/1.277, allocations: 1.105 MB / 1.066 GB, free: 8.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/1.281, allocations: 1.716 MB / 1.068 GB, free: 7.289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/1.286, allocations: 2.651 MB / 1.07 GB, free: 6.469 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/1.286, allocations: 3.562 kB / 1.07 GB, free: 6.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007771/1.294, allocations: 3.271 MB / 1.074 GB, free: 6.035 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.294, allocations: 188.6 kB / 1.074 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/1.294, allocations: 17.53 kB / 1.074 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.09e-05/1.294, allocations: 24.31 kB / 1.074 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006678/1.301, allocations: 1.14 MB / 1.075 GB, free: 5.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/1.315, allocations: 6.85 MB / 1.082 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/1.319, allocations: 453.2 kB / 1.082 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/1.32, allocations: 100.7 kB / 1.082 GB, free: 464 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003889/1.324, allocations: 1.511 MB / 1.084 GB, free: 348 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003065/1.327, allocations: 1.652 MB / 1.085 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004779/1.332, allocations: 2.54 MB / 1.088 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-05/1.332, allocations: 3.156 kB / 1.088 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.006961/1.339, allocations: 3.152 MB / 1.091 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.339, allocations: 182.2 kB / 1.091 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/1.339, allocations: 17.94 kB / 1.091 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.339, allocations: 24.12 kB / 1.091 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/1.341, allocations: 0.5474 MB / 1.091 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.452e-05/1.341, allocations: 31.09 kB / 1.091 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/1.345, allocations: 409.2 kB / 1.092 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.345, allocations: 98.64 kB / 1.092 GB, free: 13.32 MB / 0.7136 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 (senMas2.i_x,senMas1.i_x,senMas4.i_x,senMas3.i_x,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 (230): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 6 * 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.0005865/1.346, allocations: 317.4 kB / 1.092 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005748/1.347, allocations: 270.6 kB / 1.093 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/1.351, allocations: 2.009 MB / 1.094 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.351, allocations: 13.81 kB / 1.095 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.351, allocations: 0 / 1.095 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.351, allocations: 3.984 kB / 1.095 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/1.362, allocations: 4.655 MB / 1.099 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.362, allocations: 4 kB / 1.099 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005987/1.368, allocations: 0.9319 MB / 1.1 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/1.368, allocations: 8 kB / 1.1 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.369, allocations: 32.16 kB / 1.1 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/1.381, allocations: 6.724 MB / 1.107 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.381, allocations: 14.28 kB / 1.107 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008653/1.39, allocations: 4.139 MB / 1.111 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.391, allocations: 0.5569 MB / 1.111 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/1.392, allocations: 29.34 kB / 1.111 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.395, allocations: 301.1 kB / 1.111 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/1.395, allocations: 80.27 kB / 1.112 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.395, allocations: 74.3 kB / 1.112 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002919/1.398, allocations: 1.824 MB / 1.113 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.398, allocations: 3.188 kB / 1.113 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004366/1.402, allocations: 1.427 MB / 1.115 GB, free: 10.21 MB / 0.7292 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 (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.0006735/1.403, allocations: 346.4 kB / 1.115 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.417, allocations: 4.97 MB / 1.12 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.417, allocations: 4 kB / 1.12 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006794/1.424, allocations: 1.563 MB / 1.122 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0085/1.432, allocations: 1.292 MB / 1.123 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009274/1.442, allocations: 5.868 MB / 1.129 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.443, allocations: 1.744 MB / 1.13 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003731/1.447, allocations: 0.81 MB / 1.131 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/1.447, allocations: 191.1 kB / 1.131 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.447, allocations: 0 / 1.131 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.07719/1.524, allocations: 52.44 MB / 1.182 GB, free: 7.629 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)