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.001792/0.001792, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00156/0.00156, allocations: 210.4 kB / 22.24 MB, free: 5.258 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1341/0.1341, allocations: 23.89 MB / 336.3 MB, free: 10.96 MB / 270.1 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: 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.00332/0.00332, allocations: 72.19 kB / 471.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3793, allocations: 59.85 MB / 0.5185 GB, free: 9.547 MB / 382.1 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.07701/0.4563, allocations: 30.69 MB / 0.5485 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03668/0.493, allocations: 25.5 MB / 0.5734 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.4954, allocations: 39.69 kB / 0.5734 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.4981, allocations: 0.624 MB / 0.5741 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.5062, allocations: 2.204 MB / 0.5762 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.012/0.5182, allocations: 4 MB / 0.5801 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.523, allocations: 3.081 MB / 0.5831 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.5257, allocations: 1.574 MB / 0.5847 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.5279, allocations: 1.488 MB / 0.5861 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.5305, allocations: 1.498 MB / 0.5876 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000656/0.5312, allocations: 296 kB / 0.5879 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008251/0.5394, allocations: 2.995 MB / 0.5908 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.5406, allocations: 0.6932 MB / 0.5915 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.5424, allocations: 1.214 MB / 0.5926 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.5564, allocations: 6.556 MB / 0.5991 GB, free: 7.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5565, allocations: 4 kB / 0.5991 GB, free: 7.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5565, allocations: 3.938 kB / 0.5991 GB, free: 7.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.214e-05/0.5565, allocations: 0 / 0.5991 GB, free: 7.305 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.007271/0.5638, allocations: 3.319 MB / 0.6023 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5639, allocations: 8.031 kB / 0.6023 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004761/0.5643, allocations: 337.7 kB / 0.6026 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.5668, allocations: 0.5764 MB / 0.6032 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.5699, allocations: 1.36 MB / 0.6045 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.5702, allocations: 347.1 kB / 0.6049 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/0.5707, allocations: 243.9 kB / 0.6051 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/0.5769, allocations: 3.09 MB / 0.6081 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.734e-05/0.577, allocations: 7.922 kB / 0.6081 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.5773, allocations: 96 kB / 0.6082 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.5773, allocations: 60 kB / 0.6083 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00644/0.5838, allocations: 3.603 MB / 0.6118 GB, free: 10.02 MB / 462.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.01854/0.6023, allocations: 9.037 MB / 0.6206 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.6055, allocations: 1.776 MB / 0.6223 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.6073, allocations: 1.016 MB / 0.6233 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/0.6197, allocations: 5.2 MB / 0.6284 GB, free: 8.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.6198, allocations: 59.81 kB / 0.6285 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00144/0.6212, allocations: 302.5 kB / 0.6288 GB, free: 8.379 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 5.651e-06/0.6212, allocations: 0 / 0.6288 GB, free: 8.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03639/0.6576, allocations: 9.53 MB / 0.6381 GB, free: 14.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.6577, allocations: 120.9 kB / 0.6382 GB, free: 14.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.6598, allocations: 1.536 MB / 0.6397 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003297/0.6602, allocations: 53.7 kB / 0.6397 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009483/0.6611, allocations: 1.19 MB / 0.6409 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/0.6618, allocations: 0.6585 MB / 0.6415 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007718/0.6626, allocations: 0.5248 MB / 0.642 GB, free: 10.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6627, allocations: 309.1 kB / 0.6423 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.6644, allocations: 0.9462 MB / 0.6433 GB, free: 9.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.667, allocations: 1.898 MB / 0.6451 GB, free: 7.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004633/0.6716, allocations: 3 MB / 0.648 GB, free: 3.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/0.6717, allocations: 8 kB / 0.648 GB, free: 3.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01087/0.6825, allocations: 3.906 MB / 0.6519 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.6826, allocations: 20 kB / 0.6519 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/0.6826, allocations: 32 kB / 0.6519 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005547/0.6882, allocations: 1.185 MB / 0.6531 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.6905, allocations: 0.5811 MB / 0.6536 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.7036, allocations: 7.143 MB / 0.6606 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.7065, allocations: 107.9 kB / 0.6607 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004636/0.707, allocations: 163.9 kB / 0.6609 GB, free: 6.078 MB / 0.4981 GB 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.001207/0.7082, allocations: 480.8 kB / 0.6613 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/0.7087, allocations: 194.8 kB / 0.6615 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/0.7189, allocations: 3.238 MB / 0.6647 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/0.7189, allocations: 20 kB / 0.6647 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.7189, allocations: 0 / 0.6647 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-05/0.719, allocations: 23.92 kB / 0.6647 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.7343, allocations: 5.109 MB / 0.6697 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.7343, allocations: 4 kB / 0.6697 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.7358, allocations: 303.9 kB / 0.67 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005243/0.7411, allocations: 1.049 MB / 0.671 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003862/0.7415, allocations: 75.89 kB / 0.6711 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009724/0.7512, allocations: 6.436 MB / 0.6774 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7512, allocations: 272 / 0.6774 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/0.7625, allocations: 4.136 MB / 0.6814 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.763, allocations: 170.7 kB / 0.6816 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.7634, allocations: 43.94 kB / 0.6816 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.7646, allocations: 43.98 kB / 0.6817 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/0.765, allocations: 181.5 kB / 0.6818 GB, free: 8 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.7652, allocations: 84.11 kB / 0.6819 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001363/0.7666, allocations: 0.9664 MB / 0.6829 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.7666, allocations: 0 / 0.6829 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003953/0.7705, allocations: 1.266 MB / 0.6841 GB, free: 13.69 MB / 0.5294 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.01342/0.7839, allocations: 5.902 MB / 0.6899 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00624/0.7902, allocations: 2.838 MB / 0.6926 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.7902, allocations: 8.188 kB / 0.6926 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003132/0.7933, allocations: 1.452 MB / 0.6941 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.7952, allocations: 319.2 kB / 0.6944 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/0.8368, allocations: 19.18 MB / 0.7131 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.838, allocations: 0.9145 MB / 0.714 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001815/0.8398, allocations: 458.6 kB / 0.7144 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/0.8414, allocations: 1.01 MB / 0.7154 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.8414, allocations: 3.938 kB / 0.7154 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3541/1.195, allocations: 66.25 MB / 0.7801 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.29, allocations: 1.688 kB / 0.7801 GB, free: 147.4 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.064366390928626] Failed to read output from testmodel.py, exit status != 0: 17.456898188218474 17.465487957 16.906411665 Calling exit ...