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.0007729/0.0007729, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007619/0.0007619, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8537/0.8537, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.09955/0.09955, allocations: 17.44 MB / 277.4 MB, free: 11.8 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 2.134e-06/2.134e-06, allocations: 0 / 412.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.556e-05, allocations: 2.281 kB / 412.9 MB, free: 15.76 MB / 394.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.0204/0.02041, allocations: 29.51 MB / 442.4 MB, free: 2.301 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1489/0.1693, allocations: 19.46 MB / 461.8 MB, free: 52.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.17, allocations: 27.16 kB / 461.9 MB, free: 52.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.1707, allocations: 0.5396 MB / 462.4 MB, free: 52.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.1723, allocations: 1.361 MB / 463.8 MB, free: 51.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.1762, allocations: 3.446 MB / 467.2 MB, free: 49.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.1774, allocations: 2.488 MB / 469.7 MB, free: 48.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.1782, allocations: 1.241 MB / 470.9 MB, free: 47.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007744/0.179, allocations: 1.534 MB / 472.5 MB, free: 47.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.1797, allocations: 0.9427 MB / 473.4 MB, free: 46.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.1798, allocations: 234.4 kB / 473.7 MB, free: 46.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.1824, allocations: 2.251 MB / 475.9 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.1826, allocations: 0.5469 MB / 476.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.183, allocations: 0.8167 MB / 477.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.1863, allocations: 5.266 MB / 482.5 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1863, allocations: 5.656 kB / 482.5 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1863, allocations: 0 / 482.5 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.1863, allocations: 1.5 kB / 482.5 MB, free: 43.45 MB / 410.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.002327/0.1886, allocations: 2.631 MB / 485.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1887, allocations: 11.41 kB / 485.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.1896, allocations: 0.5063 MB / 485.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.1906, allocations: 1.142 MB / 486.8 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.1907, allocations: 250.8 kB / 487.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.1909, allocations: 187.5 kB / 487.3 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.1932, allocations: 2.718 MB / 490 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.1932, allocations: 3.938 kB / 490 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.1933, allocations: 77.41 kB / 490.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.1934, allocations: 47.62 kB / 490.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.1963, allocations: 3.313 MB / 493.4 MB, free: 38.59 MB / 410.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.006838/0.2031, allocations: 7.293 MB / 0.489 GB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.2043, allocations: 1.112 MB / 0.4901 GB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.205, allocations: 0.5928 MB / 0.4906 GB, free: 33.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.2092, allocations: 3.386 MB / 0.4939 GB, free: 32.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.2092, allocations: 41.41 kB / 0.494 GB, free: 32.01 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003889/0.2096, allocations: 189.3 kB / 0.4942 GB, free: 31.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 3.307e-06/0.2096, allocations: 0 / 0.4942 GB, free: 31.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.01316/0.2228, allocations: 6.911 MB / 0.5009 GB, free: 29.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2228, allocations: 119.7 kB / 0.501 GB, free: 29.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.224, allocations: 1.827 MB / 0.5028 GB, free: 28.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.2241, allocations: 45.7 kB / 0.5029 GB, free: 28.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.2243, allocations: 1.05 MB / 0.5039 GB, free: 27.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.2245, allocations: 435.2 kB / 0.5043 GB, free: 26.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.2248, allocations: 413.3 kB / 0.5047 GB, free: 26.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.694e-05/0.2248, allocations: 305.1 kB / 0.505 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.2256, allocations: 0.8734 MB / 0.5058 GB, free: 25.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.2265, allocations: 1.608 MB / 0.5074 GB, free: 23.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.228, allocations: 2.351 MB / 0.5097 GB, free: 20.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.228, allocations: 8 kB / 0.5097 GB, free: 20.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003764/0.2318, allocations: 3.321 MB / 0.513 GB, free: 17.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2318, allocations: 14.66 kB / 0.513 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.2318, allocations: 24 kB / 0.513 GB, free: 17.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.2339, allocations: 1.027 MB / 0.514 GB, free: 16.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.2346, allocations: 437.3 kB / 0.5144 GB, free: 16.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.239, allocations: 7.052 MB / 0.5213 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.2398, allocations: 94.53 kB / 0.5214 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.2399, allocations: 124 kB / 0.5215 GB, free: 8.465 MB / 410.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.0004777/0.2403, allocations: 403.7 kB / 0.5219 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.2405, allocations: 135.1 kB / 0.522 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.2436, allocations: 2.177 MB / 0.5241 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2436, allocations: 12 kB / 0.5242 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2436, allocations: 4.875 kB / 0.5242 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2436, allocations: 8.094 kB / 0.5242 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/0.2481, allocations: 3.5 MB / 0.5276 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2481, allocations: 0 / 0.5276 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.2484, allocations: 181.3 kB / 0.5278 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/0.2503, allocations: 0.9211 MB / 0.5287 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.2504, allocations: 43.91 kB / 0.5287 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.2547, allocations: 6.339 MB / 0.5349 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2547, allocations: 4.031 kB / 0.5349 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.2585, allocations: 2.89 MB / 0.5377 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.2586, allocations: 129.8 kB / 0.5378 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.2588, allocations: 24 kB / 0.5379 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.2592, allocations: 31.98 kB / 0.5379 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.2593, allocations: 119.4 kB / 0.538 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.2594, allocations: 55.97 kB / 0.5381 GB, free: 7.152 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008839/0.2603, allocations: 1.248 MB / 0.5393 GB, free: 5.898 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2603, allocations: 2.656 kB / 0.5393 GB, free: 5.898 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002051/0.2623, allocations: 0.9702 MB / 0.5402 GB, free: 4.926 MB / 426.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.001187/0.2635, allocations: 1.041 MB / 0.5412 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.2661, allocations: 2.363 MB / 0.5436 GB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2661, allocations: 0 / 0.5436 GB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.2672, allocations: 1.099 MB / 0.5446 GB, free: 408 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.268, allocations: 227.7 kB / 0.5448 GB, free: 208 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.2713, allocations: 3.133 MB / 0.5479 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.2718, allocations: 0.7253 MB / 0.5486 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.2721, allocations: 220 kB / 0.5488 GB, free: 12.13 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2721, allocations: 4 kB / 0.5488 GB, free: 12.12 MB / 442.7 MB Notification: Performance of Templates: time 0.03958/0.3117, allocations: 66.02 MB / 0.6133 GB, free: 10.55 MB / 0.4948 GB " [Timeout remaining time 660] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.5289514400064945] Failed to read output from testmodel.py, exit status != 0: 0.32151030376553535 0.49181542899999997 0.30341055399999994 Calling exit ...