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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 101 kB / 18.9 MB, free: 3.168 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 193.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 250.7 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8424/0.8424, allocations: 128.4 MB / 434.1 MB, free: 6.176 MB / 334.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.42 kB / 0.6013 GB, free: 21.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1577, allocations: 83.25 MB / 0.6826 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7172/0.8748, allocations: 329.9 MB / 1.005 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04308/0.9179, allocations: 30.16 MB / 1.034 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004349/0.9223, allocations: 99.44 kB / 1.034 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006595/0.9289, allocations: 2.187 MB / 1.036 GB, free: 500 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01518/0.944, allocations: 5.144 MB / 1.041 GB, free: 11.33 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009972/0.954, allocations: 3.715 MB / 1.045 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01191/0.9659, allocations: 6.897 MB / 1.052 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004727/0.9707, allocations: 2.422 MB / 1.054 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01562/0.9863, allocations: 5.61 MB / 1.06 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006132/0.9924, allocations: 2.538 MB / 1.062 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.9937, allocations: 296 kB / 1.062 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/1.006, allocations: 5.082 MB / 1.067 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002333/1.008, allocations: 1.102 MB / 1.068 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003855/1.012, allocations: 1.734 MB / 1.07 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/1.026, allocations: 5.801 MB / 1.076 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.026, allocations: 0 / 1.076 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.983e-06/1.026, allocations: 3.938 kB / 1.076 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001434/1.026, allocations: 0 / 1.076 GB, free: 8.039 MB / 0.8262 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.00914/1.035, allocations: 3.765 MB / 1.079 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.035, allocations: 11.97 kB / 1.079 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009365/1.044, allocations: 1.2 MB / 1.081 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/1.049, allocations: 2.106 MB / 1.083 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/1.05, allocations: 168.1 kB / 1.083 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005614/1.05, allocations: 220 kB / 1.083 GB, free: 412 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3764/1.427, allocations: 2.982 MB / 1.086 GB, free: 326.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/1.427, allocations: 0 / 1.086 GB, free: 326.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002999/1.427, allocations: 86.66 kB / 1.086 GB, free: 326.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/1.427, allocations: 89.64 kB / 1.086 GB, free: 326.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008032/1.435, allocations: 3.107 MB / 1.089 GB, free: 325.7 MB / 0.8262 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.02619/1.461, allocations: 13.15 MB / 1.102 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003931/1.465, allocations: 1.612 MB / 1.104 GB, free: 316.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/1.467, allocations: 0.7926 MB / 1.104 GB, free: 316.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/1.467, allocations: 330.8 kB / 1.105 GB, free: 316.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/1.467, allocations: 46.88 kB / 1.105 GB, free: 316.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002483/1.47, allocations: 420.9 kB / 1.105 GB, free: 316.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 8.015e-06/1.47, allocations: 1.828 kB / 1.105 GB, free: 316.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006589/1.477, allocations: 2.57 MB / 1.108 GB, free: 315.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.477, allocations: 64.78 kB / 1.108 GB, free: 315.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/1.481, allocations: 2.515 MB / 1.11 GB, free: 313.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003865/1.481, allocations: 58.17 kB / 1.11 GB, free: 313.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/1.482, allocations: 1.297 MB / 1.112 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/1.482, allocations: 407 kB / 1.112 GB, free: 312.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006781/1.483, allocations: 407.6 kB / 1.112 GB, free: 312.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.825e-05/1.483, allocations: 302.3 kB / 1.113 GB, free: 311.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/1.485, allocations: 1.007 MB / 1.114 GB, free: 311.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/1.488, allocations: 1.618 MB / 1.115 GB, free: 310.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/1.492, allocations: 2.35 MB / 1.117 GB, free: 308.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/1.492, allocations: 3.969 kB / 1.117 GB, free: 308.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006497/1.499, allocations: 2.903 MB / 1.12 GB, free: 307.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.926e-05/1.499, allocations: 71.23 kB / 1.12 GB, free: 307.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/1.499, allocations: 15.88 kB / 1.12 GB, free: 307.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.122e-05/1.499, allocations: 21.66 kB / 1.12 GB, free: 307.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/1.502, allocations: 0.5754 MB / 1.121 GB, free: 307.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/1.503, allocations: 2.392 MB / 1.123 GB, free: 304.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/1.506, allocations: 283.6 kB / 1.124 GB, free: 304.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/1.507, allocations: 100.3 kB / 1.124 GB, free: 304.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002954/1.51, allocations: 1.446 MB / 1.125 GB, free: 303.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002404/1.512, allocations: 1.618 MB / 1.127 GB, free: 302.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003963/1.516, allocations: 2.339 MB / 1.129 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.367e-06/1.516, allocations: 3.812 kB / 1.129 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.006121/1.522, allocations: 2.895 MB / 1.132 GB, free: 299.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/1.522, allocations: 75.7 kB / 1.132 GB, free: 299.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.522, allocations: 14.22 kB / 1.132 GB, free: 299.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.522, allocations: 22 kB / 1.132 GB, free: 299.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/1.525, allocations: 0.5183 MB / 1.132 GB, free: 299.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/1.525, allocations: 31.48 kB / 1.132 GB, free: 299.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/1.528, allocations: 290.9 kB / 1.133 GB, free: 299.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/1.529, allocations: 107.6 kB / 1.133 GB, free: 299.1 MB / 0.8262 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.0006457/1.529, allocations: 296 kB / 1.133 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006775/1.53, allocations: 274.6 kB / 1.133 GB, free: 298.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/1.534, allocations: 1.991 MB / 1.135 GB, free: 296.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.534, allocations: 12 kB / 1.135 GB, free: 296.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.534, allocations: 0 / 1.135 GB, free: 296.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.534, allocations: 11.97 kB / 1.135 GB, free: 296.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007829/1.542, allocations: 4.591 MB / 1.14 GB, free: 292 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.542, allocations: 14.66 kB / 1.14 GB, free: 292 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.544, allocations: 307.5 kB / 1.14 GB, free: 291.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/1.544, allocations: 12 kB / 1.14 GB, free: 291.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/1.544, allocations: 31.92 kB / 1.14 GB, free: 291.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006591/1.544, allocations: 2.368 MB / 1.142 GB, free: 289.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/1.544, allocations: 11.94 kB / 1.142 GB, free: 289.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/1.548, allocations: 2.051 MB / 1.144 GB, free: 287 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.549, allocations: 0.5421 MB / 1.145 GB, free: 286.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/1.55, allocations: 32 kB / 1.145 GB, free: 286.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/1.552, allocations: 177.3 kB / 1.145 GB, free: 286.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.552, allocations: 80.73 kB / 1.145 GB, free: 286.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.552, allocations: 63.95 kB / 1.145 GB, free: 286.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002376/1.555, allocations: 1.739 MB / 1.147 GB, free: 284.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.555, allocations: 0 / 1.147 GB, free: 284.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003908/1.559, allocations: 1.31 MB / 1.148 GB, free: 283.1 MB / 0.8262 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.0009085/1.559, allocations: 378.8 kB / 1.149 GB, free: 282.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007799/1.567, allocations: 3.57 MB / 1.152 GB, free: 279.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.567, allocations: 4 kB / 1.152 GB, free: 279.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.569, allocations: 0.8152 MB / 1.153 GB, free: 278.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/1.575, allocations: 1.204 MB / 1.154 GB, free: 277.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008089/1.583, allocations: 4.459 MB / 1.158 GB, free: 272.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009848/1.584, allocations: 1.68 MB / 1.16 GB, free: 271 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.585, allocations: 231.3 kB / 1.16 GB, free: 270.7 MB / 0.8262 GB Notification: Performance of SimCode: time 1.954e-06/1.585, allocations: 0 / 1.16 GB, free: 270.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.0747/1.66, allocations: 87.51 MB / 1.246 GB, free: 183.4 MB / 0.8262 GB [Timeout remaining time 658] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile [Timeout 660] (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) [Timeout 480]