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.0006953/0.0006953, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007103/0.0007103, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8533/0.8533, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.08152/0.08152, allocations: 17.46 MB / 276.6 MB, free: 11.76 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 3.984 kB / 411.6 MB, free: 236 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/2.003e-05, allocations: 6.281 kB / 411.6 MB, free: 228 kB / 378.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.02803/0.02805, allocations: 30.91 MB / 442.5 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1832/0.2112, allocations: 25.48 MB / 468 MB, free: 47.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.213, allocations: 45.47 kB / 468.1 MB, free: 47.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.2145, allocations: 0.6338 MB / 468.7 MB, free: 47.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.2191, allocations: 2.284 MB / 471 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007659/0.2267, allocations: 4.105 MB / 475.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003299/0.23, allocations: 3.202 MB / 478.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.2314, allocations: 1.591 MB / 479.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.2328, allocations: 2.102 MB / 482 MB, free: 40.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.2339, allocations: 1.327 MB / 483.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.2341, allocations: 299 kB / 483.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005558/0.2397, allocations: 3.013 MB / 486.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.2402, allocations: 0.706 MB / 487.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.2414, allocations: 1.046 MB / 488.4 MB, free: 38.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.2541, allocations: 6.925 MB / 495.3 MB, free: 35.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2541, allocations: 0 / 495.3 MB, free: 35.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2541, allocations: 1.75 kB / 495.3 MB, free: 35.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.015e-05/0.2542, allocations: 0 / 495.3 MB, free: 35.58 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.006125/0.2603, allocations: 3.29 MB / 498.6 MB, free: 33.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.2604, allocations: 11.31 kB / 498.6 MB, free: 33.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000323/0.2607, allocations: 328.5 kB / 498.9 MB, free: 33.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.2623, allocations: 0.5823 MB / 499.5 MB, free: 33.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.2643, allocations: 1.361 MB / 0.4891 GB, free: 32.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.2645, allocations: 344.1 kB / 0.4894 GB, free: 32.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.2648, allocations: 243.5 kB / 0.4897 GB, free: 32.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/0.269, allocations: 3.091 MB / 0.4927 GB, free: 30.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.2691, allocations: 1.062 kB / 0.4927 GB, free: 30.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.2692, allocations: 97.56 kB / 0.4928 GB, free: 30.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.2693, allocations: 59.28 kB / 0.4928 GB, free: 30.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004689/0.274, allocations: 3.61 MB / 0.4964 GB, free: 29.75 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.01018/0.2842, allocations: 9.033 MB / 0.5052 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.2861, allocations: 1.77 MB / 0.5069 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.287, allocations: 1.026 MB / 0.5079 GB, free: 22.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006276/0.2933, allocations: 5.182 MB / 0.513 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2933, allocations: 43.88 kB / 0.513 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008248/0.2942, allocations: 311.7 kB / 0.5133 GB, free: 16.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 4.088e-06/0.2942, allocations: 0 / 0.5133 GB, free: 16.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01732/0.3115, allocations: 9.552 MB / 0.5226 GB, free: 7.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3115, allocations: 120.8 kB / 0.5228 GB, free: 7.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3126, allocations: 1.528 MB / 0.5243 GB, free: 5.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.3127, allocations: 57.7 kB / 0.5243 GB, free: 5.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.313, allocations: 1.182 MB / 0.5255 GB, free: 4.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.3133, allocations: 0.6494 MB / 0.5261 GB, free: 3.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.3137, allocations: 0.5092 MB / 0.5266 GB, free: 3.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.391e-05/0.3137, allocations: 305.1 kB / 0.5269 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008682/0.3145, allocations: 0.9462 MB / 0.5278 GB, free: 1.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3157, allocations: 1.904 MB / 0.5297 GB, free: 15.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.3184, allocations: 2.996 MB / 0.5326 GB, free: 12.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.3185, allocations: 11.94 kB / 0.5326 GB, free: 12.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005763/0.3242, allocations: 3.898 MB / 0.5364 GB, free: 8.273 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.3242, allocations: 26.59 kB / 0.5364 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/0.3243, allocations: 32 kB / 0.5365 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/0.327, allocations: 1.185 MB / 0.5376 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.3282, allocations: 0.5811 MB / 0.5382 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/0.3345, allocations: 7.149 MB / 0.5452 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.3362, allocations: 114.4 kB / 0.5453 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.3364, allocations: 162.6 kB / 0.5454 GB, free: 14.7 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.0008382/0.3372, allocations: 484.5 kB / 0.5459 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.3375, allocations: 186.8 kB / 0.5461 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00557/0.3431, allocations: 3.236 MB / 0.5492 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.3431, allocations: 27.92 kB / 0.5493 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3431, allocations: 4 kB / 0.5493 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.3431, allocations: 7.969 kB / 0.5493 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007909/0.351, allocations: 5.133 MB / 0.5543 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.351, allocations: 0 / 0.5543 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.3517, allocations: 306.2 kB / 0.5546 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.3543, allocations: 1.043 MB / 0.5556 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.3545, allocations: 70.64 kB / 0.5557 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/0.3594, allocations: 6.441 MB / 0.562 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3594, allocations: 7.938 kB / 0.562 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006291/0.3657, allocations: 4.12 MB / 0.566 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.3662, allocations: 166.8 kB / 0.5661 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.3664, allocations: 36 kB / 0.5662 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.3669, allocations: 50.55 kB / 0.5662 GB, free: 9.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.3672, allocations: 185.5 kB / 0.5664 GB, free: 8.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.3674, allocations: 87.94 kB / 0.5665 GB, free: 8.762 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008508/0.3682, allocations: 0.9547 MB / 0.5674 GB, free: 7.809 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3682, allocations: 4 kB / 0.5674 GB, free: 7.805 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003284/0.3715, allocations: 1.266 MB / 0.5687 GB, free: 6.535 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.008225/0.3797, allocations: 5.94 MB / 0.5745 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004019/0.3837, allocations: 2.836 MB / 0.5772 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.3837, allocations: 0 / 0.5772 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.3857, allocations: 1.449 MB / 0.5786 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.387, allocations: 324.4 kB / 0.579 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/0.4111, allocations: 19.04 MB / 0.5976 GB, free: 7.836 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.4118, allocations: 0.9133 MB / 0.5984 GB, free: 6.887 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001055/0.4128, allocations: 464 kB / 0.5989 GB, free: 6.473 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000897/0.4137, allocations: 1.001 MB / 0.5999 GB, free: 5.473 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4137, allocations: 4 kB / 0.5999 GB, free: 5.469 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2265/0.6403, allocations: 66.46 MB / 0.6648 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.484/10.12, allocations: 10.61 kB / 0.6648 GB, free: 116.1 MB / 0.4948 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.964599436149001] Failed to read output from testmodel.py, exit status != 0: 10.242224713787436 10.254232978 9.997991191 Calling exit ...