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.001461/0.001461, allocations: 84.73 kB / 19.44 MB, free: 360 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.001639/0.001639, allocations: 157.7 kB / 22.76 MB, free: 1.684 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 1.471/1.471, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1555/0.1555, allocations: 17.36 MB / 276.9 MB, free: 11.68 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.954e-06/1.954e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.92e-05, allocations: 6.25 kB / 352.7 MB, free: 10.32 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.04844/0.04847, allocations: 31.12 MB / 383.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04055/0.08902, allocations: 25.49 MB / 409.3 MB, free: 1.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.09118, allocations: 39.69 kB / 409.4 MB, free: 1.691 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.09371, allocations: 0.6355 MB / 410 MB, free: 1.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1671/0.2608, allocations: 2.271 MB / 412.3 MB, free: 32.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01018/0.271, allocations: 4.112 MB / 416.4 MB, free: 32.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.2753, allocations: 3.195 MB / 419.6 MB, free: 31.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.2775, allocations: 1.652 MB / 421.2 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.2799, allocations: 2.088 MB / 423.3 MB, free: 31.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.2817, allocations: 1.333 MB / 424.7 MB, free: 30.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003712/0.2821, allocations: 295.4 kB / 424.9 MB, free: 30.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007444/0.2896, allocations: 3.024 MB / 428 MB, free: 30.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.2902, allocations: 0.7032 MB / 428.7 MB, free: 30.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.2915, allocations: 1.043 MB / 429.7 MB, free: 29.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.3044, allocations: 6.927 MB / 436.6 MB, free: 26.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3044, allocations: 0 / 436.6 MB, free: 26.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3044, allocations: 3.094 kB / 436.6 MB, free: 26.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.138e-05/0.3044, allocations: 2.656 kB / 436.6 MB, free: 26.58 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.00608/0.3105, allocations: 3.3 MB / 439.9 MB, free: 24.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3105, allocations: 9.156 kB / 440 MB, free: 24.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.3132, allocations: 0.999 MB / 441 MB, free: 23.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.3153, allocations: 1.389 MB / 442.3 MB, free: 22.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.3155, allocations: 335.6 kB / 442.7 MB, free: 21.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.3158, allocations: 247.7 kB / 442.9 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.3198, allocations: 3.09 MB / 446 MB, free: 18.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.3198, allocations: 2.656 kB / 446 MB, free: 18.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.32, allocations: 101.4 kB / 446.1 MB, free: 18.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.3201, allocations: 60 kB / 446.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004439/0.3245, allocations: 3.608 MB / 449.8 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.01287/0.3374, allocations: 8.84 MB / 458.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.3397, allocations: 1.768 MB / 460.4 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.3409, allocations: 1.023 MB / 461.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.3519, allocations: 5.311 MB / 466.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/0.352, allocations: 51.56 kB / 466.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001495/0.3535, allocations: 292.5 kB / 467 MB, free: 13.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 5.701e-06/0.3535, allocations: 0 / 467 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.04128/0.3947, allocations: 9.578 MB / 476.6 MB, free: 4.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3949, allocations: 124.8 kB / 476.7 MB, free: 3.914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.3972, allocations: 1.424 MB / 478.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000303/0.3975, allocations: 57.7 kB / 478.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.3986, allocations: 1.193 MB / 479.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008468/0.3994, allocations: 0.6497 MB / 480.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.4005, allocations: 0.5131 MB / 480.6 MB, free: 60 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4006, allocations: 305.1 kB / 480.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.4026, allocations: 0.9462 MB / 481.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/0.4058, allocations: 1.899 MB / 483.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/0.4108, allocations: 2.999 MB / 486.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/0.4108, allocations: 8 kB / 486.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01188/0.4227, allocations: 4.025 MB / 490.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.4228, allocations: 16 kB / 490.8 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.968e-05/0.4228, allocations: 32 kB / 490.8 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007343/0.4302, allocations: 1.326 MB / 492.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.4325, allocations: 0.5811 MB / 492.7 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.4447, allocations: 7.109 MB / 499.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.447, allocations: 118.4 kB / 499.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005908/0.4476, allocations: 163.9 kB / 0.4884 GB, free: 11.9 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.001428/0.4491, allocations: 485.4 kB / 0.4888 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008512/0.4499, allocations: 230.8 kB / 0.4891 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.461, allocations: 3.238 MB / 0.4922 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.4611, allocations: 20 kB / 0.4922 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.4611, allocations: 4 kB / 0.4922 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/0.4611, allocations: 7.969 kB / 0.4923 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.4762, allocations: 4.888 MB / 0.497 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.4762, allocations: 4 kB / 0.497 GB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.4776, allocations: 309.4 kB / 0.4973 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006757/0.4843, allocations: 1.181 MB / 0.4985 GB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/0.4846, allocations: 75.94 kB / 0.4986 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.4951, allocations: 6.403 MB / 0.5048 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4951, allocations: 6.656 kB / 0.5048 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.5077, allocations: 4.17 MB / 0.5089 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005153/0.5082, allocations: 157.4 kB / 0.509 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/0.5086, allocations: 40 kB / 0.5091 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.5099, allocations: 43.98 kB / 0.5091 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005459/0.5105, allocations: 188.2 kB / 0.5093 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/0.5107, allocations: 79.95 kB / 0.5094 GB, free: 6.289 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001516/0.5122, allocations: 0.8891 MB / 0.5102 GB, free: 5.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5122, allocations: 2.625 kB / 0.5102 GB, free: 5.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004605/0.5168, allocations: 1.255 MB / 0.5115 GB, free: 4.141 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.00335/0.5202, allocations: 1.385 MB / 0.5128 GB, free: 3.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007042/0.5272, allocations: 2.839 MB / 0.5156 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.5272, allocations: 4 kB / 0.5156 GB, free: 248 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003537/0.5308, allocations: 1.455 MB / 0.517 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.5331, allocations: 352.5 kB / 0.5174 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009187/0.5422, allocations: 4.034 MB / 0.5213 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.5437, allocations: 0.9076 MB / 0.5222 GB, free: 9.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001902/0.5456, allocations: 452.6 kB / 0.5226 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008047/0.5464, allocations: 284.8 kB / 0.5229 GB, free: 8.945 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5464, allocations: 4 kB / 0.5229 GB, free: 8.941 MB / 410.7 MB Notification: Performance of Templates: time 0.2351/0.7816, allocations: 46.48 MB / 0.5683 GB, free: 156.4 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.067511784029193]