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.001378/0.001378, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 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: 163 kB / 22.46 MB, free: 5.359 MB / 14.72 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.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.1356/0.1356, allocations: 17.37 MB / 276.5 MB, free: 15.3 MB / 270.1 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.513e-06/1.513e-06, allocations: 0 / 412 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.851e-05, allocations: 6.219 kB / 412 MB, free: 4.43 MB / 334.1 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.04251/0.04254, allocations: 30.96 MB / 442.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2138/0.2563, allocations: 25.47 MB / 468.4 MB, free: 24.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.258, allocations: 40 kB / 468.4 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.2597, allocations: 0.6329 MB / 469.1 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.2655, allocations: 2.287 MB / 471.4 MB, free: 22.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.2767, allocations: 4.11 MB / 475.5 MB, free: 20.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004366/0.281, allocations: 3.191 MB / 478.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.2829, allocations: 1.597 MB / 480.3 MB, free: 17.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.2849, allocations: 2.086 MB / 482.3 MB, free: 16.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.2864, allocations: 1.328 MB / 483.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003597/0.2868, allocations: 301.3 kB / 484 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008008/0.2948, allocations: 3.019 MB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004566/0.2953, allocations: 0.7048 MB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.2963, allocations: 1.045 MB / 488.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009284/0.3056, allocations: 6.928 MB / 495.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3056, allocations: 0 / 495.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3056, allocations: 0 / 495.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.37e-05/0.3056, allocations: 2.656 kB / 495.7 MB, free: 5.195 MB / 366.1 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.0049/0.3105, allocations: 3.298 MB / 499 MB, free: 1.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3106, allocations: 9.156 kB / 499 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.3127, allocations: 0.5792 MB / 499.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.3147, allocations: 1.351 MB / 0.4892 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.315, allocations: 335.6 kB / 0.4895 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/0.3154, allocations: 252.3 kB / 0.4897 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005308/0.3207, allocations: 3.094 MB / 0.4927 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.3208, allocations: 0 / 0.4927 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.321, allocations: 96 kB / 0.4928 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.3211, allocations: 60 kB / 0.4929 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006141/0.3272, allocations: 3.605 MB / 0.4964 GB, free: 8.328 MB / 382.1 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.01643/0.3436, allocations: 8.764 MB / 0.505 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.347, allocations: 1.775 MB / 0.5067 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.3488, allocations: 1.023 MB / 0.5077 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.3615, allocations: 5.171 MB / 0.5128 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.3616, allocations: 47.88 kB / 0.5128 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001375/0.3629, allocations: 284 kB / 0.5131 GB, free: 7.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 6.402e-06/0.363, allocations: 4 kB / 0.5131 GB, free: 7.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=181): time 0.04043/0.4034, allocations: 9.543 MB / 0.5224 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4035, allocations: 124.8 kB / 0.5225 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.4056, allocations: 1.421 MB / 0.5239 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.4058, allocations: 57.7 kB / 0.524 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.4069, allocations: 1.198 MB / 0.5251 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007736/0.4077, allocations: 0.6469 MB / 0.5258 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.4088, allocations: 0.5157 MB / 0.5263 GB, free: 9.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4089, allocations: 301.1 kB / 0.5265 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.4108, allocations: 0.9501 MB / 0.5275 GB, free: 8.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.4138, allocations: 1.903 MB / 0.5293 GB, free: 5.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.419, allocations: 3.001 MB / 0.5323 GB, free: 2.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-05/0.419, allocations: 8 kB / 0.5323 GB, free: 2.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01168/0.4307, allocations: 3.894 MB / 0.5361 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.4307, allocations: 18.66 kB / 0.5361 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.241e-05/0.4308, allocations: 32 kB / 0.5361 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005871/0.4366, allocations: 1.171 MB / 0.5373 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.4389, allocations: 0.5811 MB / 0.5378 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.45, allocations: 7.092 MB / 0.5448 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.4521, allocations: 114.5 kB / 0.5449 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004423/0.4525, allocations: 159.9 kB / 0.545 GB, free: 5.258 MB / 430.1 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.001251/0.4538, allocations: 487.6 kB / 0.5455 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/0.4543, allocations: 182.8 kB / 0.5457 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.4651, allocations: 3.222 MB / 0.5488 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.4652, allocations: 20 kB / 0.5488 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.4652, allocations: 4.75 kB / 0.5488 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.4652, allocations: 7.969 kB / 0.5488 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.4797, allocations: 4.877 MB / 0.5536 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.4797, allocations: 6.656 kB / 0.5536 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.4812, allocations: 314.2 kB / 0.5539 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005384/0.4866, allocations: 1.039 MB / 0.5549 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.4868, allocations: 75.94 kB / 0.555 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009548/0.4964, allocations: 6.361 MB / 0.5612 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4964, allocations: 288 / 0.5612 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.5076, allocations: 4.124 MB / 0.5652 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.508, allocations: 154.8 kB / 0.5654 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/0.5083, allocations: 49.41 kB / 0.5654 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.5096, allocations: 44.14 kB / 0.5655 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004757/0.5101, allocations: 185.6 kB / 0.5656 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/0.5103, allocations: 79.95 kB / 0.5657 GB, free: 15.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.5116, allocations: 0.8891 MB / 0.5666 GB, free: 14.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5116, allocations: 0 / 0.5666 GB, free: 14.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004125/0.5157, allocations: 1.262 MB / 0.5678 GB, free: 13.56 MB / 462.1 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.003148/0.5189, allocations: 1.37 MB / 0.5692 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006305/0.5252, allocations: 2.846 MB / 0.5719 GB, free: 9.391 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.5252, allocations: 4 kB / 0.5719 GB, free: 9.387 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003108/0.5283, allocations: 1.45 MB / 0.5734 GB, free: 7.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.5301, allocations: 304.7 kB / 0.5737 GB, free: 7.637 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007939/0.5381, allocations: 3.964 MB / 0.5775 GB, free: 3.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.5393, allocations: 0.9091 MB / 0.5784 GB, free: 2.754 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001615/0.5409, allocations: 453 kB / 0.5788 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/0.5416, allocations: 286.5 kB / 0.5791 GB, free: 2.145 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5416, allocations: 3.938 kB / 0.5791 GB, free: 2.141 MB / 462.1 MB Notification: Performance of Templates: time 0.07803/0.6196, allocations: 46.27 MB / 0.6243 GB, free: 4.242 MB / 0.4981 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.015798635780811] Failed to read output from testmodel.py, exit status != 0: 0.6290249638259411 0.807141419 0.498812053 Calling exit ...