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.0007979/0.0007979, 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.0008416/0.0008416, allocations: 169.9 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.8911/0.8911, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.08291/0.08291, allocations: 17.38 MB / 276.6 MB, free: 11.84 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 1.413e-06/1.413e-06, allocations: 0 / 411.5 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.384e-05, allocations: 6.219 kB / 411.5 MB, free: 404 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.02573/0.02574, allocations: 30.92 MB / 442.4 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1587/0.1845, allocations: 25.48 MB / 467.9 MB, free: 47.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.1855, allocations: 39.09 kB / 467.9 MB, free: 47.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.1865, allocations: 0.6302 MB / 468.5 MB, free: 47.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.1896, allocations: 2.295 MB / 470.8 MB, free: 46.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006204/0.1959, allocations: 4.1 MB / 474.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.1979, allocations: 3.195 MB / 478.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1992, allocations: 1.583 MB / 479.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.2006, allocations: 2.096 MB / 481.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.2016, allocations: 1.341 MB / 483.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.2018, allocations: 299.2 kB / 483.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005039/0.2069, allocations: 3.008 MB / 486.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.2072, allocations: 0.7055 MB / 487.1 MB, free: 39.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.2079, allocations: 1.046 MB / 488.2 MB, free: 38.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008392/0.2163, allocations: 6.924 MB / 495.1 MB, free: 35.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2163, allocations: 3.938 kB / 495.1 MB, free: 35.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2163, allocations: 0 / 495.1 MB, free: 35.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.512e-05/0.2163, allocations: 0 / 495.1 MB, free: 35.78 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.005409/0.2217, allocations: 3.296 MB / 498.4 MB, free: 33.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.2218, allocations: 9.188 kB / 498.4 MB, free: 33.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003585/0.2221, allocations: 329.6 kB / 498.7 MB, free: 33.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.2236, allocations: 0.5818 MB / 499.3 MB, free: 33.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.2253, allocations: 1.351 MB / 0.4889 GB, free: 32.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.2254, allocations: 351.3 kB / 0.4893 GB, free: 32.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.2257, allocations: 243.7 kB / 0.4895 GB, free: 32.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/0.229, allocations: 3.089 MB / 0.4925 GB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.2291, allocations: 1.188 kB / 0.4925 GB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.2293, allocations: 99.83 kB / 0.4926 GB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.2293, allocations: 60.31 kB / 0.4927 GB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.2331, allocations: 3.611 MB / 0.4962 GB, free: 29.95 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.008879/0.242, allocations: 9.04 MB / 0.505 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.2436, allocations: 1.775 MB / 0.5068 GB, free: 23.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008676/0.2445, allocations: 1.022 MB / 0.5078 GB, free: 22.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005716/0.2502, allocations: 5.175 MB / 0.5128 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2502, allocations: 54.78 kB / 0.5129 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005922/0.2508, allocations: 303.8 kB / 0.5132 GB, free: 17.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 2.715e-06/0.2508, allocations: 3.938 kB / 0.5132 GB, free: 17.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.0165/0.2673, allocations: 9.548 MB / 0.5225 GB, free: 7.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2674, allocations: 128.8 kB / 0.5226 GB, free: 7.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009763/0.2683, allocations: 1.524 MB / 0.5241 GB, free: 5.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/0.2684, allocations: 57.7 kB / 0.5242 GB, free: 5.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.2687, allocations: 1.182 MB / 0.5253 GB, free: 4.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.269, allocations: 0.6436 MB / 0.5259 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.2694, allocations: 0.5157 MB / 0.5264 GB, free: 3.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.369e-05/0.2694, allocations: 305.1 kB / 0.5267 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008843/0.2703, allocations: 0.9462 MB / 0.5277 GB, free: 2.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.2714, allocations: 1.902 MB / 0.5295 GB, free: 15.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.2741, allocations: 2.994 MB / 0.5324 GB, free: 12.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.2741, allocations: 14.59 kB / 0.5325 GB, free: 12.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005987/0.2801, allocations: 3.904 MB / 0.5363 GB, free: 8.523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.2802, allocations: 16 kB / 0.5363 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.2802, allocations: 34.66 kB / 0.5363 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/0.283, allocations: 1.184 MB / 0.5375 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.2842, allocations: 0.5772 MB / 0.538 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006777/0.291, allocations: 7.147 MB / 0.545 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.2923, allocations: 121.1 kB / 0.5451 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.2925, allocations: 159.9 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.0007681/0.2933, allocations: 487.5 kB / 0.5458 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.2935, allocations: 186.8 kB / 0.5459 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005503/0.299, allocations: 3.23 MB / 0.5491 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.299, allocations: 23.94 kB / 0.5491 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2991, allocations: 7.984 kB / 0.5491 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.2991, allocations: 7.969 kB / 0.5491 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008086/0.3071, allocations: 5.129 MB / 0.5541 GB, free: 5.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.3072, allocations: 4 kB / 0.5541 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.3079, allocations: 306.2 kB / 0.5544 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.3104, allocations: 1.037 MB / 0.5554 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.3105, allocations: 75.45 kB / 0.5555 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005119/0.3156, allocations: 6.439 MB / 0.5618 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3156, allocations: 7.938 kB / 0.5618 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005714/0.3213, allocations: 4.117 MB / 0.5658 GB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.3217, allocations: 169.4 kB / 0.566 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.3218, allocations: 40 kB / 0.566 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.3224, allocations: 46.67 kB / 0.5661 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.3227, allocations: 187.5 kB / 0.5662 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.3228, allocations: 83.94 kB / 0.5663 GB, free: 9.031 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008475/0.3236, allocations: 0.9586 MB / 0.5673 GB, free: 8.074 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3236, allocations: 0 / 0.5673 GB, free: 8.074 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003315/0.3269, allocations: 1.27 MB / 0.5685 GB, free: 6.801 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.008012/0.335, allocations: 5.944 MB / 0.5743 GB, free: 0.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004076/0.339, allocations: 2.84 MB / 0.5771 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.339, allocations: 2.688 kB / 0.5771 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.3407, 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.001271/0.342, allocations: 314.3 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.02387/0.3658, allocations: 19.05 MB / 0.5974 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.3665, allocations: 0.9133 MB / 0.5983 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001079/0.3676, allocations: 462.6 kB / 0.5987 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009293/0.3685, allocations: 1.011 MB / 0.5997 GB, free: 5.723 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3685, allocations: 4 kB / 0.5997 GB, free: 5.719 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2387/0.6072, allocations: 66.45 MB / 0.6646 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.819/10.43, allocations: 7.688 kB / 0.6646 GB, free: 116.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 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: 12.245934092439711] Failed to read output from testmodel.py, exit status != 0: 10.543689615093172 10.550429069 10.332670419 Calling exit ...