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.0009792/0.0009792, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001024/0.001024, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9391/0.9391, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.08168/0.08168, allocations: 17.46 MB / 278.5 MB, free: 11.4 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.032e-06/1.032e-06, allocations: 0 / 354.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.56e-05, allocations: 2.312 kB / 354.8 MB, free: 10.44 MB / 330.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.0267/0.02672, allocations: 32.68 MB / 387.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.03964, allocations: 14.83 MB / 402.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008916/0.04053, allocations: 31.75 kB / 402.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007599/0.04129, allocations: 432.4 kB / 402.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.04327, allocations: 1.334 MB / 404.1 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.04704, allocations: 2.26 MB / 406.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.04885, allocations: 2.479 MB / 408.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.04989, allocations: 1.31 MB / 410.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.051, allocations: 1.591 MB / 411.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000946/0.05195, allocations: 1.04 MB / 412.8 MB, free: 412 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.05217, allocations: 236 kB / 413 MB, free: 176 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.05443, allocations: 1.509 MB / 414.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.05477, allocations: 0.5569 MB / 415.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.05534, allocations: 0.8224 MB / 415.9 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.05837, allocations: 3.459 MB / 419.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.05837, allocations: 0 / 419.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.05837, allocations: 0 / 419.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.05839, allocations: 0 / 419.4 MB, free: 9.805 MB / 394.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.002631/0.06103, allocations: 2.638 MB / 422 MB, free: 7.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.06106, allocations: 8.031 kB / 422 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.06232, allocations: 0.8367 MB / 422.8 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.0633, allocations: 0.9792 MB / 423.8 MB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.06343, allocations: 251.2 kB / 424.1 MB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.06363, allocations: 192.3 kB / 424.3 MB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.06517, allocations: 1.676 MB / 425.9 MB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.0652, allocations: 3.938 kB / 425.9 MB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.06532, allocations: 84 kB / 426 MB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.06535, allocations: 44 kB / 426.1 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.06683, allocations: 1.448 MB / 427.5 MB, free: 1.445 MB / 394.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.006307/0.07313, allocations: 7.042 MB / 434.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/0.07397, allocations: 0.7995 MB / 435.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.07429, allocations: 333.5 kB / 435.7 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003595/0.07789, allocations: 3.174 MB / 438.8 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.07791, allocations: 46.05 kB / 438.9 MB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003664/0.07828, allocations: 174.9 kB / 439.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 1.903e-06/0.07828, allocations: 0 / 439.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.01131/0.08959, allocations: 4.756 MB / 443.8 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.08964, allocations: 115.8 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1396/0.2293, allocations: 1.258 MB / 445.2 MB, free: 98.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.2295, allocations: 44.61 kB / 445.2 MB, free: 98.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.2299, allocations: 1.12 MB / 446.4 MB, free: 97.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.2302, allocations: 438.6 kB / 446.8 MB, free: 97.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.2306, allocations: 432 kB / 447.2 MB, free: 97.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.2306, allocations: 479.8 kB / 447.7 MB, free: 97.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.231, allocations: 287.4 kB / 448 MB, free: 97.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.2317, allocations: 1.32 MB / 449.3 MB, free: 95.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.2329, allocations: 1.777 MB / 451.1 MB, free: 94.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.2329, allocations: 6.375 kB / 451.1 MB, free: 94.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003504/0.2364, allocations: 2.037 MB / 453.1 MB, free: 94.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2365, allocations: 13.12 kB / 453.1 MB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.2365, allocations: 28.69 kB / 453.1 MB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/0.24, allocations: 0.9037 MB / 454 MB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.241, allocations: 428.4 kB / 454.5 MB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005429/0.2464, allocations: 7.88 MB / 462.3 MB, free: 87.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.2476, allocations: 90.39 kB / 462.4 MB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.2478, allocations: 105.9 kB / 462.5 MB, free: 87.54 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.0004626/0.2482, allocations: 283.5 kB / 462.8 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.2485, allocations: 183.4 kB / 463 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.2521, allocations: 1.482 MB / 464.5 MB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2521, allocations: 12.38 kB / 464.5 MB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2521, allocations: 3.062 kB / 464.5 MB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2521, allocations: 9.359 kB / 464.5 MB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/0.2575, allocations: 2.72 MB / 467.2 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2575, allocations: 3.25 kB / 467.2 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/0.258, allocations: 170.6 kB / 467.4 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003161/0.2612, allocations: 0.8084 MB / 468.2 MB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/0.2612, allocations: 50.67 kB / 468.2 MB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.2655, allocations: 7.245 MB / 475.5 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2655, allocations: 5.719 kB / 475.5 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.2692, allocations: 1.95 MB / 477.4 MB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.2695, allocations: 131.2 kB / 477.6 MB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.2697, allocations: 25.78 kB / 477.6 MB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.2702, allocations: 28.31 kB / 477.6 MB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.2705, allocations: 119.2 kB / 477.7 MB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.2706, allocations: 45.94 kB / 477.8 MB, free: 79.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000589/0.2712, allocations: 0.6952 MB / 478.5 MB, free: 79.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2712, allocations: 1.75 kB / 478.5 MB, free: 79.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002309/0.2735, allocations: 0.7956 MB / 479.3 MB, free: 79.3 MB / 410.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.001018/0.2745, allocations: 0.7246 MB / 480 MB, free: 79.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.2768, allocations: 1.75 MB / 481.7 MB, free: 78.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2769, allocations: 3.062 kB / 481.8 MB, free: 78.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2779, allocations: 1.037 MB / 482.8 MB, free: 77.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.279, allocations: 264 kB / 483 MB, free: 77.96 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.2834, allocations: 2.904 MB / 486 MB, free: 76.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2837, allocations: 300.5 kB / 486.2 MB, free: 76.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007843/0.2845, allocations: 296.6 kB / 486.5 MB, free: 76.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/0.2851, allocations: 409.5 kB / 486.9 MB, free: 76.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2851, allocations: 0 / 486.9 MB, free: 76.48 MB / 410.7 MB Notification: Performance of Templates: time 0.04057/0.3257, allocations: 35.91 MB / 0.5106 GB, free: 59.57 MB / 410.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9045635838992894]