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.001293/0.001293, allocations: 116.1 kB / 17.17 MB, free: 6 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.001452/0.001452, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.423/1.423, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.1361/0.1361, allocations: 23.89 MB / 333.4 MB, free: 1.184 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.5 kB / 466.8 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09565, allocations: 59.82 MB / 0.5142 GB, free: 12.91 MB / 382.1 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.04422/0.1399, allocations: 31.71 MB / 0.5452 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03661/0.1765, allocations: 29.02 MB / 0.5735 GB, free: 100 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.1781, allocations: 39.69 kB / 0.5736 GB, free: 60 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.1798, allocations: 0.6825 MB / 0.5742 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.1856, allocations: 2.246 MB / 0.5764 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009776/0.1954, allocations: 3.946 MB / 0.5803 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004345/0.1997, allocations: 3.089 MB / 0.5833 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.2018, allocations: 1.651 MB / 0.5849 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.2036, allocations: 1.481 MB / 0.5864 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.2059, allocations: 1.693 MB / 0.588 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004611/0.2063, allocations: 296 kB / 0.5883 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2254/0.4317, allocations: 3.178 MB / 0.5914 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009652/0.4327, allocations: 0.69 MB / 0.5921 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.435, allocations: 1.441 MB / 0.5935 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.448, allocations: 6.572 MB / 0.5999 GB, free: 24.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.448, allocations: 0 / 0.5999 GB, free: 24.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.448, allocations: 3.625 kB / 0.5999 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001041/0.4481, allocations: 0 / 0.5999 GB, free: 24.48 MB / 446.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.008997/0.4571, allocations: 3.406 MB / 0.6032 GB, free: 22.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4571, allocations: 8.656 kB / 0.6032 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.606e-05/0.4572, allocations: 62.41 kB / 0.6033 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005448/0.4578, allocations: 327.9 kB / 0.6036 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.4605, allocations: 0.5823 MB / 0.6042 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.4636, allocations: 1.434 MB / 0.6056 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.4639, allocations: 263.1 kB / 0.6058 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007078/0.4646, allocations: 245.4 kB / 0.6061 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006153/0.4707, allocations: 3.052 MB / 0.609 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.727e-05/0.4708, allocations: 7.656 kB / 0.6091 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003544/0.4711, allocations: 97 kB / 0.6091 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.4712, allocations: 58.16 kB / 0.6092 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006058/0.4772, allocations: 3.621 MB / 0.6127 GB, free: 21.85 MB / 446.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.01693/0.4942, allocations: 10.54 MB / 0.623 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.497, allocations: 2.155 MB / 0.6251 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.4986, allocations: 1.024 MB / 0.6261 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.5103, allocations: 8.838 MB / 0.6348 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.5104, allocations: 54.7 kB / 0.6348 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001548/0.5119, allocations: 300.4 kB / 0.6351 GB, free: 5.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 6.232e-06/0.5119, allocations: 0 / 0.6351 GB, free: 5.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=181): time 0.0362/0.5481, allocations: 9.774 MB / 0.6447 GB, free: 13.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.5482, allocations: 120.8 kB / 0.6448 GB, free: 13.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.5505, allocations: 1.458 MB / 0.6462 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004107/0.5509, allocations: 57.7 kB / 0.6462 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/0.5519, allocations: 1.193 MB / 0.6474 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009541/0.5528, allocations: 0.6583 MB / 0.6481 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009078/0.5537, allocations: 0.5209 MB / 0.6486 GB, free: 9.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5539, allocations: 305.1 kB / 0.6489 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.5557, allocations: 0.9433 MB / 0.6498 GB, free: 8.062 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.5583, allocations: 1.89 MB / 0.6516 GB, free: 5.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004745/0.5631, allocations: 2.997 MB / 0.6545 GB, free: 2.547 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.638e-05/0.5631, allocations: 8 kB / 0.6546 GB, free: 2.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01151/0.5746, allocations: 3.88 MB / 0.6583 GB, free: 14.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.5747, allocations: 23.94 kB / 0.6584 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.116e-05/0.5747, allocations: 34.56 kB / 0.6584 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005615/0.5803, allocations: 1.187 MB / 0.6596 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.5826, allocations: 0.5832 MB / 0.6601 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.5938, allocations: 7.51 MB / 0.6675 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.5961, allocations: 115.1 kB / 0.6676 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003933/0.5965, allocations: 159.9 kB / 0.6677 GB, free: 4.973 MB / 478.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.001126/0.5976, allocations: 494.8 kB / 0.6682 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.5981, allocations: 182.8 kB / 0.6684 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.6083, allocations: 3.246 MB / 0.6715 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.6083, allocations: 20 kB / 0.6716 GB, free: 1.168 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.6083, allocations: 4 kB / 0.6716 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.6084, allocations: 7.969 kB / 0.6716 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.6229, allocations: 5.433 MB / 0.6769 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.6229, allocations: 0 / 0.6769 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6245, allocations: 301.9 kB / 0.6772 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/0.6298, allocations: 1.046 MB / 0.6782 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004533/0.6302, allocations: 67.95 kB / 0.6782 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009535/0.6398, allocations: 6.817 MB / 0.6849 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.6398, allocations: 7.984 kB / 0.6849 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.6511, allocations: 4.123 MB / 0.6889 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007144/0.6519, allocations: 246.5 kB / 0.6892 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/0.6524, allocations: 38.72 kB / 0.6892 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.6537, allocations: 39.98 kB / 0.6892 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/0.6542, allocations: 183.8 kB / 0.6894 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.6544, allocations: 83.94 kB / 0.6895 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00149/0.6559, allocations: 0.9546 MB / 0.6904 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6559, allocations: 2.156 kB / 0.6904 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004955/0.6608, allocations: 1.27 MB / 0.6917 GB, free: 12.2 MB / 0.4981 GB 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.01418/0.675, allocations: 5.906 MB / 0.6974 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006629/0.6817, allocations: 2.909 MB / 0.7003 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6817, allocations: 0 / 0.7003 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.685, allocations: 1.539 MB / 0.7018 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.6871, allocations: 304.8 kB / 0.7021 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04304/0.7301, allocations: 19.13 MB / 0.7208 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.7316, allocations: 1.482 MB / 0.7222 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001839/0.7335, allocations: 460.2 kB / 0.7226 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/0.7351, allocations: 1.011 MB / 0.7236 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.7351, allocations: 4 kB / 0.7236 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.8643, allocations: 64.88 MB / 0.787 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.78/35.65, allocations: 8.062 kB / 0.787 GB, free: 10.6 MB / 0.5919 GB " [Timeout remaining time 624] (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 sys.exit(0), Time elapsed: 38.660140566003975] Failed to read output from testmodel.py, exit status != 0: 35.84783946897369 35.87290403 35.42035318 Calling exit ...