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.001107/0.001107, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002471, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001088/0.001088, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.00246, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09907/1.134, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.1141/0.1141, allocations: 17.37 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01479/0.1289, allocations: 6.929 MB / 268.3 MB, free: 6.512 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 269.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.386e-05, allocations: 6.312 kB / 269.5 MB, free: 5.23 MB / 266.7 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.1628/0.1628, allocations: 9.131 MB / 278.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.1784, allocations: 15.21 MB / 293.9 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.1798, allocations: 27.69 kB / 293.9 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009064/0.1807, allocations: 447 kB / 294.4 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.1837, allocations: 1.315 MB / 295.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005643/0.1894, allocations: 2.246 MB / 297.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.192, allocations: 2.478 MB / 300.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.1934, allocations: 1.324 MB / 301.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.1955, allocations: 1.72 MB / 303.4 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.1967, allocations: 1.021 MB / 304.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.1971, allocations: 232 kB / 304.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.201, allocations: 1.567 MB / 306.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.2014, allocations: 406.8 kB / 306.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000768/0.2021, allocations: 0.6629 MB / 307.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005126/0.2073, allocations: 3.152 MB / 310.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.091e-05/0.2073, allocations: 0 / 310.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2073, allocations: 0 / 310.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.11e-05/0.2073, allocations: 0 / 310.5 MB, free: 9.707 MB / 298.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.003608/0.211, allocations: 3.1 MB / 313.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.211, allocations: 8.031 kB / 313.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.2123, allocations: 0.8749 MB / 314.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.2133, allocations: 0.7542 MB / 315.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.2134, allocations: 251.1 kB / 315.4 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.2136, allocations: 204.3 kB / 315.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.2151, allocations: 1.659 MB / 317.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.2151, allocations: 3.938 kB / 317.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.2152, allocations: 76 kB / 317.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.2153, allocations: 51.94 kB / 317.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.2166, allocations: 1.25 MB / 318.7 MB, free: 1.293 MB / 298.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.006071/0.2227, allocations: 5.466 MB / 324.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.2235, allocations: 0.7591 MB / 324.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.2237, allocations: 281.2 kB / 325.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003652/0.2274, allocations: 2.558 MB / 327.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2274, allocations: 51.14 kB / 327.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003807/0.2278, allocations: 175 kB / 328 MB, free: 7.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 2.645e-06/0.2278, allocations: 0 / 328 MB, free: 7.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=115): time 0.01125/0.239, allocations: 5.038 MB / 333 MB, free: 2.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2391, allocations: 115.8 kB / 333.1 MB, free: 2.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2401, allocations: 1.183 MB / 334.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.2402, allocations: 45.7 kB / 334.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.2405, allocations: 0.9412 MB / 335.3 MB, free: 364 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.2408, allocations: 436.3 kB / 335.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.2411, allocations: 407.2 kB / 336.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.2412, allocations: 301.1 kB / 336.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.2415, allocations: 250.8 kB / 336.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.2421, allocations: 0.9832 MB / 337.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.2433, allocations: 1.466 MB / 339.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.2433, allocations: 8 kB / 339.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002951/0.2462, allocations: 1.67 MB / 340.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.2463, allocations: 16 kB / 340.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.2463, allocations: 24.47 kB / 340.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.2487, allocations: 0.9065 MB / 341.7 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.2495, allocations: 0.4914 MB / 342.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/0.2545, allocations: 5.676 MB / 347.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.2554, allocations: 87.89 kB / 348 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.2556, allocations: 95.95 kB / 348.1 MB, free: 2.535 MB / 330.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.000413/0.256, allocations: 251.8 kB / 348.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.2562, allocations: 107.9 kB / 348.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.2585, allocations: 1.292 MB / 349.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2585, allocations: 12 kB / 349.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2585, allocations: 4 kB / 349.7 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.2585, allocations: 3.984 kB / 349.7 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003639/0.2622, allocations: 2.2 MB / 351.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2622, allocations: 3.984 kB / 351.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.2626, allocations: 219.7 kB / 352.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2627, allocations: 107.1 kB / 352.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/0.2649, allocations: 0.8118 MB / 353.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/0.265, allocations: 43.97 kB / 353.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.2685, allocations: 5.078 MB / 358.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2685, allocations: 3.938 kB / 358.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.2709, allocations: 1.586 MB / 359.8 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.271, allocations: 31.92 kB / 359.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.2714, allocations: 28 kB / 359.8 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.2716, allocations: 112.7 kB / 359.9 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.2716, allocations: 43.97 kB / 360 MB, free: 6.168 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004559/0.2721, allocations: 0.5751 MB / 360.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2721, allocations: 0 / 360.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001757/0.2738, allocations: 0.7953 MB / 361.4 MB, free: 4.789 MB / 346.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.0008654/0.2747, allocations: 0.7194 MB / 362.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.2769, allocations: 1.498 MB / 363.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.776e-05/0.2769, allocations: 31.84 kB / 363.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.2777, allocations: 0.8169 MB / 364.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.2785, allocations: 422.3 kB / 364.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.2908, allocations: 2.986 MB / 367.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2911, allocations: 296.3 kB / 368.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008034/0.2919, allocations: 297.1 kB / 368.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.2924, allocations: 373 kB / 368.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2924, allocations: 0 / 368.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.03888/0.3313, allocations: 35.69 MB / 404.5 MB, free: 9.754 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.567982319742441]