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.00109/0.001091, allocations: 104.9 kB / 16.27 MB, free: 5.93 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.001065/0.001065, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.472/1.472, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7892/0.7892, allocations: 126.1 MB / 417.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.495 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4049, allocations: 78.7 MB / 0.5718 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7563/1.161, allocations: 328.4 MB / 0.8925 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03849/1.2, allocations: 30.06 MB / 0.9219 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00443/1.204, allocations: 103.4 kB / 0.922 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006004/1.21, allocations: 2.085 MB / 0.924 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01527/1.226, allocations: 4.999 MB / 0.9289 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009846/1.236, allocations: 3.62 MB / 0.9324 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009964/1.246, allocations: 6.923 MB / 0.9392 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004206/1.25, allocations: 2.871 MB / 0.942 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/1.262, allocations: 5.268 MB / 0.9471 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004302/1.266, allocations: 2.431 MB / 0.9495 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008167/1.267, allocations: 296 kB / 0.9498 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009447/1.277, allocations: 4.802 MB / 0.9545 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/1.278, allocations: 1.067 MB / 0.9555 GB, free: 7.23 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002541/1.281, allocations: 1.742 MB / 0.9572 GB, free: 5.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009938/1.291, allocations: 5.699 MB / 0.9628 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.291, allocations: 4 kB / 0.9628 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/1.291, allocations: 0 / 0.9628 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.059e-05/1.291, allocations: 0 / 0.9628 GB, free: 15.76 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.007295/1.298, allocations: 3.708 MB / 0.9664 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/1.298, allocations: 8.031 kB / 0.9664 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009375/1.307, allocations: 1.467 MB / 0.9678 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/1.311, allocations: 1.987 MB / 0.9698 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/1.313, allocations: 396.1 kB / 0.9702 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004119/1.313, allocations: 220 kB / 0.9704 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/1.319, allocations: 3.071 MB / 0.9734 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/1.319, allocations: 0 / 0.9734 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/1.319, allocations: 95.98 kB / 0.9735 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.891e-05/1.319, allocations: 91.92 kB / 0.9735 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006991/1.326, allocations: 3.15 MB / 0.9766 GB, free: 1.254 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.0218/1.348, allocations: 14.14 MB / 0.9904 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005547/1.354, allocations: 1.642 MB / 0.992 GB, free: 368 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/1.356, allocations: 0.7735 MB / 0.9928 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/1.357, allocations: 324.8 kB / 0.9931 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/1.357, allocations: 51.56 kB / 0.9931 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001652/1.359, allocations: 202.1 kB / 0.9933 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 5.57e-06/1.359, allocations: 0 / 0.9933 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.007403/1.366, allocations: 2.359 MB / 0.9956 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/1.366, allocations: 64.41 kB / 0.9957 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/1.372, allocations: 2.54 MB / 0.9982 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003518/1.373, allocations: 57.7 kB / 0.9982 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.374, allocations: 1.276 MB / 0.9995 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000483/1.374, allocations: 382.5 kB / 0.9998 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009386/1.375, allocations: 383 kB / 1 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.376, allocations: 305.1 kB / 1.001 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003816/1.379, allocations: 0.9611 MB / 1.001 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004545/1.384, allocations: 1.597 MB / 1.003 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006718/1.391, allocations: 2.24 MB / 1.005 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.391, allocations: 4 kB / 1.005 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007696/1.398, allocations: 2.785 MB / 1.008 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/1.399, allocations: 75.39 kB / 1.008 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.399, allocations: 12 kB / 1.008 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/1.399, allocations: 20 kB / 1.008 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/1.402, allocations: 0.5661 MB / 1.009 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/1.404, allocations: 2.395 MB / 1.011 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/1.407, allocations: 320.7 kB / 1.011 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/1.408, allocations: 87.95 kB / 1.011 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003616/1.411, allocations: 1.398 MB / 1.013 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003089/1.414, allocations: 1.581 MB / 1.014 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004992/1.419, allocations: 2.24 MB / 1.016 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.788e-06/1.419, allocations: 4 kB / 1.016 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.007378/1.427, allocations: 2.777 MB / 1.019 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.222e-05/1.427, allocations: 75.39 kB / 1.019 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.427, allocations: 15.94 kB / 1.019 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-05/1.427, allocations: 24 kB / 1.019 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/1.43, allocations: 0.5075 MB / 1.02 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-05/1.43, allocations: 31.92 kB / 1.02 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/1.433, allocations: 326.3 kB / 1.02 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/1.433, allocations: 87.95 kB / 1.02 GB, free: 2.336 MB / 0.7325 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.0006198/1.434, allocations: 291.7 kB / 1.02 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00063/1.435, allocations: 264.8 kB / 1.021 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/1.439, allocations: 1.851 MB / 1.022 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.439, allocations: 15.94 kB / 1.022 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.439, allocations: 3.984 kB / 1.022 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.439, allocations: 3.984 kB / 1.023 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008393/1.448, allocations: 4.504 MB / 1.027 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.448, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.449, allocations: 304.2 kB / 1.027 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/1.449, allocations: 12 kB / 1.027 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/1.449, allocations: 31.97 kB / 1.027 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/1.451, allocations: 2.375 MB / 1.03 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.451, allocations: 4 kB / 1.03 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/1.455, allocations: 1.975 MB / 1.031 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.456, allocations: 0.5327 MB / 1.032 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/1.456, allocations: 27.98 kB / 1.032 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/1.459, allocations: 189.7 kB / 1.032 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.459, allocations: 80.78 kB / 1.032 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.459, allocations: 63.95 kB / 1.032 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00313/1.462, allocations: 1.755 MB / 1.034 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.8e-07/1.462, allocations: 0 / 1.034 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003438/1.466, allocations: 1.287 MB / 1.035 GB, free: 2.398 MB / 0.7481 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.0008019/1.467, allocations: 378.1 kB / 1.036 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.2727/1.739, allocations: 3.751 MB / 1.039 GB, free: 331.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.026e-05/1.739, allocations: 1.875 kB / 1.039 GB, free: 331.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/1.743, allocations: 0.8048 MB / 1.04 GB, free: 331.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00989/1.753, allocations: 1.217 MB / 1.041 GB, free: 331.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.766, allocations: 4.303 MB / 1.046 GB, free: 329.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/1.768, allocations: 1.7 MB / 1.047 GB, free: 328.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.006685/1.775, allocations: 0.7821 MB / 1.048 GB, free: 328.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.776, allocations: 197.5 kB / 1.048 GB, free: 328.4 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/1.776, allocations: 0 / 1.048 GB, free: 328.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.09608/1.872, allocations: 47.91 MB / 1.095 GB, free: 295.4 MB / 0.7481 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)