Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001342/0.001342, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001003/0.001003, allocations: 173 kB / 23.49 MB, free: 1.062 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.9663/0.9663, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.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.1009/0.1009, allocations: 17.37 MB / 277.7 MB, free: 11.71 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.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 353.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.693e-05, allocations: 2.312 kB / 353.5 MB, free: 10.29 MB / 282.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.ElectrolysisMethanation): time 0.03245/0.03248, allocations: 34.66 MB / 388.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1704/0.2029, allocations: 29.04 MB / 417.2 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.2044, allocations: 38.09 kB / 417.2 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.2059, allocations: 0.6344 MB / 417.8 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.2114, allocations: 2.294 MB / 420.1 MB, free: 33.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00844/0.2199, allocations: 4.107 MB / 424.2 MB, free: 32.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.2238, allocations: 3.189 MB / 427.4 MB, free: 31.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.2259, allocations: 1.66 MB / 429.1 MB, free: 31.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.2285, allocations: 2.097 MB / 431.2 MB, free: 30.65 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.2303, allocations: 1.401 MB / 432.6 MB, free: 30.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006924/0.231, allocations: 297.2 kB / 432.9 MB, free: 30.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007706/0.2387, allocations: 3.007 MB / 435.9 MB, free: 29.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008492/0.2395, allocations: 0.7196 MB / 436.6 MB, free: 29.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2411, allocations: 1.058 MB / 437.7 MB, free: 28.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.2519, allocations: 5.777 MB / 443.4 MB, free: 25.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2519, allocations: 3.938 kB / 443.4 MB, free: 25.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2519, allocations: 2.656 kB / 443.4 MB, free: 25.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001004/0.252, allocations: 0 / 443.4 MB, free: 25.68 MB / 330.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.004226/0.2562, allocations: 3.433 MB / 446.9 MB, free: 22.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2562, allocations: 8.031 kB / 446.9 MB, free: 22.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.2581, allocations: 0.9989 MB / 447.9 MB, free: 21.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.2597, allocations: 1.374 MB / 449.3 MB, free: 20.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.2598, allocations: 343.5 kB / 449.6 MB, free: 19.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.26, allocations: 252.3 kB / 449.8 MB, free: 19.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.2624, allocations: 2.358 MB / 452.2 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.2624, allocations: 6.812 kB / 452.2 MB, free: 17.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.2626, allocations: 102.6 kB / 452.3 MB, free: 16.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.2626, allocations: 60 kB / 452.4 MB, free: 16.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.265, allocations: 2.218 MB / 454.6 MB, free: 14.73 MB / 330.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.007842/0.2728, allocations: 8.795 MB / 463.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.2742, allocations: 1.395 MB / 464.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006535/0.2749, allocations: 0.6516 MB / 465.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005616/0.2805, allocations: 4.844 MB / 470.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.2806, allocations: 66.75 kB / 470.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007198/0.2813, allocations: 276 kB / 470.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 3.536e-06/0.2813, allocations: 0 / 470.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.01751/0.2988, allocations: 7.939 MB / 478.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.2988, allocations: 124.8 kB / 478.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2999, allocations: 1.257 MB / 479.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.3001, allocations: 53.7 kB / 480 MB, free: 5.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/0.3006, allocations: 1.255 MB / 481.2 MB, free: 4.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.301, allocations: 0.6551 MB / 481.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000473/0.3015, allocations: 0.5234 MB / 482.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3016, allocations: 480.7 kB / 482.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.3024, allocations: 0.5036 MB / 483.4 MB, free: 2.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.3037, allocations: 1.849 MB / 485.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.306, allocations: 2.614 MB / 487.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.306, allocations: 12 kB / 487.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005192/0.3112, allocations: 2.943 MB / 490.8 MB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.3112, allocations: 20 kB / 490.8 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/0.3113, allocations: 32 kB / 490.8 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003113/0.3144, allocations: 1.04 MB / 491.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3157, allocations: 0.5915 MB / 492.5 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.3216, allocations: 8.031 MB / 0.4888 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.3231, allocations: 110.5 kB / 0.4889 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.3233, allocations: 158.6 kB / 0.489 GB, free: 15.15 MB / 378.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.0006461/0.3239, allocations: 343.5 kB / 0.4894 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.3244, allocations: 237.5 kB / 0.4896 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.329, allocations: 2.435 MB / 0.492 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.3291, allocations: 20 kB / 0.492 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3291, allocations: 6.688 kB / 0.492 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.3291, allocations: 7.969 kB / 0.492 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/0.3359, allocations: 3.953 MB / 0.4959 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.3359, allocations: 7.047 kB / 0.4959 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.3366, allocations: 299.6 kB / 0.4962 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.3394, allocations: 0.9253 MB / 0.4971 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.3396, allocations: 67.95 kB / 0.4971 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.3446, allocations: 7.388 MB / 0.5043 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3446, allocations: 4 kB / 0.5043 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.3497, allocations: 2.996 MB / 0.5073 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.35, allocations: 150.8 kB / 0.5074 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.3502, allocations: 42.61 kB / 0.5074 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.3507, allocations: 44 kB / 0.5075 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.351, allocations: 196.2 kB / 0.5077 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.3511, allocations: 79.95 kB / 0.5078 GB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006381/0.3518, allocations: 0.6898 MB / 0.5084 GB, free: 10.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 0 / 0.5084 GB, free: 10.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002951/0.3547, allocations: 1.262 MB / 0.5097 GB, free: 9.617 MB / 394.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.002086/0.3568, allocations: 1.373 MB / 0.511 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.3603, allocations: 2.381 MB / 0.5133 GB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.3603, allocations: 6.688 kB / 0.5133 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.3619, allocations: 1.36 MB / 0.5147 GB, free: 4.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.3632, allocations: 362.1 kB / 0.515 GB, free: 4.305 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005367/0.3686, allocations: 3.729 MB / 0.5186 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3689, allocations: 380.1 kB / 0.519 GB, free: 160 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001153/0.37, allocations: 435.9 kB / 0.5194 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.3704, allocations: 283.5 kB / 0.5197 GB, free: 15.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3704, allocations: 0 / 0.5197 GB, free: 15.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04716/0.4176, allocations: 46.88 MB / 0.5655 GB, free: 1.371 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.321579117095098]