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.0007649/0.0007649, allocations: 76.45 kB / 19.9 MB, free: 16 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.0007292/0.0007292, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.8733/0.8733, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.08012/0.08012, allocations: 17.37 MB / 277.4 MB, free: 11.85 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009081/0.0009081, allocations: 71.89 kB / 412.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2606, allocations: 59.83 MB / 472.7 MB, free: 29.82 MB / 410.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.03214/0.2928, allocations: 30.84 MB / 0.4917 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.3116, allocations: 25.5 MB / 0.5166 GB, free: 9.438 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.3133, allocations: 35.75 kB / 0.5166 GB, free: 9.402 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.3147, allocations: 0.636 MB / 0.5173 GB, free: 8.918 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.32, allocations: 2.205 MB / 0.5194 GB, free: 7.055 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009066/0.3291, allocations: 4.004 MB / 0.5233 GB, free: 3.742 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.3331, allocations: 3.089 MB / 0.5263 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.3349, allocations: 1.573 MB / 0.5279 GB, free: 15.37 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.3374, allocations: 2.171 MB / 0.53 GB, free: 13.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.3391, allocations: 1.502 MB / 0.5315 GB, free: 11.69 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.3394, allocations: 296 kB / 0.5317 GB, free: 11.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007114/0.3465, allocations: 3.002 MB / 0.5347 GB, free: 8.391 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000984/0.3475, allocations: 0.6933 MB / 0.5354 GB, free: 7.695 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.3488, allocations: 1.218 MB / 0.5365 GB, free: 6.473 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.3624, allocations: 6.595 MB / 0.543 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.3624, allocations: 4 kB / 0.543 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3624, allocations: 4 kB / 0.543 GB, free: 15.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001193/0.3625, allocations: 0 / 0.543 GB, free: 15.84 MB / 458.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.004857/0.3674, allocations: 3.323 MB / 0.5462 GB, free: 12.47 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3674, allocations: 12.02 kB / 0.5462 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.369, allocations: 0.5727 MB / 0.5468 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.3707, allocations: 1.352 MB / 0.5481 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.3709, allocations: 351.2 kB / 0.5485 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.3712, allocations: 240 kB / 0.5487 GB, free: 9.875 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003697/0.3749, allocations: 3.094 MB / 0.5517 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.3749, allocations: 0 / 0.5517 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.3751, allocations: 100 kB / 0.5518 GB, free: 6.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.3751, allocations: 60 kB / 0.5519 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.3789, allocations: 3.603 MB / 0.5554 GB, free: 2.906 MB / 458.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.01134/0.3902, allocations: 8.766 MB / 0.5639 GB, free: 9.969 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.3922, allocations: 1.768 MB / 0.5657 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.3933, allocations: 1.02 MB / 0.5667 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007165/0.4005, allocations: 5.184 MB / 0.5717 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.4005, allocations: 47.88 kB / 0.5718 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008032/0.4013, allocations: 286.7 kB / 0.572 GB, free: 1.598 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 4.869e-06/0.4013, allocations: 3.938 kB / 0.572 GB, free: 1.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=181): time 0.0201/0.4214, allocations: 9.539 MB / 0.5814 GB, free: 7.996 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.4215, allocations: 132.7 kB / 0.5815 GB, free: 7.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.4228, allocations: 1.417 MB / 0.5829 GB, free: 6.406 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.423, allocations: 61.64 kB / 0.5829 GB, free: 6.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/0.4236, allocations: 1.202 MB / 0.5841 GB, free: 5.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007367/0.4243, allocations: 0.6585 MB / 0.5847 GB, free: 4.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.4249, allocations: 0.5209 MB / 0.5853 GB, free: 3.934 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.4249, allocations: 305.1 kB / 0.5855 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.4262, allocations: 0.95 MB / 0.5865 GB, free: 2.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4278, allocations: 1.894 MB / 0.5883 GB, free: 356 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/0.431, allocations: 3.004 MB / 0.5913 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-05/0.431, allocations: 12 kB / 0.5913 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.006345/0.4374, allocations: 3.886 MB / 0.5951 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.4374, allocations: 20 kB / 0.5951 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/0.4375, allocations: 35.94 kB / 0.5951 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/0.4403, allocations: 1.175 MB / 0.5963 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4417, allocations: 0.585 MB / 0.5968 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.4488, allocations: 7.081 MB / 0.6038 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.4504, allocations: 115.9 kB / 0.6039 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/0.4506, allocations: 155.9 kB / 0.604 GB, free: 15.48 MB / 0.5105 GB 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.0009442/0.4516, allocations: 488.8 kB / 0.6045 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.452, allocations: 178.8 kB / 0.6046 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005769/0.4577, allocations: 3.221 MB / 0.6078 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4577, allocations: 23.94 kB / 0.6078 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4577, allocations: 7.938 kB / 0.6078 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.4578, allocations: 11.95 kB / 0.6078 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.4659, allocations: 4.881 MB / 0.6126 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4659, allocations: 4 kB / 0.6126 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.4666, allocations: 311.9 kB / 0.6129 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/0.4693, allocations: 1.038 MB / 0.6139 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.4694, allocations: 75.95 kB / 0.614 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.4749, allocations: 6.368 MB / 0.6202 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4749, allocations: 11.88 kB / 0.6202 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/0.4814, allocations: 4.112 MB / 0.6242 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.4819, allocations: 158.8 kB / 0.6244 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.482, allocations: 36 kB / 0.6244 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/0.4826, allocations: 39.98 kB / 0.6245 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/0.483, allocations: 185.5 kB / 0.6246 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.4831, allocations: 91.95 kB / 0.6247 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008599/0.484, allocations: 0.8852 MB / 0.6256 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.484, allocations: 4 kB / 0.6256 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00369/0.4877, allocations: 1.262 MB / 0.6268 GB, free: 7.57 MB / 0.5261 GB 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.00242/0.4901, allocations: 1.325 MB / 0.6281 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004296/0.4944, allocations: 2.839 MB / 0.6309 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.4944, allocations: 4 kB / 0.6309 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.4964, allocations: 1.459 MB / 0.6323 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.4977, allocations: 306.9 kB / 0.6326 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2199/0.7176, allocations: 4.103 MB / 0.6366 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009521/0.7186, allocations: 0.915 MB / 0.6375 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001367/0.72, allocations: 452.4 kB / 0.6379 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/0.7205, allocations: 280.8 kB / 0.6382 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.685e-06/0.7205, allocations: 1 kB / 0.6382 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.04684/0.7674, allocations: 46.28 MB / 0.6834 GB, free: 91.07 MB / 0.5261 GB " [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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4054015189176425] Failed to read output from testmodel.py, exit status != 0: 0.7742258090293035 0.7810133029999999 0.41712622600000004 Calling exit ...