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.001419/0.001419, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001711/0.001711, allocations: 220.9 kB / 22.25 MB, free: 5.105 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.785 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.1406/0.1406, allocations: 23.88 MB / 336.3 MB, free: 10.94 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.002086/0.002086, allocations: 63.91 kB / 471.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 59.85 MB / 0.5185 GB, free: 9.617 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.07882/0.4106, allocations: 30.58 MB / 0.5484 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03734/0.4479, allocations: 25.49 MB / 0.5733 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.4503, allocations: 39.69 kB / 0.5733 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.4529, allocations: 0.6318 MB / 0.5739 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008013/0.4609, allocations: 2.204 MB / 0.5761 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01301/0.4739, allocations: 3.993 MB / 0.58 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005794/0.4797, allocations: 3.089 MB / 0.583 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/0.4823, allocations: 1.613 MB / 0.5846 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.4849, allocations: 1.484 MB / 0.586 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.4881, allocations: 1.686 MB / 0.5877 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008348/0.4889, allocations: 300 kB / 0.588 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009048/0.498, allocations: 3.069 MB / 0.591 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.4992, allocations: 0.6932 MB / 0.5916 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.5012, allocations: 1.21 MB / 0.5928 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.5167, allocations: 6.56 MB / 0.5992 GB, free: 7.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.5167, allocations: 0 / 0.5992 GB, free: 7.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5167, allocations: 0 / 0.5992 GB, free: 7.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.5168, allocations: 3.984 kB / 0.5992 GB, free: 7.066 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.007654/0.5244, allocations: 3.315 MB / 0.6025 GB, free: 3.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.5245, allocations: 12.03 kB / 0.6025 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004363/0.5249, allocations: 325.7 kB / 0.6028 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.5275, allocations: 0.5842 MB / 0.6034 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.5304, allocations: 1.356 MB / 0.6047 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.5308, allocations: 351.1 kB / 0.605 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005737/0.5313, allocations: 240 kB / 0.6052 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/0.5372, allocations: 3.096 MB / 0.6083 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/0.5373, allocations: 7.922 kB / 0.6083 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.5375, allocations: 100 kB / 0.6084 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.5376, allocations: 59.94 kB / 0.6084 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006656/0.5442, allocations: 3.603 MB / 0.612 GB, free: 9.781 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.02117/0.5654, allocations: 9.045 MB / 0.6208 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.5689, allocations: 1.772 MB / 0.6225 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.5708, allocations: 1.02 MB / 0.6235 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01279/0.5835, allocations: 5.196 MB / 0.6286 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5836, allocations: 43.88 kB / 0.6286 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001485/0.5851, allocations: 306.5 kB / 0.6289 GB, free: 8.148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 5.03e-06/0.5851, allocations: 0 / 0.6289 GB, free: 8.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.04093/0.626, allocations: 9.534 MB / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/0.6261, allocations: 124.8 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.6282, allocations: 1.532 MB / 0.6398 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003746/0.6286, allocations: 61.77 kB / 0.6399 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/0.6295, allocations: 1.182 MB / 0.6411 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/0.6302, allocations: 0.6624 MB / 0.6417 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008232/0.6311, allocations: 0.517 MB / 0.6422 GB, free: 10.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.6312, allocations: 305.1 kB / 0.6425 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.6329, allocations: 0.9462 MB / 0.6434 GB, free: 9.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.6355, allocations: 1.909 MB / 0.6453 GB, free: 6.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004747/0.6403, allocations: 2.996 MB / 0.6482 GB, free: 3.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/0.6403, allocations: 12 kB / 0.6482 GB, free: 3.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01171/0.652, allocations: 3.902 MB / 0.652 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.652, allocations: 27.94 kB / 0.6521 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/0.6521, allocations: 32 kB / 0.6521 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006032/0.6581, allocations: 1.175 MB / 0.6532 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/0.6605, allocations: 0.5811 MB / 0.6538 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6718, allocations: 7.154 MB / 0.6608 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.6742, allocations: 111.9 kB / 0.6609 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/0.6747, allocations: 159.9 kB / 0.6611 GB, free: 5.836 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.00109/0.6758, allocations: 496.7 kB / 0.6615 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/0.6763, allocations: 182.8 kB / 0.6617 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.6871, allocations: 3.246 MB / 0.6649 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/0.6871, allocations: 20 kB / 0.6649 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.6872, allocations: 4 kB / 0.6649 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/0.6872, allocations: 7.969 kB / 0.6649 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.7022, allocations: 5.113 MB / 0.6699 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.7022, allocations: 4 kB / 0.6699 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.7037, allocations: 307.6 kB / 0.6702 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005416/0.7092, allocations: 1.042 MB / 0.6712 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003139/0.7095, allocations: 75.94 kB / 0.6713 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009066/0.7185, allocations: 6.436 MB / 0.6776 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.7185, allocations: 4 kB / 0.6776 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.7298, allocations: 4.124 MB / 0.6816 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.7303, allocations: 171 kB / 0.6818 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.7307, allocations: 40.05 kB / 0.6818 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.7319, allocations: 43.94 kB / 0.6818 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004314/0.7324, allocations: 193.5 kB / 0.682 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.7325, allocations: 79.95 kB / 0.6821 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001321/0.7339, allocations: 0.9624 MB / 0.683 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7339, allocations: 0 / 0.683 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00392/0.7378, allocations: 1.27 MB / 0.6843 GB, free: 13.45 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.01425/0.752, allocations: 5.903 MB / 0.69 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006613/0.7587, allocations: 2.842 MB / 0.6928 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.7587, allocations: 0 / 0.6928 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00332/0.762, allocations: 1.455 MB / 0.6942 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.7639, allocations: 316.1 kB / 0.6945 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04426/0.8082, allocations: 19.19 MB / 0.7133 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.8093, allocations: 0.9106 MB / 0.7142 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001718/0.811, allocations: 466.8 kB / 0.7146 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/0.8126, allocations: 1.014 MB / 0.7156 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of SimCode: time 2.325e-06/0.8126, allocations: 0 / 0.7156 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3381/1.151, allocations: 67.05 MB / 0.7811 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.23, allocations: 0 / 0.7811 GB, free: 146.3 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: 19.932698924007127] Failed to read output from testmodel.py, exit status != 0: 17.387210988003062 17.404747644 16.884356716 Calling exit ...