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.001358/0.001358, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001657/0.001657, allocations: 173 kB / 23.28 MB, free: 1.215 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.9256/0.9256, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.08447/0.08447, allocations: 17.46 MB / 277.7 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.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.723e-06/1.723e-06, allocations: 0 / 354 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.464e-05, allocations: 10.25 kB / 354 MB, free: 10.58 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.ElectrolysisMethanation): time 0.03148/0.03151, allocations: 34.09 MB / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.05004, allocations: 16.8 MB / 404.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.05204, allocations: 35.75 kB / 404.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.05335, allocations: 495.7 kB / 405.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.05812, allocations: 1.799 MB / 407.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005804/0.06393, allocations: 2.483 MB / 409.7 MB, free: 2.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004053/0.06798, allocations: 3.189 MB / 412.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.07005, allocations: 1.66 MB / 414.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.07261, allocations: 2.161 MB / 416.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.07462, allocations: 1.415 MB / 418.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005196/0.07514, allocations: 296 kB / 418.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/0.08007, allocations: 1.755 MB / 420.2 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006939/0.08077, allocations: 0.7165 MB / 420.9 MB, free: 7.617 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.08216, allocations: 1.06 MB / 422 MB, free: 6.555 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008887/0.09105, allocations: 4.222 MB / 426.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.09106, allocations: 0 / 426.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09106, allocations: 0 / 426.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.597e-05/0.09112, allocations: 0 / 426.2 MB, free: 2.316 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: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.005466/0.09659, allocations: 3.202 MB / 429.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.09664, allocations: 15.88 kB / 429.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.09921, allocations: 0.9297 MB / 430.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.1013, allocations: 1.201 MB / 431.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.1015, allocations: 339.6 kB / 431.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/0.1019, allocations: 240.3 kB / 432.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.1052, allocations: 2.165 MB / 434.3 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.1053, allocations: 3.938 kB / 434.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.1055, allocations: 99.98 kB / 434.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.1056, allocations: 60 kB / 434.4 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.1088, allocations: 1.888 MB / 436.3 MB, free: 7.918 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.1526/0.2614, allocations: 8.823 MB / 445.1 MB, free: 90.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2627, allocations: 1.266 MB / 446.4 MB, free: 90.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.2631, allocations: 0.5542 MB / 446.9 MB, free: 90.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005297/0.2684, allocations: 4.609 MB / 451.6 MB, free: 90.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2685, allocations: 58.11 kB / 451.6 MB, free: 90.03 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006555/0.2691, allocations: 280.8 kB / 451.9 MB, free: 90.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 6.853e-06/0.2691, allocations: 3.469 kB / 451.9 MB, free: 90.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.0142/0.2833, allocations: 6.622 MB / 458.5 MB, free: 89.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2834, allocations: 123.6 kB / 458.6 MB, free: 89.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.2842, allocations: 1.231 MB / 459.9 MB, free: 89.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.96e-05/0.2843, allocations: 57.36 kB / 459.9 MB, free: 89.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.2847, allocations: 1.266 MB / 461.2 MB, free: 88.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.285, allocations: 0.6586 MB / 461.8 MB, free: 88.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/0.2855, allocations: 0.5375 MB / 462.4 MB, free: 88.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.2855, allocations: 483.3 kB / 462.9 MB, free: 87.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.286, allocations: 400.7 kB / 463.2 MB, free: 87.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.2868, allocations: 1.749 MB / 465 MB, free: 85.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.2884, allocations: 2.43 MB / 467.4 MB, free: 84.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.2884, allocations: 9.75 kB / 467.4 MB, free: 84.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.004328/0.2928, allocations: 2.689 MB / 470.1 MB, free: 83.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.2928, allocations: 21.22 kB / 470.1 MB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/0.2928, allocations: 33.47 kB / 470.2 MB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/0.2956, allocations: 1.025 MB / 471.2 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.2969, allocations: 0.5898 MB / 471.8 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/0.3021, allocations: 7.882 MB / 479.7 MB, free: 77.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.3034, allocations: 110.1 kB / 479.8 MB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.3036, allocations: 137.8 kB / 479.9 MB, free: 77.21 MB / 410.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 (305): * Single equations (assignments): 300 * 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.0005469/0.3041, allocations: 341.7 kB / 480.3 MB, free: 77.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.3045, allocations: 230.8 kB / 480.5 MB, free: 76.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.3086, allocations: 2.24 MB / 482.7 MB, free: 76.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.3086, allocations: 18.91 kB / 482.7 MB, free: 76.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3086, allocations: 4.125 kB / 482.7 MB, free: 76.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.3086, allocations: 15.67 kB / 482.8 MB, free: 76.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005753/0.3144, allocations: 3.528 MB / 486.3 MB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3144, allocations: 1.938 kB / 486.3 MB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.315, allocations: 302.7 kB / 486.6 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/0.3176, allocations: 0.91 MB / 487.5 MB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.3177, allocations: 73.83 kB / 487.6 MB, free: 75.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.321, allocations: 7.258 MB / 494.8 MB, free: 68.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.321, allocations: 7.281 kB / 494.8 MB, free: 68.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.325, allocations: 2.724 MB / 497.6 MB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.3254, allocations: 155.6 kB / 497.7 MB, free: 67.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.3256, allocations: 37.81 kB / 497.7 MB, free: 67.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.3261, allocations: 42.38 kB / 497.8 MB, free: 67.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.3263, allocations: 193.4 kB / 498 MB, free: 67.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/0.3264, allocations: 66.22 kB / 498 MB, free: 67.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004437/0.3269, allocations: 0.6408 MB / 498.7 MB, free: 66.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3269, allocations: 0 / 498.7 MB, free: 66.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002377/0.3293, allocations: 0.9651 MB / 499.6 MB, free: 66.84 MB / 410.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 (156): * Single equations (assignments): 151 * 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.001181/0.3304, allocations: 0.8506 MB / 0.4888 GB, free: 66.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.3334, allocations: 2.194 MB / 0.4909 GB, free: 65.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3334, allocations: 0 / 0.4909 GB, free: 65.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3347, allocations: 1.284 MB / 0.4922 GB, free: 65.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3358, allocations: 358.2 kB / 0.4925 GB, free: 65.16 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.005009/0.3408, allocations: 3.667 MB / 0.4961 GB, free: 63.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3412, allocations: 391.1 kB / 0.4965 GB, free: 63.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009829/0.3421, allocations: 409.2 kB / 0.4968 GB, free: 63.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007974/0.3429, allocations: 0.5693 MB / 0.4974 GB, free: 63.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.3429, allocations: 0 / 0.4974 GB, free: 63.09 MB / 410.7 MB Notification: Performance of Templates: time 0.04234/0.3853, allocations: 43.84 MB / 0.5402 GB, free: 24.26 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: 5.12531229481101]