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.001288/0.001288, 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.001499/0.001499, allocations: 173.3 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.9582/0.9582, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.1141/0.1141, allocations: 17.46 MB / 277.7 MB, free: 11.64 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.633e-06/1.633e-06, allocations: 0 / 353.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.904e-05, allocations: 2.312 kB / 353.6 MB, free: 10.16 MB / 282.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.03194/0.03197, allocations: 34.66 MB / 388.2 MB, free: 7.609 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1629/0.1948, allocations: 29.03 MB / 417.3 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.1962, allocations: 37.69 kB / 417.3 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.1976, allocations: 0.637 MB / 418 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.2026, allocations: 2.285 MB / 420.2 MB, free: 33.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008117/0.2107, allocations: 4.107 MB / 424.3 MB, free: 32.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.2139, allocations: 3.192 MB / 427.5 MB, free: 31.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.2159, allocations: 1.659 MB / 429.2 MB, free: 31.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.2179, allocations: 2.106 MB / 431.3 MB, free: 30.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.2196, allocations: 1.381 MB / 432.7 MB, free: 30.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005614/0.2201, allocations: 302.1 kB / 433 MB, free: 30.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005853/0.226, allocations: 3.017 MB / 436 MB, free: 29.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.2264, allocations: 0.7178 MB / 436.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008201/0.2272, allocations: 1.051 MB / 437.8 MB, free: 28.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005845/0.233, allocations: 5.781 MB / 443.5 MB, free: 25.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.233, allocations: 0 / 443.5 MB, free: 25.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2331, allocations: 0 / 443.5 MB, free: 25.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.791e-05/0.2331, allocations: 2.688 kB / 443.5 MB, free: 25.62 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.003345/0.2364, allocations: 3.435 MB / 447 MB, free: 22.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2365, allocations: 12.03 kB / 447 MB, free: 22.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.2381, allocations: 0.9952 MB / 448 MB, free: 21.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.2394, allocations: 1.38 MB / 449.4 MB, free: 20.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.2395, allocations: 343.6 kB / 449.7 MB, free: 19.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.2398, allocations: 244.3 kB / 449.9 MB, free: 19.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.242, allocations: 2.362 MB / 452.3 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.242, allocations: 0 / 452.3 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.2422, allocations: 99.94 kB / 452.4 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.2422, allocations: 66.59 kB / 452.5 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.2446, allocations: 2.224 MB / 454.7 MB, free: 14.64 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.007161/0.2517, allocations: 8.794 MB / 463.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.2531, allocations: 1.386 MB / 464.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/0.2538, allocations: 0.6616 MB / 465.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005424/0.2592, allocations: 4.845 MB / 470.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.2593, allocations: 62.56 kB / 470.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006442/0.2599, allocations: 276 kB / 470.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 5.54e-06/0.2599, allocations: 0 / 470.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.01712/0.277, allocations: 7.942 MB / 478.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.2771, allocations: 124.8 kB / 478.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.2782, allocations: 1.259 MB / 480 MB, free: 5.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/0.2783, allocations: 60.36 kB / 480.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.2788, allocations: 1.252 MB / 481.3 MB, free: 4.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.2792, allocations: 0.6539 MB / 482 MB, free: 3.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.2797, allocations: 0.5273 MB / 482.5 MB, free: 2.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2798, allocations: 476.8 kB / 483 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/0.2806, allocations: 0.501 MB / 483.5 MB, free: 1.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.2819, allocations: 1.853 MB / 485.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.2842, allocations: 2.609 MB / 488 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.2842, allocations: 8 kB / 488 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005122/0.2894, allocations: 2.951 MB / 490.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.2894, allocations: 18.66 kB / 490.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.2894, allocations: 32 kB / 491 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/0.2925, allocations: 1.053 MB / 492 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2936, allocations: 0.5798 MB / 492.6 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.2994, allocations: 8.028 MB / 0.4889 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.3003, allocations: 110.5 kB / 0.489 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.3005, allocations: 156 kB / 0.4891 GB, free: 15.03 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.0004664/0.3009, allocations: 334.2 kB / 0.4895 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.3012, allocations: 238.8 kB / 0.4897 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.3059, allocations: 2.434 MB / 0.4921 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.3059, allocations: 23.98 kB / 0.4921 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3059, allocations: 6.688 kB / 0.4921 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.3059, allocations: 7.969 kB / 0.4921 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006371/0.3123, allocations: 3.955 MB / 0.496 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3123, allocations: 0 / 0.496 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.3129, allocations: 307.6 kB / 0.4963 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00277/0.3157, allocations: 0.9238 MB / 0.4972 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.3158, allocations: 74.55 kB / 0.4972 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004562/0.3204, allocations: 7.388 MB / 0.5044 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3204, allocations: 4 kB / 0.5045 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004776/0.3251, allocations: 2.997 MB / 0.5074 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3253, allocations: 158.8 kB / 0.5075 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.3255, allocations: 38.69 kB / 0.5076 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.3259, allocations: 46.61 kB / 0.5076 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.3262, allocations: 189.6 kB / 0.5078 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.3263, allocations: 79.95 kB / 0.5079 GB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005587/0.3269, allocations: 0.6898 MB / 0.5085 GB, free: 10.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3269, allocations: 0 / 0.5085 GB, free: 10.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002585/0.3295, allocations: 1.262 MB / 0.5098 GB, free: 9.496 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.001709/0.3312, allocations: 1.377 MB / 0.5111 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.3342, allocations: 2.382 MB / 0.5134 GB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3342, allocations: 0 / 0.5134 GB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.3357, allocations: 1.367 MB / 0.5148 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.3366, allocations: 353.5 kB / 0.5151 GB, free: 4.184 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.004791/0.3414, allocations: 3.73 MB / 0.5188 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3417, allocations: 380.1 kB / 0.5191 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000938/0.3426, allocations: 450.5 kB / 0.5196 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.3431, allocations: 277.7 kB / 0.5198 GB, free: 15.47 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3431, allocations: 0 / 0.5198 GB, free: 15.47 MB / 410.7 MB Notification: Performance of Templates: time 0.04542/0.3885, allocations: 46.88 MB / 0.5656 GB, free: 1.262 MB / 442.7 MB " [Timeout remaining time 659] 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 os._exit(0), Time elapsed: 4.437242965912446]