Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.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.0007341/0.0007341, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01016/0.01089, allocations: 440 kB / 10.41 MB, free: 284 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.0008983/0.0008983, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002049, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9778/0.9778, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07898/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.0867/0.0867, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009972/0.09667, allocations: 6.977 MB / 268.6 MB, free: 6.297 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 269.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/1.003e-05, allocations: 6.312 kB / 269.9 MB, free: 4.977 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.ElectrolysisMethanation): time 0.1191/0.1191, allocations: 10.55 MB / 280.4 MB, free: 112 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.1347, allocations: 17.23 MB / 297.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.1357, allocations: 35.72 kB / 297.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008555/0.1366, allocations: 0.4922 MB / 298.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.1396, allocations: 1.791 MB / 300 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004207/0.1438, allocations: 2.455 MB / 302.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.1462, allocations: 3.181 MB / 305.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.1476, allocations: 1.676 MB / 307.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.1493, allocations: 2.285 MB / 309.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.1505, allocations: 1.419 MB / 311 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.1509, allocations: 295.9 kB / 311.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.1537, allocations: 1.821 MB / 313.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.154, allocations: 0.5024 MB / 313.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006974/0.1547, allocations: 0.8267 MB / 314.4 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.1582, allocations: 3.833 MB / 318.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.1582, allocations: 4 kB / 318.3 MB, free: 1.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1582, allocations: 0 / 318.3 MB, free: 1.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.844e-05/0.1583, allocations: 0 / 318.3 MB, free: 1.836 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: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.003587/0.1618, allocations: 3.8 MB / 322.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1619, allocations: 8.031 kB / 322.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.1634, allocations: 0.9561 MB / 323 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.1645, allocations: 0.9135 MB / 323.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.1646, allocations: 343.6 kB / 324.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.1649, allocations: 252.3 kB / 324.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.1668, allocations: 2.143 MB / 326.7 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.1668, allocations: 4 kB / 326.7 MB, free: 9.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.167, allocations: 96 kB / 326.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.167, allocations: 60 kB / 326.8 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.1688, allocations: 1.672 MB / 328.5 MB, free: 7.348 MB / 314.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.006867/0.1756, allocations: 6.853 MB / 335.3 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1767, allocations: 1.184 MB / 336.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.1772, allocations: 484.3 kB / 337 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004495/0.1817, allocations: 3.752 MB / 340.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1817, allocations: 43.88 kB / 340.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005288/0.1822, allocations: 286.6 kB / 341.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 2.876e-06/0.1822, allocations: 0 / 341.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01589/0.1981, allocations: 7.828 MB / 348.9 MB, free: 2.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1981, allocations: 128.9 kB / 349 MB, free: 2.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.1989, allocations: 1.168 MB / 350.2 MB, free: 1.316 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.1989, allocations: 57.7 kB / 350.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.1994, allocations: 1.071 MB / 351.3 MB, free: 172 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.1997, allocations: 0.6584 MB / 352 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.2001, allocations: 0.4973 MB / 352.5 MB, free: 15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.2002, allocations: 309.1 kB / 352.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.2006, allocations: 348.9 kB / 353.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.2014, allocations: 1.3 MB / 354.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.2029, allocations: 2.097 MB / 356.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.2029, allocations: 8 kB / 356.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.003513/0.2064, allocations: 2.186 MB / 358.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.2064, allocations: 20 kB / 358.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.2065, allocations: 32 kB / 358.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/0.2091, allocations: 1.026 MB / 359.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.2102, allocations: 0.6982 MB / 360.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.2143, allocations: 5.643 MB / 366.1 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.2151, allocations: 115.9 kB / 366.2 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.2153, allocations: 132 kB / 366.4 MB, free: 15.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (304): * Single equations (assignments): 299 * 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 {(3,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 {(1,18), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003923/0.2157, allocations: 287.7 kB / 366.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.2159, allocations: 155.9 kB / 366.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.2193, allocations: 1.888 MB / 368.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2193, allocations: 19.98 kB / 368.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2193, allocations: 4 kB / 368.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.2193, allocations: 11.97 kB / 368.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004567/0.2239, allocations: 2.754 MB / 371.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2239, allocations: 8 kB / 371.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.2246, allocations: 391.8 kB / 371.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.2247, allocations: 142.9 kB / 372 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.2271, allocations: 0.9016 MB / 372.9 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.2272, allocations: 67.95 kB / 373 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.2305, allocations: 5.085 MB / 378.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2305, allocations: 7.938 kB / 378.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.2337, allocations: 2.2 MB / 380.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.2338, allocations: 44.12 kB / 380.3 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.2343, allocations: 36 kB / 380.4 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.2345, allocations: 185.6 kB / 380.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/0.2346, allocations: 75.89 kB / 380.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003749/0.235, allocations: 0.5412 MB / 381.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.235, allocations: 0 / 381.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001912/0.2369, allocations: 0.9632 MB / 382.1 MB, free: 15.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,CH4.logn,CO2.logn,H2.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 (155): * Single equations (assignments): 150 * 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 {(3,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,19), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009362/0.2379, allocations: 0.8381 MB / 382.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.2399, allocations: 1.872 MB / 384.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.337e-05/0.2399, allocations: 42.47 kB / 384.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.241, allocations: 1.158 MB / 386 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.2424, allocations: 2.061 MB / 388.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.2559, allocations: 3.696 MB / 391.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2561, allocations: 384.1 kB / 392.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008549/0.257, allocations: 415.6 kB / 392.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/0.2578, allocations: 0.5178 MB / 393.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2578, allocations: 0 / 393.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of Templates: time 0.1492/0.4069, allocations: 43.65 MB / 436.7 MB, free: 113.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8834054535254836]