Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001856/0.001856, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002114/0.002114, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.1445/0.1445, allocations: 17.46 MB / 277 MB, free: 11.58 MB / 266.7 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.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.211e-05, allocations: 4.984 kB / 352.8 MB, free: 10.18 MB / 282.7 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.ClimateChange.MethanElectrosynthesis): time 0.04538/0.04541, allocations: 30.76 MB / 383.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0323/0.07771, allocations: 22.12 MB / 405.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.07899, allocations: 31.75 kB / 405.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.0808, allocations: 0.5347 MB / 406.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004118/0.08492, allocations: 1.365 MB / 407.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1666/0.2515, allocations: 3.436 MB / 411.1 MB, free: 34.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00437/0.2559, allocations: 2.479 MB / 413.6 MB, free: 34.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.2581, allocations: 1.303 MB / 414.9 MB, free: 34.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.2609, allocations: 1.541 MB / 416.4 MB, free: 34.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.2629, allocations: 1.004 MB / 417.4 MB, free: 34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004811/0.2634, allocations: 233.1 kB / 417.6 MB, free: 34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007948/0.2713, allocations: 2.249 MB / 419.9 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008463/0.2722, allocations: 0.5499 MB / 420.4 MB, free: 33.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.2739, allocations: 0.8273 MB / 421.3 MB, free: 33.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.286, allocations: 5.287 MB / 426.5 MB, free: 32.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.286, allocations: 0 / 426.5 MB, free: 32.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.286, allocations: 3.219 kB / 426.5 MB, free: 32.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.894e-05/0.2861, allocations: 0 / 426.5 MB, free: 32.73 MB / 330.7 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.005422/0.2915, allocations: 2.888 MB / 429.4 MB, free: 31.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2916, allocations: 8.719 kB / 429.4 MB, free: 31.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.2938, allocations: 0.8924 MB / 430.3 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.2958, allocations: 1.166 MB / 431.5 MB, free: 30.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.296, allocations: 253.3 kB / 431.7 MB, free: 29.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.2962, allocations: 188.3 kB / 431.9 MB, free: 29.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003568/0.2998, allocations: 2.358 MB / 434.3 MB, free: 28.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/0.2999, allocations: 0 / 434.3 MB, free: 28.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.3001, allocations: 79.34 kB / 434.4 MB, free: 28.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.3001, allocations: 49.28 kB / 434.4 MB, free: 28.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.3036, allocations: 2.506 MB / 436.9 MB, free: 27.8 MB / 330.7 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.01114/0.3148, allocations: 7.99 MB / 444.9 MB, free: 20.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.3163, allocations: 1.064 MB / 446 MB, free: 19.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.317, allocations: 0.552 MB / 446.5 MB, free: 18.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00706/0.3241, allocations: 3.611 MB / 450.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3241, allocations: 49.98 kB / 450.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008382/0.3249, allocations: 185.1 kB / 450.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.785e-06/0.3249, allocations: 2.656 kB / 450.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.02657/0.3515, allocations: 6.834 MB / 457.2 MB, free: 8.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3516, allocations: 123.1 kB / 457.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.3531, allocations: 1.609 MB / 458.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.3532, allocations: 48.42 kB / 459 MB, free: 6.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.3537, allocations: 1.154 MB / 460.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.354, allocations: 455.4 kB / 460.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.3545, allocations: 477 kB / 461 MB, free: 4.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.3546, allocations: 480.8 kB / 461.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009436/0.3555, allocations: 0.5974 MB / 462.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.3569, allocations: 1.692 MB / 463.8 MB, free: 1.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.3601, allocations: 2.475 MB / 466.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.3602, allocations: 8 kB / 466.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0087/0.3689, allocations: 2.87 MB / 469.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.3689, allocations: 14.62 kB / 469.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/0.3689, allocations: 31.12 kB / 469.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006862/0.3758, allocations: 1.136 MB / 470.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.3776, allocations: 434.1 kB / 470.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.3911, allocations: 9.026 MB / 479.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.3931, allocations: 102.4 kB / 479.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/0.3933, allocations: 120 kB / 480 MB, free: 0.6328 MB / 346.7 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.0009212/0.3943, allocations: 436.6 kB / 480.4 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.3947, allocations: 183 kB / 480.6 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007016/0.4017, allocations: 2.105 MB / 482.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.4018, allocations: 12 kB / 482.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.4018, allocations: 4 kB / 482.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.4018, allocations: 7.969 kB / 482.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.4124, allocations: 3.746 MB / 486.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.4124, allocations: 0 / 486.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.4132, allocations: 178.6 kB / 486.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006059/0.4193, allocations: 1.026 MB / 487.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.4195, allocations: 47.91 kB / 487.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.4301, allocations: 8.23 MB / 496 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4301, allocations: 4 kB / 496 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/0.4383, allocations: 2.968 MB / 498.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/0.4389, allocations: 131 kB / 499.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/0.4392, allocations: 24 kB / 499.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00096/0.4402, allocations: 34.64 kB / 499.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004201/0.4406, allocations: 122.9 kB / 499.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.4407, allocations: 51.97 kB / 499.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.4422, allocations: 0.9319 MB / 0.4885 GB, free: 12.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4422, allocations: 0 / 0.4885 GB, free: 12.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00399/0.4461, allocations: 0.9664 MB / 0.4894 GB, free: 11.15 MB / 378.7 MB 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.002492/0.4486, allocations: 1.04 MB / 0.4905 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005249/0.4539, allocations: 2.381 MB / 0.4928 GB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4539, allocations: 0 / 0.4928 GB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.4564, allocations: 1.3 MB / 0.4941 GB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.4581, allocations: 280.7 kB / 0.4943 GB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.4645, allocations: 3.144 MB / 0.4974 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/0.4654, allocations: 0.729 MB / 0.4981 GB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.4664, allocations: 313.3 kB / 0.4984 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.4668, allocations: 179.1 kB / 0.4986 GB, free: 2.094 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4669, allocations: 0 / 0.4986 GB, free: 2.094 MB / 378.7 MB Notification: Performance of Templates: time 0.06441/0.5313, allocations: 36.34 MB / 0.5341 GB, free: 14.59 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.452143261907622]