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.0009595/0.0009595, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001441/0.001441, allocations: 165 kB / 23.02 MB, free: 1.551 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.9481/0.9481, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.0927/0.0927, allocations: 17.46 MB / 277.4 MB, free: 11.57 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.773e-06/1.773e-06, allocations: 0 / 353.6 MB, free: 9.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.983e-05, allocations: 10.19 kB / 353.6 MB, free: 9.852 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.02878/0.02881, allocations: 34.26 MB / 387.8 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.04383, allocations: 17.16 MB / 405 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.04472, allocations: 39.69 kB / 405 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.0456, allocations: 483.8 kB / 405.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.04846, allocations: 1.807 MB / 407.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004009/0.05247, allocations: 2.475 MB / 409.8 MB, free: 1.656 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1214/0.1739, allocations: 3.183 MB / 413 MB, free: 36.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.1759, allocations: 1.658 MB / 414.6 MB, free: 36.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.1786, allocations: 2.096 MB / 416.7 MB, free: 36.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.1808, allocations: 1.39 MB / 418.1 MB, free: 36.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000636/0.1815, allocations: 297.3 kB / 418.4 MB, free: 36.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003662/0.1851, allocations: 1.765 MB / 420.2 MB, free: 36.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.1856, allocations: 0.7072 MB / 420.9 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009824/0.1866, allocations: 1.057 MB / 421.9 MB, free: 36.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.1902, allocations: 4.176 MB / 426.1 MB, free: 35.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1902, allocations: 0.625 kB / 426.1 MB, free: 35.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1902, allocations: 0 / 426.1 MB, free: 35.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.1902, allocations: 1.031 kB / 426.1 MB, free: 35.61 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.003001/0.1932, allocations: 3.176 MB / 429.3 MB, free: 33.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1932, allocations: 10.44 kB / 429.3 MB, free: 33.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.1946, allocations: 0.9932 MB / 430.3 MB, free: 33.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.196, allocations: 1.363 MB / 431.6 MB, free: 32.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.1961, allocations: 350.1 kB / 432 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.1963, allocations: 246.1 kB / 432.2 MB, free: 32.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.1986, allocations: 2.357 MB / 434.6 MB, free: 31.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.1986, allocations: 3.188 kB / 434.6 MB, free: 31.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.1988, allocations: 100.4 kB / 434.7 MB, free: 31.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.1988, allocations: 62.03 kB / 434.7 MB, free: 31.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.2011, allocations: 2.23 MB / 437 MB, free: 30.68 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.006865/0.208, allocations: 8.787 MB / 445.8 MB, free: 22.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.2093, allocations: 1.385 MB / 447.1 MB, free: 21.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/0.2099, allocations: 0.6491 MB / 447.8 MB, free: 20.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004474/0.2144, allocations: 4.57 MB / 452.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2144, allocations: 62.62 kB / 452.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005225/0.2149, allocations: 279.4 kB / 452.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 3.036e-06/0.2149, allocations: 0 / 452.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01475/0.2297, allocations: 7.944 MB / 460.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2297, allocations: 120.8 kB / 460.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.2305, allocations: 1.262 MB / 462 MB, free: 6.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.2306, allocations: 57.7 kB / 462.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.2309, allocations: 1.252 MB / 463.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.2312, allocations: 0.654 MB / 464 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.2316, allocations: 0.5261 MB / 464.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.2316, allocations: 476.8 kB / 465 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.2323, allocations: 0.5041 MB / 465.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009577/0.2332, allocations: 1.849 MB / 467.3 MB, free: 328 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.2355, allocations: 2.612 MB / 469.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.2355, allocations: 8 kB / 470 MB, free: 13.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.004822/0.2404, allocations: 2.952 MB / 472.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.2404, allocations: 16 kB / 472.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.2404, allocations: 34.66 kB / 473 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.2433, allocations: 1.045 MB / 474 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.2446, allocations: 0.5872 MB / 474.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.2501, allocations: 8.034 MB / 482.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000927/0.251, allocations: 110.5 kB / 482.7 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.2512, allocations: 158.6 kB / 482.9 MB, free: 328 kB / 346.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.0004576/0.2517, allocations: 337.2 kB / 483.2 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.252, allocations: 233.8 kB / 483.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/0.2562, allocations: 2.431 MB / 485.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2563, allocations: 20 kB / 485.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2563, allocations: 4 kB / 485.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.2563, allocations: 7.969 kB / 485.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.2626, allocations: 3.954 MB / 489.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2626, allocations: 0 / 489.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.2632, allocations: 305.6 kB / 490.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.2658, allocations: 0.9249 MB / 491.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.2659, allocations: 71.95 kB / 491.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004442/0.2704, allocations: 7.393 MB / 498.5 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2704, allocations: 4 kB / 498.5 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/0.2749, allocations: 2.993 MB / 0.4898 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.275, allocations: 150.9 kB / 0.4899 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.2752, allocations: 36 kB / 0.49 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.2757, allocations: 46.67 kB / 0.49 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.2759, allocations: 189.6 kB / 0.4902 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/0.276, allocations: 79.95 kB / 0.4903 GB, free: 12.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005556/0.2766, allocations: 0.6859 MB / 0.4909 GB, free: 12.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2766, allocations: 0 / 0.4909 GB, free: 12.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002101/0.2787, allocations: 0.9746 MB / 0.4919 GB, free: 11.26 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 (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.00109/0.2798, allocations: 0.8105 MB / 0.4927 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.2827, allocations: 2.384 MB / 0.495 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2827, allocations: 0 / 0.495 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.2841, allocations: 1.37 MB / 0.4963 GB, free: 6.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009461/0.285, allocations: 344.5 kB / 0.4967 GB, free: 6.566 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.2902, allocations: 3.737 MB / 0.5003 GB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2904, allocations: 384.1 kB / 0.5007 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008669/0.2913, allocations: 433.2 kB / 0.5011 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.2917, allocations: 280.8 kB / 0.5014 GB, free: 1.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2917, allocations: 3.938 kB / 0.5014 GB, free: 1.855 MB / 378.7 MB Notification: Performance of Templates: time 0.04083/0.3325, allocations: 39.15 MB / 0.5396 GB, free: 11.68 MB / 426.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 os._exit(0), Time elapsed: 4.088523905724287]