Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 206.6 kB / 22.99 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8255/0.8255, allocations: 134 MB / 447.2 MB, free: 9.902 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 65.23 kB / 0.6197 GB, free: 6.328 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 85.9 MB / 0.7036 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7487/0.9205, allocations: 293.1 MB / 0.9898 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04416/0.9647, allocations: 27.73 MB / 1.017 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004632/0.9693, allocations: 130.9 kB / 1.017 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006806/0.9761, allocations: 2.012 MB / 1.019 GB, free: 15.3 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01632/0.9925, allocations: 5.193 MB / 1.024 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/1.003, allocations: 3.705 MB / 1.028 GB, free: 6.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01141/1.015, allocations: 6.953 MB / 1.034 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004453/1.019, allocations: 2.294 MB / 1.037 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01602/1.035, allocations: 5.545 MB / 1.042 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006306/1.041, allocations: 2.445 MB / 1.045 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001072/1.042, allocations: 300 kB / 1.045 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/1.053, allocations: 3.974 MB / 1.049 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001865/1.055, allocations: 1.098 MB / 1.05 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002855/1.057, allocations: 1.435 MB / 1.051 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/1.069, allocations: 5.715 MB / 1.057 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.069, allocations: 0 / 1.057 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/1.069, allocations: 0 / 1.057 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001021/1.069, allocations: 0 / 1.057 GB, free: 8.555 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.008707/1.078, allocations: 3.7 MB / 1.06 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.078, allocations: 11.97 kB / 1.06 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009007/1.087, allocations: 1.192 MB / 1.062 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005275/1.092, allocations: 1.999 MB / 1.063 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/1.092, allocations: 176.1 kB / 1.064 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005803/1.093, allocations: 224 kB / 1.064 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3942/1.487, allocations: 3.584 MB / 1.067 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/1.487, allocations: 2.391 kB / 1.067 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/1.487, allocations: 86.41 kB / 1.067 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/1.488, allocations: 97.25 kB / 1.068 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007396/1.495, allocations: 3.091 MB / 1.071 GB, free: 312.1 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.02356/1.518, allocations: 8.365 MB / 1.079 GB, free: 308.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/1.523, allocations: 1.612 MB / 1.08 GB, free: 308 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/1.525, allocations: 0.7955 MB / 1.081 GB, free: 307.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005388/1.525, allocations: 91.59 kB / 1.081 GB, free: 307.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/1.525, allocations: 53.06 kB / 1.081 GB, free: 307.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002365/1.528, allocations: 371.5 kB / 1.082 GB, free: 307.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 4.859e-06/1.528, allocations: 3.938 kB / 1.082 GB, free: 307.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006561/1.534, allocations: 2.533 MB / 1.084 GB, free: 306.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.534, allocations: 63.5 kB / 1.084 GB, free: 306.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/1.538, allocations: 2.057 MB / 1.086 GB, free: 306 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003605/1.538, allocations: 55.67 kB / 1.086 GB, free: 305.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/1.539, allocations: 1.328 MB / 1.087 GB, free: 305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/1.539, allocations: 399.8 kB / 1.088 GB, free: 304.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006569/1.54, allocations: 432.4 kB / 1.088 GB, free: 304.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.959e-05/1.54, allocations: 305.7 kB / 1.089 GB, free: 304.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/1.542, allocations: 1.065 MB / 1.09 GB, free: 303.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/1.546, allocations: 2.52 MB / 1.092 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/1.55, allocations: 2.375 MB / 1.094 GB, free: 300.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/1.55, allocations: 2.906 kB / 1.094 GB, free: 300.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00659/1.557, allocations: 2.952 MB / 1.097 GB, free: 299.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/1.557, allocations: 74.52 kB / 1.097 GB, free: 299 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/1.557, allocations: 13.53 kB / 1.097 GB, free: 299 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/1.557, allocations: 26.19 kB / 1.097 GB, free: 299 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.56, allocations: 0.5815 MB / 1.098 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000821/1.56, allocations: 2.382 MB / 1.1 GB, free: 296.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.564, allocations: 276.1 kB / 1.101 GB, free: 296.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.564, allocations: 107 kB / 1.101 GB, free: 296.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002977/1.567, allocations: 1.509 MB / 1.102 GB, free: 295.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002506/1.569, allocations: 2.507 MB / 1.105 GB, free: 293.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003971/1.573, allocations: 2.361 MB / 1.107 GB, free: 291.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.366e-06/1.573, allocations: 4.406 kB / 1.107 GB, free: 291.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005706/1.579, allocations: 2.954 MB / 1.11 GB, free: 289.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.579, allocations: 79.33 kB / 1.11 GB, free: 289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.579, allocations: 12 kB / 1.11 GB, free: 289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.579, allocations: 24 kB / 1.11 GB, free: 289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/1.581, allocations: 0.5307 MB / 1.11 GB, free: 288.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/1.581, allocations: 33.19 kB / 1.11 GB, free: 288.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/1.584, allocations: 272.2 kB / 1.111 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.585, allocations: 103.9 kB / 1.111 GB, free: 288.1 MB / 0.8262 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 (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 (214): * Single equations (assignments): 208 * 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.0006169/1.585, allocations: 299.7 kB / 1.111 GB, free: 287.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004628/1.586, allocations: 230.5 kB / 1.111 GB, free: 287.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/1.59, allocations: 1.969 MB / 1.113 GB, free: 285.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/1.59, allocations: 12 kB / 1.113 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.59, allocations: 2.625 kB / 1.113 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.59, allocations: 7.969 kB / 1.113 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007409/1.597, allocations: 4.043 MB / 1.117 GB, free: 281.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.597, allocations: 8 kB / 1.117 GB, free: 281.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.599, allocations: 301.7 kB / 1.117 GB, free: 281.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/1.599, allocations: 8 kB / 1.117 GB, free: 281.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/1.599, allocations: 35.98 kB / 1.118 GB, free: 281.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006147/1.599, allocations: 2.367 MB / 1.12 GB, free: 278.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.599, allocations: 11.94 kB / 1.12 GB, free: 278.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/1.603, allocations: 2.017 MB / 1.122 GB, free: 276.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.604, allocations: 428.2 kB / 1.122 GB, free: 276.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/1.604, allocations: 34.11 kB / 1.122 GB, free: 276 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.606, allocations: 162.3 kB / 1.122 GB, free: 275.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.606, allocations: 76.75 kB / 1.122 GB, free: 275.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.607, allocations: 63.95 kB / 1.123 GB, free: 275.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001833/1.608, allocations: 1.383 MB / 1.124 GB, free: 274.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/1.608, allocations: 0 / 1.124 GB, free: 274.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003024/1.611, allocations: 1.384 MB / 1.125 GB, free: 273 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.0006857/1.612, allocations: 357.9 kB / 1.126 GB, free: 272.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007545/1.62, allocations: 3.726 MB / 1.129 GB, free: 268.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.62, allocations: 0 / 1.129 GB, free: 268.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.621, allocations: 0.8083 MB / 1.13 GB, free: 268 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003799/1.625, allocations: 0.8168 MB / 1.131 GB, free: 267.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/1.632, allocations: 4.406 MB / 1.135 GB, free: 262.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/1.633, allocations: 1.115 MB / 1.136 GB, free: 261.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.634, allocations: 211.3 kB / 1.136 GB, free: 261.4 MB / 0.8262 GB Notification: Performance of SimCode: time 9.62e-07/1.634, allocations: 0 / 1.136 GB, free: 261.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.07113/1.705, allocations: 83.95 MB / 1.218 GB, free: 177.6 MB / 0.8262 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.224339996930212] Failed to read output from testmodel.py, exit status != 0: 1.7131622689776123 1.722463842 0.651153609 Calling exit ...