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.001344/0.001344, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001674/0.001674, allocations: 216.6 kB / 23.03 MB, free: 4.918 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1374/0.1374, allocations: 23.87 MB / 337.1 MB, free: 10.97 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_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.001999/0.001999, allocations: 63.91 kB / 471.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 59.87 MB / 0.5193 GB, free: 9.551 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.08239/0.3946, allocations: 30.3 MB / 0.5489 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03612/0.4307, allocations: 25.47 MB / 0.5738 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.4331, allocations: 39.69 kB / 0.5738 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.4355, allocations: 0.6278 MB / 0.5744 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.4426, allocations: 2.215 MB / 0.5766 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.4538, allocations: 3.993 MB / 0.5805 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004907/0.4587, allocations: 3.082 MB / 0.5835 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/0.4615, allocations: 1.605 MB / 0.5851 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.4639, allocations: 1.484 MB / 0.5865 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.4672, allocations: 1.689 MB / 0.5882 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.4683, allocations: 296 kB / 0.5884 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008935/0.4772, allocations: 3.069 MB / 0.5914 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.4784, allocations: 0.6933 MB / 0.5921 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.4809, allocations: 1.218 MB / 0.5933 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.4949, allocations: 6.552 MB / 0.5997 GB, free: 7.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4949, allocations: 0 / 0.5997 GB, free: 7.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4949, allocations: 0 / 0.5997 GB, free: 7.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001154/0.495, allocations: 4 kB / 0.5997 GB, free: 7.402 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.008391/0.5034, allocations: 3.323 MB / 0.603 GB, free: 4.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5035, allocations: 8.031 kB / 0.603 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.407e-05/0.5035, allocations: 68.91 kB / 0.603 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006705/0.5042, allocations: 329.7 kB / 0.6033 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.507, allocations: 0.5804 MB / 0.6039 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.5101, allocations: 1.356 MB / 0.6052 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.5104, allocations: 346.9 kB / 0.6056 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/0.5109, allocations: 243.9 kB / 0.6058 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005746/0.5167, allocations: 3.09 MB / 0.6088 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.5167, allocations: 0 / 0.6088 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002665/0.517, allocations: 100 kB / 0.6089 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.517, allocations: 56 kB / 0.609 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006476/0.5235, allocations: 3.642 MB / 0.6125 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.01803/0.5415, allocations: 9.048 MB / 0.6214 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.5448, allocations: 1.776 MB / 0.6231 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.5467, allocations: 1.023 MB / 0.6241 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.5587, allocations: 5.188 MB / 0.6292 GB, free: 8.734 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.5587, allocations: 51.86 kB / 0.6292 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001368/0.5601, allocations: 310.4 kB / 0.6295 GB, free: 8.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.628e-06/0.5601, allocations: 0 / 0.6295 GB, free: 8.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03954/0.5997, allocations: 9.526 MB / 0.6388 GB, free: 14.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.5998, allocations: 128.8 kB / 0.6389 GB, free: 14.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.6018, allocations: 1.482 MB / 0.6404 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.6022, allocations: 53.7 kB / 0.6404 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009413/0.6031, allocations: 1.19 MB / 0.6416 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008111/0.6039, allocations: 0.6585 MB / 0.6422 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008878/0.6048, allocations: 0.5092 MB / 0.6427 GB, free: 10.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.605, allocations: 313 kB / 0.643 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.6067, allocations: 0.9423 MB / 0.6439 GB, free: 9.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.6094, allocations: 1.902 MB / 0.6458 GB, free: 7.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004891/0.6143, allocations: 3.003 MB / 0.6487 GB, free: 3.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-05/0.6144, allocations: 8 kB / 0.6487 GB, free: 3.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01177/0.6261, allocations: 3.913 MB / 0.6526 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.6262, allocations: 20 kB / 0.6526 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.155e-05/0.6262, allocations: 32 kB / 0.6526 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005855/0.6321, allocations: 1.165 MB / 0.6538 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.6344, allocations: 0.585 MB / 0.6543 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.6452, allocations: 7.157 MB / 0.6613 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.6473, allocations: 119.8 kB / 0.6614 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/0.6477, allocations: 156 kB / 0.6616 GB, free: 6.125 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.001054/0.6488, allocations: 477.4 kB / 0.662 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/0.6493, allocations: 194.9 kB / 0.6622 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/0.6598, allocations: 3.249 MB / 0.6654 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.6598, allocations: 20 kB / 0.6654 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.6598, allocations: 4 kB / 0.6654 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-05/0.6599, allocations: 11.91 kB / 0.6654 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.6743, allocations: 5.117 MB / 0.6704 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.6743, allocations: 0 / 0.6704 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.6757, allocations: 303.9 kB / 0.6707 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/0.681, allocations: 1.052 MB / 0.6717 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/0.6813, allocations: 75.89 kB / 0.6718 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009023/0.6903, allocations: 6.428 MB / 0.6781 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.6903, allocations: 8.062 kB / 0.6781 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.7013, allocations: 4.132 MB / 0.6821 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.7018, allocations: 166.7 kB / 0.6823 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.7021, allocations: 39.98 kB / 0.6823 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7032, allocations: 43.98 kB / 0.6824 GB, free: 232 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004419/0.7037, allocations: 189.5 kB / 0.6826 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/0.7039, allocations: 80.03 kB / 0.6826 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001314/0.7052, allocations: 0.9666 MB / 0.6836 GB, free: 15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7052, allocations: 0 / 0.6836 GB, free: 15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003769/0.709, allocations: 1.259 MB / 0.6848 GB, free: 13.73 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.0146/0.7236, allocations: 5.914 MB / 0.6906 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006534/0.7301, allocations: 2.838 MB / 0.6933 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7301, allocations: 4.25 kB / 0.6934 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/0.7332, allocations: 1.456 MB / 0.6948 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7351, allocations: 305.4 kB / 0.6951 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/0.776, allocations: 19.19 MB / 0.7138 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.777, allocations: 0.9067 MB / 0.7147 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001667/0.7787, allocations: 466.8 kB / 0.7151 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.7802, allocations: 1.009 MB / 0.7161 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of SimCode: time 9.51e-07/0.7802, allocations: 0 / 0.7161 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3381/1.118, allocations: 66.7 MB / 0.7813 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.33/36.45, allocations: 9.562 kB / 0.7813 GB, free: 147.1 MB / 0.5606 GB " [Timeout remaining time 623] (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: 39.27244825498201] Failed to read output from testmodel.py, exit status != 0: 36.67291804496199 36.688915683 36.190647902 Calling exit ...