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.001728/0.001728, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001664/0.001664, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.1441/0.1441, allocations: 23.88 MB / 337.1 MB, free: 11.17 MB / 270.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.001925/0.001925, allocations: 63.91 kB / 472 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2823, allocations: 59.86 MB / 0.5194 GB, free: 9.609 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.03898/0.3212, allocations: 31.78 MB / 0.5504 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03652/0.3578, allocations: 29.1 MB / 0.5788 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.3597, allocations: 35.75 kB / 0.5789 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.3616, allocations: 0.6901 MB / 0.5796 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009176/0.3708, allocations: 2.262 MB / 0.5818 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01653/0.3873, allocations: 3.993 MB / 0.5857 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006973/0.3943, allocations: 3.089 MB / 0.5887 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/0.3976, allocations: 1.605 MB / 0.5902 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.4007, allocations: 1.481 MB / 0.5917 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004147/0.4049, allocations: 1.686 MB / 0.5933 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.4056, allocations: 296 kB / 0.5936 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/0.4189, allocations: 3.186 MB / 0.5967 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.4204, allocations: 0.6933 MB / 0.5974 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.4232, allocations: 1.447 MB / 0.5988 GB, free: 8.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.4384, allocations: 6.572 MB / 0.6052 GB, free: 2.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4384, allocations: 0 / 0.6052 GB, free: 2.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4384, allocations: 0 / 0.6052 GB, free: 2.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.923e-05/0.4385, allocations: 4 kB / 0.6052 GB, free: 2.016 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.007056/0.4456, allocations: 3.326 MB / 0.6085 GB, free: 14.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4456, allocations: 8.031 kB / 0.6085 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.034e-05/0.4457, allocations: 64.97 kB / 0.6086 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004187/0.4461, allocations: 329.7 kB / 0.6089 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002439/0.4485, allocations: 0.5804 MB / 0.6094 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.4512, allocations: 1.36 MB / 0.6108 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.4515, allocations: 346.9 kB / 0.6111 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004402/0.4519, allocations: 240 kB / 0.6113 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005445/0.4574, allocations: 3.065 MB / 0.6143 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.4574, allocations: 4 kB / 0.6143 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.4577, allocations: 100 kB / 0.6144 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.4577, allocations: 60 kB / 0.6145 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0063/0.464, allocations: 3.638 MB / 0.618 GB, free: 4.66 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.01783/0.4819, allocations: 10.45 MB / 0.6282 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/0.4851, allocations: 1.787 MB / 0.63 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.4868, allocations: 1.02 MB / 0.631 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/0.5016, allocations: 5.473 MB / 0.6363 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.884e-05/0.5017, allocations: 55.88 kB / 0.6364 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002066/0.5038, allocations: 302.4 kB / 0.6367 GB, free: 1.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 5.12e-06/0.5038, allocations: 0 / 0.6367 GB, free: 1.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.05466/0.5584, allocations: 9.541 MB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5585, allocations: 132.8 kB / 0.6461 GB, free: 7.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.561, allocations: 1.466 MB / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.5613, allocations: 57.69 kB / 0.6476 GB, free: 5.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.5624, allocations: 1.19 MB / 0.6488 GB, free: 4.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000818/0.5632, allocations: 0.6547 MB / 0.6494 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009858/0.5642, allocations: 0.517 MB / 0.6499 GB, free: 3.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5644, allocations: 309.1 kB / 0.6502 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.5664, allocations: 0.9501 MB / 0.6511 GB, free: 2.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.569, allocations: 1.898 MB / 0.653 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/0.5736, allocations: 3.007 MB / 0.6559 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.5736, allocations: 8 kB / 0.6559 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01101/0.5846, allocations: 3.905 MB / 0.6597 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.5847, allocations: 20 kB / 0.6597 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/0.5847, allocations: 32 kB / 0.6598 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005568/0.5903, allocations: 1.182 MB / 0.6609 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.5925, allocations: 0.5811 MB / 0.6615 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.6032, allocations: 7.206 MB / 0.6685 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.6053, allocations: 111.9 kB / 0.6686 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.6056, allocations: 159.9 kB / 0.6688 GB, free: 14.82 MB / 0.5137 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.001014/0.6066, allocations: 481.4 kB / 0.6693 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/0.6071, allocations: 194.7 kB / 0.6694 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009881/0.617, allocations: 3.241 MB / 0.6726 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.617, allocations: 20 kB / 0.6726 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.617, allocations: 4 kB / 0.6726 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.6171, allocations: 7.969 kB / 0.6726 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.6306, allocations: 5.401 MB / 0.6779 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6307, allocations: 0 / 0.6779 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.632, allocations: 311.9 kB / 0.6782 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.6369, allocations: 1.052 MB / 0.6792 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/0.6372, allocations: 67.95 kB / 0.6793 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008746/0.6459, allocations: 6.495 MB / 0.6856 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6459, allocations: 3.938 kB / 0.6856 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.6562, allocations: 4.12 MB / 0.6897 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6567, allocations: 170.7 kB / 0.6898 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.657, allocations: 36 kB / 0.6899 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.6581, allocations: 43.98 kB / 0.6899 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/0.6585, allocations: 197.5 kB / 0.6901 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/0.6587, allocations: 79.95 kB / 0.6902 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001294/0.6599, allocations: 0.9585 MB / 0.6911 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6599, allocations: 0 / 0.6911 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003719/0.6637, allocations: 1.266 MB / 0.6923 GB, free: 6.109 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.01314/0.6768, allocations: 5.907 MB / 0.6981 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006291/0.6831, allocations: 2.838 MB / 0.7009 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6831, allocations: 0 / 0.7009 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.6861, allocations: 1.46 MB / 0.7023 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.6879, allocations: 318.7 kB / 0.7026 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03833/0.7263, allocations: 19.19 MB / 0.7214 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.7275, allocations: 1.474 MB / 0.7228 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001562/0.729, allocations: 467.2 kB / 0.7232 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.7304, allocations: 1.013 MB / 0.7242 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.7304, allocations: 0 / 0.7242 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/1.044, allocations: 66.99 MB / 0.7897 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.54/35.59, allocations: 11.12 kB / 0.7897 GB, free: 140.3 MB / 0.5606 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.583632456022315] Failed to read output from testmodel.py, exit status != 0: 35.799949954031035 35.810388742 35.369269617 Calling exit ...