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.001308/0.001308, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001602/0.001602, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.8352/0.8352, allocations: 134 MB / 447.2 MB, free: 10.29 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.001976/0.001976, allocations: 66.28 kB / 0.6198 GB, free: 6.758 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1958, allocations: 85.9 MB / 0.7037 GB, free: 0.9336 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9078/1.104, allocations: 334.4 MB / 1.03 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04387/1.148, allocations: 30.34 MB / 1.06 GB, free: 9.082 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004018/1.152, allocations: 134.9 kB / 1.06 GB, free: 8.949 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.006286/1.158, allocations: 2.187 MB / 1.062 GB, free: 6.75 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.01527/1.173, allocations: 5.212 MB / 1.067 GB, free: 1.52 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.4746/1.648, allocations: 3.776 MB / 1.071 GB, free: 6.168 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.01287/1.661, allocations: 6.97 MB / 1.078 GB, free: 6.156 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004966/1.666, allocations: 2.342 MB / 1.08 GB, free: 5.973 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01511/1.681, allocations: 5.571 MB / 1.085 GB, free: 5.969 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006658/1.687, allocations: 2.575 MB / 1.088 GB, free: 5.961 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/1.689, allocations: 298.1 kB / 1.088 GB, free: 5.961 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/1.701, allocations: 5.149 MB / 1.093 GB, free: 5.961 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.002694/1.703, allocations: 1.1 MB / 1.094 GB, free: 5.961 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.005059/1.709, allocations: 1.744 MB / 1.096 GB, free: 5.961 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/1.722, allocations: 5.805 MB / 1.102 GB, free: 5.254 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.722, allocations: 0 / 1.102 GB, free: 5.254 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.405e-06/1.722, allocations: 0.625 kB / 1.102 GB, free: 5.254 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0001632/1.722, allocations: 0 / 1.102 GB, free: 5.254 MB / 0.8263 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.01012/1.732, allocations: 3.707 MB / 1.105 GB, free: 19.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.732, allocations: 13.12 kB / 1.105 GB, free: 19.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009116/1.741, allocations: 1.198 MB / 1.107 GB, free: 19.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/1.746, allocations: 2.007 MB / 1.108 GB, free: 18.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/1.746, allocations: 170.5 kB / 1.109 GB, free: 18.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000729/1.747, allocations: 221.8 kB / 1.109 GB, free: 18.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/1.753, allocations: 2.99 MB / 1.112 GB, free: 18.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/1.753, allocations: 0 / 1.112 GB, free: 18.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/1.754, allocations: 89.81 kB / 1.112 GB, free: 18.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-05/1.754, allocations: 91.02 kB / 1.112 GB, free: 18.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006642/1.76, allocations: 3.104 MB / 1.115 GB, free: 18.55 MB / 0.8419 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.0245/1.785, allocations: 12.46 MB / 1.127 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/1.789, allocations: 1.611 MB / 1.129 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.79, allocations: 0.7949 MB / 1.13 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/1.791, allocations: 95.38 kB / 1.13 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/1.791, allocations: 50.41 kB / 1.13 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002436/1.793, allocations: 426.2 kB / 1.13 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 8.756e-06/1.793, allocations: 0 / 1.13 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.006432/1.8, allocations: 2.562 MB / 1.133 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/1.8, allocations: 72.53 kB / 1.133 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/1.804, allocations: 2.509 MB / 1.135 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/1.804, allocations: 57.33 kB / 1.135 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008061/1.805, allocations: 1.3 MB / 1.136 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/1.805, allocations: 405.2 kB / 1.137 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006681/1.806, allocations: 426.6 kB / 1.137 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.806, allocations: 307.9 kB / 1.137 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/1.808, allocations: 1.011 MB / 1.138 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/1.811, allocations: 1.647 MB / 1.14 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004488/1.816, allocations: 2.375 MB / 1.142 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/1.816, allocations: 3.312 kB / 1.142 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006817/1.822, allocations: 2.931 MB / 1.145 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/1.823, allocations: 74.69 kB / 1.145 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.823, allocations: 11.31 kB / 1.145 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.253e-05/1.823, allocations: 28.69 kB / 1.145 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/1.826, allocations: 0.5797 MB / 1.146 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/1.827, allocations: 2.394 MB / 1.148 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/1.831, allocations: 290.1 kB / 1.149 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004168/1.832, allocations: 105.8 kB / 1.149 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003525/1.835, allocations: 1.443 MB / 1.15 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002944/1.838, allocations: 1.645 MB / 1.152 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004719/1.843, allocations: 2.361 MB / 1.154 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-05/1.843, allocations: 1.812 kB / 1.154 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006759/1.85, allocations: 2.933 MB / 1.157 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/1.85, allocations: 71.56 kB / 1.157 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/1.85, allocations: 14.5 kB / 1.157 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.85, allocations: 22.19 kB / 1.157 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.852, allocations: 0.5314 MB / 1.157 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.502e-05/1.852, allocations: 30.08 kB / 1.157 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/1.856, allocations: 302.8 kB / 1.158 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.856, allocations: 107.9 kB / 1.158 GB, free: 5.254 MB / 0.8419 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.000784/1.857, allocations: 292.9 kB / 1.158 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008336/1.858, allocations: 279.4 kB / 1.158 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/1.862, allocations: 1.993 MB / 1.16 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.862, allocations: 12.78 kB / 1.16 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/1.862, allocations: 0 / 1.16 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.863, allocations: 9.375 kB / 1.16 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008907/1.871, allocations: 4.561 MB / 1.165 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.871, allocations: 8.969 kB / 1.165 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.873, allocations: 310 kB / 1.165 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/1.873, allocations: 9.141 kB / 1.165 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.873, allocations: 32.53 kB / 1.165 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/1.875, allocations: 2.367 MB / 1.168 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.875, allocations: 8.094 kB / 1.168 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/1.879, allocations: 2.053 MB / 1.17 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.881, allocations: 486 kB / 1.17 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.881, allocations: 34.45 kB / 1.17 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.884, allocations: 171.9 kB / 1.17 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/1.884, allocations: 87.62 kB / 1.17 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.884, allocations: 64.45 kB / 1.17 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003199/1.887, allocations: 1.727 MB / 1.172 GB, free: 500 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.887, allocations: 0 / 1.172 GB, free: 500 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003917/1.891, allocations: 1.305 MB / 1.173 GB, free: 364 kB / 0.8419 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.0008128/1.892, allocations: 363.9 kB / 1.174 GB, free: 192 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.009678/1.902, allocations: 3.609 MB / 1.177 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/1.902, allocations: 8.312 kB / 1.177 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/1.904, allocations: 0.8046 MB / 1.178 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006391/1.91, allocations: 1.196 MB / 1.179 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/1.92, allocations: 4.463 MB / 1.183 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.921, allocations: 1.679 MB / 1.185 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.923, allocations: 236.1 kB / 1.185 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of SimCode: time 1.182e-06/1.923, allocations: 0 / 1.185 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of Templates: time 0.1129/2.036, allocations: 87.56 MB / 1.271 GB, free: 15.31 MB / 0.9513 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: 17.412904700031504] Failed to read output from testmodel.py, exit status != 0: 2.0445397121366113 2.059225221 0.334254352 Calling exit ...