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.0008845/0.0008845, 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.001048/0.001048, 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.8625/0.8625, allocations: 177.1 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.07891/0.07891, allocations: 17.45 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 1.903e-06/1.903e-06, allocations: 3.938 kB / 411.6 MB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.89e-05, allocations: 2.281 kB / 411.6 MB, free: 236 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.02378/0.0238, allocations: 30.91 MB / 442.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1664/0.1902, allocations: 25.48 MB / 468 MB, free: 47.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.1916, allocations: 43.56 kB / 468.1 MB, free: 47.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1928, allocations: 0.6316 MB / 468.7 MB, free: 47.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.197, allocations: 2.287 MB / 471 MB, free: 46.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007583/0.2046, allocations: 4.102 MB / 475.1 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.2075, allocations: 3.194 MB / 478.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.2089, allocations: 1.593 MB / 479.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.2106, allocations: 2.1 MB / 482 MB, free: 40.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.2119, allocations: 1.324 MB / 483.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.2123, allocations: 299.9 kB / 483.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006349/0.2186, allocations: 3.014 MB / 486.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007711/0.2194, allocations: 0.7068 MB / 487.3 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.2207, allocations: 1.045 MB / 488.3 MB, free: 38.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.2312, allocations: 6.926 MB / 495.3 MB, free: 35.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2312, allocations: 1.594 kB / 495.3 MB, free: 35.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2312, allocations: 0.6094 kB / 495.3 MB, free: 35.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.203e-05/0.2313, allocations: 0 / 495.3 MB, free: 35.55 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.005439/0.2368, allocations: 3.293 MB / 498.6 MB, free: 33.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2368, allocations: 8.469 kB / 498.6 MB, free: 33.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003916/0.2372, allocations: 330.1 kB / 498.9 MB, free: 33.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.2388, allocations: 0.5822 MB / 499.5 MB, free: 33.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.2407, allocations: 1.361 MB / 0.4891 GB, free: 32.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.2409, allocations: 344.2 kB / 0.4894 GB, free: 32.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.2413, allocations: 244 kB / 0.4897 GB, free: 32.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004047/0.2453, allocations: 3.089 MB / 0.4927 GB, free: 30.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.2453, allocations: 2.125 kB / 0.4927 GB, free: 30.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.2455, allocations: 96.59 kB / 0.4928 GB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.2456, allocations: 58.97 kB / 0.4928 GB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/0.2501, allocations: 3.61 MB / 0.4964 GB, free: 29.72 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.01273/0.2628, allocations: 9.04 MB / 0.5052 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.2647, allocations: 1.772 MB / 0.5069 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009983/0.2657, allocations: 1.02 MB / 0.5079 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006575/0.2723, allocations: 5.186 MB / 0.513 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2723, allocations: 43.88 kB / 0.513 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007982/0.2731, allocations: 307.7 kB / 0.5133 GB, free: 16.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 4.889e-06/0.2731, allocations: 0 / 0.5133 GB, free: 16.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01793/0.2911, allocations: 9.552 MB / 0.5226 GB, free: 7.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2911, allocations: 124.8 kB / 0.5228 GB, free: 7.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2922, allocations: 1.528 MB / 0.5243 GB, free: 5.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.2923, allocations: 57.7 kB / 0.5243 GB, free: 5.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.2926, allocations: 1.178 MB / 0.5255 GB, free: 4.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.2928, allocations: 0.6572 MB / 0.5261 GB, free: 3.652 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.2933, allocations: 0.5092 MB / 0.5266 GB, free: 3.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.02e-05/0.2933, allocations: 301.1 kB / 0.5269 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009086/0.2942, allocations: 0.9462 MB / 0.5278 GB, free: 1.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.2954, allocations: 1.898 MB / 0.5297 GB, free: 15.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.2981, allocations: 3.004 MB / 0.5326 GB, free: 12.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/0.2982, allocations: 19.88 kB / 0.5326 GB, free: 12.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005935/0.3041, allocations: 3.886 MB / 0.5364 GB, free: 8.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.3041, allocations: 26.64 kB / 0.5364 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.3042, allocations: 32 kB / 0.5365 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/0.307, allocations: 1.184 MB / 0.5376 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.3083, allocations: 0.5811 MB / 0.5382 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.3144, allocations: 7.151 MB / 0.5452 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.3159, allocations: 118.5 kB / 0.5453 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.3162, allocations: 159.9 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.0009046/0.3171, allocations: 484.5 kB / 0.5459 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.3175, allocations: 186.8 kB / 0.5461 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/0.323, allocations: 3.241 MB / 0.5492 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.3231, allocations: 23.94 kB / 0.5493 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.3231, allocations: 4 kB / 0.5493 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.3231, allocations: 10.7 kB / 0.5493 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00817/0.3313, allocations: 5.126 MB / 0.5543 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3313, allocations: 0 / 0.5543 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007186/0.332, allocations: 310.2 kB / 0.5546 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/0.3345, allocations: 1.043 MB / 0.5556 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.3346, allocations: 74.61 kB / 0.5557 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.3399, allocations: 6.434 MB / 0.562 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.3399, allocations: 7.938 kB / 0.562 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006627/0.3466, allocations: 4.117 MB / 0.566 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.347, allocations: 166.8 kB / 0.5661 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.3473, allocations: 40 kB / 0.5662 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.3479, allocations: 46.64 kB / 0.5662 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.3482, allocations: 189.5 kB / 0.5664 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.3483, allocations: 83.95 kB / 0.5665 GB, free: 8.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008872/0.3492, allocations: 0.9586 MB / 0.5674 GB, free: 7.801 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3492, allocations: 0 / 0.5674 GB, free: 7.801 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003318/0.3525, allocations: 1.266 MB / 0.5687 GB, free: 6.531 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.00893/0.3614, allocations: 5.942 MB / 0.5745 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004548/0.366, allocations: 2.836 MB / 0.5772 GB, free: 13.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.366, allocations: 0 / 0.5772 GB, free: 13.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.3679, allocations: 1.449 MB / 0.5786 GB, free: 12.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.3694, allocations: 327 kB / 0.579 GB, free: 11.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/0.395, allocations: 19.04 MB / 0.5975 GB, free: 7.832 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.3957, allocations: 0.9172 MB / 0.5984 GB, free: 6.875 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00124/0.3969, allocations: 464.1 kB / 0.5989 GB, free: 6.457 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009468/0.3979, allocations: 1.015 MB / 0.5999 GB, free: 5.445 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3979, allocations: 0 / 0.5999 GB, free: 5.445 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2295/0.6274, allocations: 66.45 MB / 0.6648 GB, free: 116 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.477/10.1, allocations: 1.625 kB / 0.6648 GB, free: 116 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 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.845945857465267] Failed to read output from testmodel.py, exit status != 0: 10.223467379808426 10.229973712 9.997222476 Calling exit ...