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.0008387/0.0008387, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 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.0008656/0.0008656, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8742/0.8742, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.09474/0.09474, allocations: 17.37 MB / 276.6 MB, free: 11.86 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 411.5 MB, free: 420 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.995e-05, allocations: 4.953 kB / 411.5 MB, free: 416 kB / 378.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.02816/0.02818, allocations: 30.91 MB / 442.4 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.2162, allocations: 25.48 MB / 467.9 MB, free: 47.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.2179, allocations: 41.31 kB / 467.9 MB, free: 47.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2192, allocations: 0.6332 MB / 468.5 MB, free: 47.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.224, allocations: 2.29 MB / 470.8 MB, free: 46.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00805/0.2321, allocations: 4.105 MB / 474.9 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003328/0.2354, allocations: 3.195 MB / 478.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.2372, allocations: 1.591 MB / 479.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.2398, allocations: 2.083 MB / 481.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.2415, allocations: 1.347 MB / 483.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006954/0.2422, allocations: 298.1 kB / 483.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006838/0.2491, allocations: 3.012 MB / 486.4 MB, free: 39.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007225/0.2498, allocations: 0.7087 MB / 487.1 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.2517, allocations: 1.043 MB / 488.2 MB, free: 38.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.2645, allocations: 6.923 MB / 495.1 MB, free: 35.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2645, allocations: 3.344 kB / 495.1 MB, free: 35.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2645, allocations: 3.938 kB / 495.1 MB, free: 35.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.099e-05/0.2646, allocations: 1.094 kB / 495.1 MB, free: 35.75 MB / 410.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.005978/0.2705, allocations: 3.289 MB / 498.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.2706, allocations: 10.03 kB / 498.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003568/0.2709, allocations: 329.7 kB / 498.7 MB, free: 33.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.2726, allocations: 0.5827 MB / 499.3 MB, free: 33.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.275, allocations: 1.354 MB / 0.4889 GB, free: 32.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.2752, allocations: 348.7 kB / 0.4893 GB, free: 32.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/0.2757, allocations: 242.1 kB / 0.4895 GB, free: 32.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.2802, allocations: 3.09 MB / 0.4925 GB, free: 31.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.2802, allocations: 6.188 kB / 0.4925 GB, free: 31.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.2804, allocations: 100.4 kB / 0.4926 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.2805, allocations: 59.03 kB / 0.4927 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004615/0.2851, allocations: 3.607 MB / 0.4962 GB, free: 29.92 MB / 410.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.01054/0.2956, allocations: 9.044 MB / 0.505 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.2973, allocations: 1.772 MB / 0.5068 GB, free: 23.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/0.2982, allocations: 1.02 MB / 0.5078 GB, free: 22.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006026/0.3042, allocations: 5.181 MB / 0.5128 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3042, allocations: 58.47 kB / 0.5129 GB, free: 17.3 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007833/0.305, allocations: 297.1 kB / 0.5132 GB, free: 17.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 4.278e-06/0.305, allocations: 0 / 0.5132 GB, free: 17.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01876/0.3238, allocations: 9.552 MB / 0.5225 GB, free: 7.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3238, allocations: 124.8 kB / 0.5226 GB, free: 7.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.3251, allocations: 1.528 MB / 0.5241 GB, free: 5.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002311/0.3253, allocations: 53.7 kB / 0.5242 GB, free: 5.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.3257, allocations: 1.181 MB / 0.5253 GB, free: 4.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.326, allocations: 0.6537 MB / 0.5259 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004769/0.3265, allocations: 0.5131 MB / 0.5264 GB, free: 3.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.3266, allocations: 301.1 kB / 0.5267 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3276, allocations: 0.9501 MB / 0.5277 GB, free: 2.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.3289, allocations: 1.898 MB / 0.5295 GB, free: 15.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.3319, allocations: 3.003 MB / 0.5324 GB, free: 12.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/0.3319, allocations: 11.94 kB / 0.5325 GB, free: 12.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.00636/0.3382, allocations: 3.898 MB / 0.5363 GB, free: 8.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.3383, allocations: 18.66 kB / 0.5363 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/0.3383, allocations: 32 kB / 0.5363 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/0.3412, allocations: 1.179 MB / 0.5375 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.3426, allocations: 0.5811 MB / 0.538 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.3493, allocations: 7.155 MB / 0.545 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.3511, allocations: 114.5 kB / 0.5451 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.3514, allocations: 166.6 kB / 0.5453 GB, free: 14.96 MB / 442.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.001015/0.3524, allocations: 484.8 kB / 0.5458 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/0.3529, allocations: 189.8 kB / 0.5459 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005791/0.3587, allocations: 3.231 MB / 0.5491 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.3587, allocations: 19.94 kB / 0.5491 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3587, allocations: 4 kB / 0.5491 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.3588, allocations: 7.969 kB / 0.5491 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008868/0.3676, allocations: 5.126 MB / 0.5541 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.3676, allocations: 6.656 kB / 0.5541 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.3684, allocations: 303.6 kB / 0.5544 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.371, allocations: 1.041 MB / 0.5554 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.3712, allocations: 76.81 kB / 0.5555 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/0.3765, allocations: 6.44 MB / 0.5618 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3765, allocations: 4.031 kB / 0.5618 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/0.3828, allocations: 4.12 MB / 0.5658 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/0.3833, allocations: 166.8 kB / 0.566 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.3835, allocations: 38.62 kB / 0.566 GB, free: 9.344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.3841, allocations: 43.98 kB / 0.5661 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/0.3844, allocations: 189.5 kB / 0.5662 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.3845, allocations: 79.95 kB / 0.5663 GB, free: 9.039 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.3855, allocations: 0.9664 MB / 0.5673 GB, free: 8.074 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3855, allocations: 0 / 0.5673 GB, free: 8.074 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003705/0.3892, allocations: 1.265 MB / 0.5685 GB, free: 6.809 MB / 458.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.008907/0.3982, allocations: 5.945 MB / 0.5743 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.4022, allocations: 2.838 MB / 0.5771 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.4023, allocations: 3.938 kB / 0.5771 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.4041, allocations: 1.45 MB / 0.5785 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.4055, allocations: 317.5 kB / 0.5788 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/0.4312, allocations: 19.06 MB / 0.5974 GB, free: 8.094 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.432, allocations: 0.9055 MB / 0.5983 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001197/0.4332, allocations: 462.4 kB / 0.5987 GB, free: 6.738 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.4343, allocations: 1.013 MB / 0.5997 GB, free: 5.727 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4343, allocations: 0 / 0.5997 GB, free: 5.727 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/0.7102, allocations: 66.46 MB / 0.6646 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11, allocations: 7.203 kB / 0.6646 GB, free: 116.3 MB / 0.4948 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation_res.csv --start-time 0 --stop-time 0.0001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-08 Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.002703350968659] Failed to read output from testmodel.py, exit status != 0: 11.127279379405081 11.136094032 10.870000094 Calling exit ...