Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.001382/0.001382, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001556/0.001556, allocations: 213 kB / 22.24 MB, free: 4.855 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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.1337/0.1337, allocations: 23.9 MB / 336.3 MB, free: 10.93 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.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [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.002106/0.002106, allocations: 75.88 kB / 471.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2996, allocations: 59.85 MB / 0.519 GB, free: 9.762 MB / 382.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.ClimateChange.MethanElectrosynthesis): time 0.07159/0.3711, allocations: 29.28 MB / 0.5476 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02628/0.3974, allocations: 19.45 MB / 0.5666 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.3988, allocations: 35.81 kB / 0.5667 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.4003, allocations: 0.5287 MB / 0.5672 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.4038, allocations: 1.312 MB / 0.5684 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008514/0.4123, allocations: 3.351 MB / 0.5717 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.4157, allocations: 2.395 MB / 0.5741 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.4173, allocations: 1.247 MB / 0.5753 GB, free: 156 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.4185, allocations: 1.059 MB / 0.5763 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.4199, allocations: 1.085 MB / 0.5774 GB, free: 14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.4203, allocations: 232 kB / 0.5776 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.426, allocations: 2.227 MB / 0.5798 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006524/0.4266, allocations: 0.5413 MB / 0.5803 GB, free: 11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.4278, allocations: 0.9493 MB / 0.5812 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008836/0.4366, allocations: 5.019 MB / 0.5861 GB, free: 5.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4366, allocations: 0 / 0.5861 GB, free: 5.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4366, allocations: 0 / 0.5861 GB, free: 5.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.686e-05/0.4366, allocations: 0 / 0.5861 GB, free: 5.008 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.00479/0.4414, allocations: 2.651 MB / 0.5887 GB, free: 2.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4415, allocations: 8.031 kB / 0.5887 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.4434, allocations: 0.5106 MB / 0.5892 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.4457, allocations: 1.137 MB / 0.5903 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.4459, allocations: 258.9 kB / 0.5906 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.4463, allocations: 188 kB / 0.5908 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.4505, allocations: 2.719 MB / 0.5934 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.4506, allocations: 3.938 kB / 0.5934 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.4508, allocations: 76 kB / 0.5935 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.4508, allocations: 52 kB / 0.5935 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004918/0.4557, allocations: 3.307 MB / 0.5968 GB, free: 9.93 MB / 446.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.01226/0.468, allocations: 7.289 MB / 0.6039 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.4699, allocations: 1.116 MB / 0.605 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/0.4709, allocations: 0.595 MB / 0.6056 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007395/0.4783, allocations: 3.383 MB / 0.6089 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4783, allocations: 43.2 kB / 0.6089 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007749/0.4791, allocations: 183 kB / 0.6091 GB, free: 13.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.096e-06/0.4791, allocations: 4 kB / 0.6091 GB, free: 13.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02675/0.5059, allocations: 6.913 MB / 0.6158 GB, free: 6.125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.5059, allocations: 123.9 kB / 0.6159 GB, free: 5.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.5082, allocations: 1.823 MB / 0.6177 GB, free: 4.145 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.5084, allocations: 45.7 kB / 0.6178 GB, free: 4.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/0.5091, allocations: 1.053 MB / 0.6188 GB, free: 3.027 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.5096, allocations: 436.4 kB / 0.6192 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006167/0.5102, allocations: 415.3 kB / 0.6196 GB, free: 2.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5103, allocations: 305.1 kB / 0.6199 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.5117, allocations: 0.8745 MB / 0.6208 GB, free: 1.004 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.5137, allocations: 1.608 MB / 0.6223 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.5171, allocations: 2.356 MB / 0.6246 GB, free: 12.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/0.5172, allocations: 8 kB / 0.6246 GB, free: 12.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008318/0.5255, allocations: 3.32 MB / 0.6279 GB, free: 9.008 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.5255, allocations: 12 kB / 0.6279 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/0.5255, allocations: 24 kB / 0.6279 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004737/0.5303, allocations: 1.041 MB / 0.6289 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.5319, allocations: 435.3 kB / 0.6293 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.5421, allocations: 7.039 MB / 0.6362 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.5438, allocations: 95.91 kB / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.5441, allocations: 124.1 kB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007965/0.5449, allocations: 409 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.5452, allocations: 139.1 kB / 0.637 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0066/0.5518, allocations: 2.17 MB / 0.6391 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.5518, allocations: 16.03 kB / 0.6391 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5518, allocations: 8 kB / 0.6391 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.5518, allocations: 11.97 kB / 0.6391 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009525/0.5614, allocations: 3.504 MB / 0.6425 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5614, allocations: 0 / 0.6425 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.5621, allocations: 183.9 kB / 0.6427 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/0.5664, allocations: 0.9286 MB / 0.6436 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.5666, allocations: 39.97 kB / 0.6436 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008576/0.5752, allocations: 6.343 MB / 0.6498 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5752, allocations: 4.031 kB / 0.6498 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007573/0.5827, allocations: 2.891 MB / 0.6527 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.5831, allocations: 127.3 kB / 0.6528 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.5833, allocations: 24 kB / 0.6528 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/0.5842, allocations: 39.97 kB / 0.6529 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.5845, allocations: 120.7 kB / 0.653 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.5846, allocations: 51.97 kB / 0.653 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001516/0.5861, allocations: 1.248 MB / 0.6542 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5861, allocations: 0 / 0.6542 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002887/0.589, allocations: 0.9702 MB / 0.6552 GB, free: 12.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/0.5908, allocations: 1.012 MB / 0.6562 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004784/0.5956, allocations: 2.369 MB / 0.6585 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5956, allocations: 2 kB / 0.6585 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.5978, allocations: 1.09 MB / 0.6596 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.5992, allocations: 231.9 kB / 0.6598 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.6055, allocations: 3.221 MB / 0.6629 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.6064, allocations: 0.7292 MB / 0.6636 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001141/0.6075, allocations: 315.3 kB / 0.6639 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.6079, allocations: 183.3 kB / 0.6641 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/0.6079, allocations: 4 kB / 0.6641 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.05933/0.6673, allocations: 38.21 MB / 0.7014 GB, free: 12.8 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.198172513395548] Failed to read output from testmodel.py, exit status != 0: 0.6763443239033222 0.6908299299999999 0.251022167 Calling exit ...