Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.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.001297/0.001297, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001571/0.001571, allocations: 213.5 kB / 22.99 MB, free: 4.957 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1457/0.1457, allocations: 23.92 MB / 337.1 MB, free: 10.9 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Chemical 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.002244/0.002244, allocations: 67.91 kB / 472.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3464, allocations: 59.88 MB / 0.5198 GB, free: 9.746 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell): time 0.0745/0.4209, allocations: 28.08 MB / 0.5473 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02473/0.4457, allocations: 17.13 MB / 0.564 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.4473, allocations: 27.75 kB / 0.564 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4488, allocations: 459.3 kB / 0.5645 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.4527, allocations: 1.204 MB / 0.5656 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008297/0.461, allocations: 2.887 MB / 0.5684 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.4644, allocations: 2.098 MB / 0.5705 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.4658, allocations: 1.084 MB / 0.5716 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.4669, allocations: 0.9271 MB / 0.5725 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.4682, allocations: 1.074 MB / 0.5735 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.4685, allocations: 200 kB / 0.5737 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/0.4737, allocations: 2.001 MB / 0.5757 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.4742, allocations: 474.5 kB / 0.5761 GB, free: 28 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000919/0.4751, allocations: 0.8288 MB / 0.5769 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008305/0.4834, allocations: 4.342 MB / 0.5812 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4834, allocations: 4 kB / 0.5812 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4834, allocations: 0 / 0.5812 GB, free: 10.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.902e-05/0.4834, allocations: 4 kB / 0.5812 GB, free: 10.83 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004662/0.4881, allocations: 2.331 MB / 0.5834 GB, free: 8.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4881, allocations: 8.031 kB / 0.5834 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.4899, allocations: 446.8 kB / 0.5839 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.4918, allocations: 1.019 MB / 0.5849 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.492, allocations: 238.4 kB / 0.5851 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.4923, allocations: 164 kB / 0.5853 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/0.4959, allocations: 2.245 MB / 0.5874 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.496, allocations: 7.938 kB / 0.5875 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.4962, allocations: 68 kB / 0.5875 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.4962, allocations: 44 kB / 0.5876 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/0.5004, allocations: 2.688 MB / 0.5902 GB, free: 1.414 MB / 430.1 MB 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.01043/0.5109, allocations: 6.131 MB / 0.5962 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.5126, allocations: 0.9716 MB / 0.5971 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/0.5134, allocations: 0.5174 MB / 0.5976 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00688/0.5203, allocations: 2.973 MB / 0.6005 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.5203, allocations: 43.2 kB / 0.6006 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004257/0.5207, allocations: 99.14 kB / 0.6007 GB, free: 6.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.094e-06/0.5207, allocations: 0 / 0.6007 GB, free: 6.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01994/0.5407, allocations: 4.562 MB / 0.6051 GB, free: 1.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.5408, allocations: 131.7 kB / 0.6052 GB, free: 1.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.5425, allocations: 1.441 MB / 0.6067 GB, free: 236 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.131e-05/0.5426, allocations: 45.77 kB / 0.6067 GB, free: 184 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/0.5433, allocations: 0.9317 MB / 0.6076 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.5436, allocations: 361 kB / 0.6079 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005233/0.5441, allocations: 355.3 kB / 0.6083 GB, free: 14.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5443, allocations: 357.9 kB / 0.6086 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5453, allocations: 0.6364 MB / 0.6093 GB, free: 13.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.5469, allocations: 1.337 MB / 0.6106 GB, free: 11.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.5495, allocations: 1.933 MB / 0.6124 GB, free: 9.598 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.5495, allocations: 8 kB / 0.6125 GB, free: 9.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00576/0.5552, allocations: 2.379 MB / 0.6148 GB, free: 7.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5553, allocations: 16 kB / 0.6148 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.5553, allocations: 24 kB / 0.6148 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.5581, allocations: 379.3 kB / 0.6152 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.5609, allocations: 0.5617 MB / 0.6157 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008948/0.5698, allocations: 7.386 MB / 0.6229 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.5712, allocations: 87.84 kB / 0.623 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.5714, allocations: 104 kB / 0.6231 GB, free: 14.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006563/0.5721, allocations: 369.2 kB / 0.6235 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.5723, allocations: 123.2 kB / 0.6236 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/0.5773, allocations: 1.522 MB / 0.6251 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5773, allocations: 15.94 kB / 0.6251 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5773, allocations: 0 / 0.6251 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5773, allocations: 3.984 kB / 0.6251 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/0.5842, allocations: 2.649 MB / 0.6277 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.5842, allocations: 12.88 kB / 0.6277 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/0.5851, allocations: 219.7 kB / 0.6279 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002987/0.5881, allocations: 404.5 kB / 0.6283 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.5882, allocations: 47.92 kB / 0.6283 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008304/0.5965, allocations: 7.172 MB / 0.6353 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.5965, allocations: 11.94 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005448/0.602, allocations: 2.156 MB / 0.6375 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.6024, allocations: 123.2 kB / 0.6376 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.6026, allocations: 31.98 kB / 0.6376 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.6033, allocations: 28 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.6035, allocations: 112.3 kB / 0.6377 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.6036, allocations: 47.98 kB / 0.6378 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001318/0.6049, allocations: 0.9713 MB / 0.6387 GB, free: 13.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6049, allocations: 0 / 0.6387 GB, free: 13.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002797/0.6077, allocations: 0.8182 MB / 0.6395 GB, free: 12.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/0.6096, allocations: 0.9061 MB / 0.6404 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0036/0.6132, allocations: 1.707 MB / 0.6421 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.6132, allocations: 0 / 0.6421 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.6147, allocations: 0.957 MB / 0.643 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6162, allocations: 234 kB / 0.6432 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.621, allocations: 2.865 MB / 0.646 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.6218, allocations: 0.6369 MB / 0.6467 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.623, allocations: 317.8 kB / 0.647 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/0.6235, allocations: 179.3 kB / 0.6471 GB, free: 4.535 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6235, allocations: 0 / 0.6471 GB, free: 4.535 MB / 494.1 MB Notification: Performance of Templates: time 0.05142/0.6749, allocations: 30.45 MB / 0.6769 GB, free: 6.262 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.071368924996932] Failed to read output from testmodel.py, exit status != 0: 0.6837248919910053 0.697726965 0.21117910199999995 Calling exit ...