Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001409/0.001409, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.00151/0.00151, allocations: 168.6 kB / 22.46 MB, free: 5.363 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.424/1.424, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1301/0.1301, allocations: 17.37 MB / 276.6 MB, free: 15.3 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 411.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.015e-05, allocations: 6.281 kB / 412 MB, free: 4.449 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.03968/0.03971, allocations: 28.54 MB / 440.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2119/0.2517, allocations: 17.13 MB / 457.6 MB, free: 31.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009515/0.2526, allocations: 24.5 kB / 457.6 MB, free: 31.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.2537, allocations: 474.4 kB / 458.1 MB, free: 30.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.2563, allocations: 1.247 MB / 459.3 MB, free: 30.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007561/0.2639, allocations: 2.979 MB / 462.3 MB, free: 28.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.2666, allocations: 2.174 MB / 464.5 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.2682, allocations: 1.057 MB / 465.6 MB, free: 27.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.2697, allocations: 1.35 MB / 466.9 MB, free: 26.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.271, allocations: 0.8262 MB / 467.7 MB, free: 26.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.2713, allocations: 202.7 kB / 467.9 MB, free: 26.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006076/0.2773, allocations: 1.965 MB / 469.9 MB, free: 26.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.2777, allocations: 489 kB / 470.4 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008224/0.2785, allocations: 0.7003 MB / 471.1 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007501/0.286, allocations: 4.57 MB / 475.6 MB, free: 22.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.286, allocations: 7.938 kB / 475.7 MB, free: 22.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.286, allocations: 0 / 475.7 MB, free: 22.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.617e-05/0.2861, allocations: 2.469 kB / 475.7 MB, free: 22.79 MB / 366.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.003566/0.2896, allocations: 2.3 MB / 478 MB, free: 21.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2897, allocations: 13.53 kB / 478 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.2912, allocations: 444.1 kB / 478.4 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.2927, allocations: 1.01 MB / 479.4 MB, free: 20.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.2928, allocations: 239.2 kB / 479.6 MB, free: 20.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.293, allocations: 174 kB / 479.8 MB, free: 19.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.2959, allocations: 2.236 MB / 482.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.2959, allocations: 5.281 kB / 482.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.2961, allocations: 70.47 kB / 482.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.2961, allocations: 41.66 kB / 482.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.2992, allocations: 2.692 MB / 484.9 MB, free: 15.87 MB / 366.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.007818/0.307, allocations: 6.121 MB / 491 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.3084, allocations: 0.9735 MB / 492 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.309, allocations: 0.5174 MB / 492.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005617/0.3146, allocations: 2.979 MB / 495.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3146, allocations: 43.2 kB / 495.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003725/0.315, allocations: 103.1 kB / 495.6 MB, free: 4.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.445e-06/0.315, allocations: 2.656 kB / 495.6 MB, free: 4.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=95): time 0.01696/0.332, allocations: 4.556 MB / 0.4884 GB, free: 416 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.332, allocations: 119.8 kB / 0.4885 GB, free: 272 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.3337, allocations: 1.449 MB / 0.49 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.3338, allocations: 45.7 kB / 0.49 GB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.3345, allocations: 0.9278 MB / 0.4909 GB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.3349, allocations: 359.7 kB / 0.4913 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005498/0.3354, allocations: 355.3 kB / 0.4916 GB, free: 13.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3356, allocations: 357.9 kB / 0.4919 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3367, allocations: 0.6364 MB / 0.4926 GB, free: 12.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.3385, allocations: 1.341 MB / 0.4939 GB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.3413, allocations: 1.932 MB / 0.4957 GB, free: 8.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.3413, allocations: 8 kB / 0.4958 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005876/0.3472, allocations: 2.376 MB / 0.4981 GB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3473, allocations: 16 kB / 0.4981 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.3473, allocations: 26.59 kB / 0.4981 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.35, allocations: 378.8 kB / 0.4985 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.3527, allocations: 0.5591 MB / 0.499 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009433/0.3622, allocations: 7.378 MB / 0.5062 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.3634, allocations: 90.44 kB / 0.5063 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.3636, allocations: 108 kB / 0.5064 GB, free: 12.86 MB / 398.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.0006783/0.3643, allocations: 363.8 kB / 0.5068 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.3646, allocations: 123.2 kB / 0.5069 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.3696, allocations: 1.519 MB / 0.5084 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.3696, allocations: 12 kB / 0.5084 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3696, allocations: 0 / 0.5084 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3696, allocations: 7.969 kB / 0.5084 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006828/0.3764, allocations: 2.651 MB / 0.511 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.3764, allocations: 11.09 kB / 0.511 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009081/0.3773, allocations: 218.3 kB / 0.5112 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002849/0.3802, allocations: 404.7 kB / 0.5116 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/0.3803, allocations: 43.98 kB / 0.5116 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008803/0.3891, allocations: 7.161 MB / 0.5186 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.3891, allocations: 18.5 kB / 0.5186 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/0.3945, allocations: 2.14 MB / 0.5207 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/0.395, allocations: 119.2 kB / 0.5208 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.3952, allocations: 28 kB / 0.5209 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/0.3959, allocations: 31.94 kB / 0.5209 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.3961, allocations: 118.9 kB / 0.521 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/0.3962, allocations: 47.98 kB / 0.5211 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001291/0.3975, allocations: 0.9713 MB / 0.522 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3975, allocations: 0 / 0.522 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00286/0.4004, allocations: 0.8221 MB / 0.5228 GB, free: 11.39 MB / 414.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.001806/0.4022, allocations: 0.9241 MB / 0.5237 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003519/0.4057, allocations: 1.703 MB / 0.5254 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.4057, allocations: 0 / 0.5254 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.4072, allocations: 0.9588 MB / 0.5263 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.4086, allocations: 219.1 kB / 0.5265 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.4133, allocations: 2.751 MB / 0.5292 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/0.414, allocations: 0.6316 MB / 0.5298 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009565/0.415, allocations: 316.8 kB / 0.5301 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.4154, allocations: 179.2 kB / 0.5303 GB, free: 3.75 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4154, allocations: 2.656 kB / 0.5303 GB, free: 3.75 MB / 414.1 MB Notification: Performance of Templates: time 0.04893/0.4643, allocations: 27.8 MB / 0.5574 GB, free: 8.605 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.984395660459995] Failed to read output from testmodel.py, exit status != 0: 0.47392425313591957 0.489760826 0.200223919 Calling exit ...