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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4928/0.4928, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008677, allocations: 97.25 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.865e-05, allocations: 4 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3549, allocations: 72.31 MB / 0.5602 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.01/4.365, allocations: 1.854 GB / 2.415 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/4.366, allocations: 100.9 kB / 2.415 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 10.15/14.51, allocations: 2.837 GB / 5.251 GB, free: 20.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/14.51, allocations: 4 kB / 5.251 GB, free: 20.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002028/14.51, allocations: 63.98 kB / 5.251 GB, free: 20.24 MB / 0.7136 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.009414/14.52, allocations: 3.496 MB / 5.255 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/14.52, allocations: 11.98 kB / 5.255 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009015/14.53, allocations: 1.202 MB / 5.256 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006319/14.54, allocations: 2.567 MB / 5.259 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/14.54, allocations: 436.2 kB / 5.259 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006438/14.54, allocations: 228 kB / 5.259 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/14.55, allocations: 2.832 MB / 5.262 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/14.55, allocations: 4 kB / 5.262 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/14.55, allocations: 88 kB / 5.262 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/14.55, allocations: 95.94 kB / 5.262 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003692/14.55, allocations: 2.647 MB / 5.265 GB, free: 6.305 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.02154/14.57, allocations: 14.08 MB / 5.278 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/14.57, allocations: 1.416 MB / 5.28 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009616/14.58, allocations: 0.6447 MB / 5.28 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/14.58, allocations: 324.2 kB / 5.281 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/14.58, allocations: 51.56 kB / 5.281 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001615/14.58, allocations: 218.3 kB / 5.281 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 3.146e-06/14.58, allocations: 0 / 5.281 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.002804/14.58, allocations: 1.435 MB / 5.282 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/14.58, allocations: 68.33 kB / 5.282 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/14.58, allocations: 2.09 MB / 5.285 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/14.58, allocations: 61.7 kB / 5.285 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/14.58, allocations: 1.27 MB / 5.286 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/14.59, allocations: 390.5 kB / 5.286 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/14.59, allocations: 36 kB / 5.286 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001822/14.59, allocations: 369.9 kB / 5.287 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/14.59, allocations: 0.7146 MB / 5.287 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/14.59, allocations: 1.381 MB / 5.289 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/14.59, allocations: 0.9393 MB / 5.29 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/14.59, allocations: 4 kB / 5.29 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004436/14.59, allocations: 2.317 MB / 5.292 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002668/14.6, allocations: 5.79 MB / 5.297 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/14.6, allocations: 12 kB / 5.297 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.401e-05/14.6, allocations: 24 kB / 5.297 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/14.6, allocations: 0.5617 MB / 5.298 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5632/15.16, allocations: 2.391 MB / 5.3 GB, free: 68.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/15.17, allocations: 466.9 kB / 5.301 GB, free: 68.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004771/15.17, allocations: 91.22 kB / 5.301 GB, free: 68.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/15.17, allocations: 4.188 kB / 5.301 GB, free: 68.39 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003873/15.17, allocations: 2.085 MB / 5.303 GB, free: 68.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/15.17, allocations: 10.88 kB / 5.303 GB, free: 68.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/15.17, allocations: 26.2 kB / 5.303 GB, free: 68.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/15.18, allocations: 0.5327 MB / 5.304 GB, free: 68.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-05/15.18, allocations: 35.19 kB / 5.304 GB, free: 68.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/15.18, allocations: 395.3 kB / 5.304 GB, free: 68.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/15.18, allocations: 95.25 kB / 5.304 GB, free: 68.33 MB / 0.7448 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 () * 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.0005605/15.18, allocations: 217.7 kB / 5.304 GB, free: 68.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006002/15.18, allocations: 265.9 kB / 5.304 GB, free: 68.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/15.18, allocations: 1.566 MB / 5.306 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/15.18, allocations: 18.56 kB / 5.306 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/15.18, allocations: 0 / 5.306 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/15.18, allocations: 6.688 kB / 5.306 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007842/15.19, allocations: 4.192 MB / 5.31 GB, free: 67.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/15.19, allocations: 8.391 kB / 5.31 GB, free: 67.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/15.19, allocations: 318.6 kB / 5.31 GB, free: 67.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/15.19, allocations: 9.469 kB / 5.31 GB, free: 67.62 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/15.19, allocations: 36.64 kB / 5.31 GB, free: 67.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008036/15.19, allocations: 2.366 MB / 5.313 GB, free: 65.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/15.19, allocations: 9.438 kB / 5.313 GB, free: 65.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/15.2, allocations: 2.201 MB / 5.315 GB, free: 64.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/15.2, allocations: 0.5448 MB / 5.315 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/15.2, allocations: 26.94 kB / 5.315 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/15.2, allocations: 284 kB / 5.316 GB, free: 63.92 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/15.2, allocations: 85.84 kB / 5.316 GB, free: 63.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/15.2, allocations: 64.83 kB / 5.316 GB, free: 63.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002449/15.2, allocations: 1.589 MB / 5.317 GB, free: 63.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/15.21, allocations: 0 / 5.317 GB, free: 63.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007587/15.21, allocations: 1.935 MB / 5.319 GB, free: 63.7 MB / 0.7448 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 () * 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.01309/15.23, allocations: 7.639 MB / 5.327 GB, free: 59.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005501/15.23, allocations: 3.037 MB / 5.33 GB, free: 59.19 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/15.23, allocations: 2.312 kB / 5.33 GB, free: 59.19 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/15.23, allocations: 0.6586 MB / 5.33 GB, free: 59.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/15.24, allocations: 1.205 MB / 5.332 GB, free: 59.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006582/15.25, allocations: 3.216 MB / 5.335 GB, free: 58.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/15.25, allocations: 1.752 MB / 5.336 GB, free: 57.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00461/15.25, allocations: 0.9715 MB / 5.337 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/15.25, allocations: 150.6 kB / 5.338 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of SimCode: time 1.372e-06/15.25, allocations: 0 / 5.338 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.1565/15.41, allocations: 129 MB / 5.463 GB, free: 50.05 MB / 0.7448 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)