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.001791/0.001791, allocations: 107.8 kB / 16.45 MB, free: 6.5 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.001976/0.001976, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.375/1.375, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.1297/0.1297, allocations: 23.88 MB / 332.7 MB, free: 12.31 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_master_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.00193/0.00193, allocations: 67.91 kB / 466.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3074, allocations: 59.83 MB / 0.5136 GB, free: 8.832 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.04529/0.3527, allocations: 31.88 MB / 0.5447 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03912/0.3918, allocations: 29.03 MB / 0.573 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.3939, allocations: 39.69 kB / 0.5731 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.3962, allocations: 0.6901 MB / 0.5738 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007064/0.4033, allocations: 2.242 MB / 0.5759 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.414, allocations: 3.953 MB / 0.5798 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.4187, allocations: 3.089 MB / 0.5828 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.4212, allocations: 1.643 MB / 0.5844 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.4234, allocations: 1.477 MB / 0.5859 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.4259, allocations: 1.69 MB / 0.5875 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004554/0.4264, allocations: 296 kB / 0.5878 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009066/0.4355, allocations: 3.19 MB / 0.5909 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007099/0.4362, allocations: 0.6855 MB / 0.5916 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.4378, allocations: 1.447 MB / 0.593 GB, free: 9.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.4521, allocations: 6.568 MB / 0.5994 GB, free: 3.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4521, allocations: 3.984 kB / 0.5994 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4521, allocations: 4 kB / 0.5994 GB, free: 3.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.068e-05/0.4521, allocations: 0 / 0.5994 GB, free: 3.133 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.006799/0.4589, allocations: 3.402 MB / 0.6027 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.459, allocations: 8.031 kB / 0.6028 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004138/0.4594, allocations: 333.7 kB / 0.6031 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.4617, allocations: 0.5803 MB / 0.6036 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.4641, allocations: 1.428 MB / 0.605 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.4643, allocations: 270 kB / 0.6053 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/0.4647, allocations: 240 kB / 0.6055 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.4695, allocations: 3.057 MB / 0.6085 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.4696, allocations: 0 / 0.6085 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.4698, allocations: 96 kB / 0.6086 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/0.4699, allocations: 63.98 kB / 0.6087 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00568/0.4755, allocations: 3.626 MB / 0.6122 GB, free: 5.789 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.01583/0.4914, allocations: 10.54 MB / 0.6225 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.4944, allocations: 2.163 MB / 0.6246 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.4961, allocations: 1.02 MB / 0.6256 GB, free: 7.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.5087, allocations: 8.826 MB / 0.6342 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.5088, allocations: 59.86 kB / 0.6343 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001273/0.5101, allocations: 298.5 kB / 0.6346 GB, free: 13.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 3.146e-06/0.5101, allocations: 0 / 0.6346 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=181): time 0.03469/0.5448, allocations: 9.768 MB / 0.6441 GB, free: 3.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.5448, allocations: 136.8 kB / 0.6442 GB, free: 3.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.5467, allocations: 1.458 MB / 0.6457 GB, free: 2.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.5469, allocations: 53.7 kB / 0.6457 GB, free: 1.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008425/0.5477, allocations: 1.186 MB / 0.6469 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.5483, allocations: 0.6546 MB / 0.6475 GB, free: 96 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007927/0.5491, allocations: 0.5171 MB / 0.648 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5492, allocations: 309.1 kB / 0.6483 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.5508, allocations: 0.9384 MB / 0.6492 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/0.5533, allocations: 1.902 MB / 0.6511 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/0.5575, allocations: 2.992 MB / 0.654 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.5575, allocations: 8 kB / 0.654 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01037/0.5679, allocations: 3.898 MB / 0.6578 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.568, allocations: 20.03 kB / 0.6578 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/0.568, allocations: 32 kB / 0.6579 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005367/0.5734, allocations: 1.178 MB / 0.659 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.5755, allocations: 0.5772 MB / 0.6596 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5859, allocations: 7.527 MB / 0.6669 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.588, allocations: 107.8 kB / 0.667 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.5882, allocations: 163.9 kB / 0.6672 GB, free: 10.57 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.0009718/0.5892, allocations: 483.7 kB / 0.6676 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.5897, allocations: 186.8 kB / 0.6678 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009685/0.5994, allocations: 3.249 MB / 0.671 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.5994, allocations: 20 kB / 0.671 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.5994, allocations: 4 kB / 0.671 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.5994, allocations: 7.969 kB / 0.671 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.6123, allocations: 5.426 MB / 0.6763 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.6123, allocations: 4 kB / 0.6763 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.6136, allocations: 303.6 kB / 0.6766 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/0.6184, allocations: 1.046 MB / 0.6776 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.6186, allocations: 75.89 kB / 0.6777 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008787/0.6274, allocations: 6.807 MB / 0.6844 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6274, allocations: 4 kB / 0.6844 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.6378, allocations: 4.124 MB / 0.6884 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.6383, allocations: 247.8 kB / 0.6886 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.6386, allocations: 44 kB / 0.6887 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.6396, allocations: 44.12 kB / 0.6887 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004302/0.6401, allocations: 181.6 kB / 0.6889 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.6402, allocations: 83.94 kB / 0.689 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001295/0.6415, allocations: 0.9507 MB / 0.6899 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6415, allocations: 4 kB / 0.6899 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003965/0.6455, allocations: 1.266 MB / 0.6911 GB, free: 1.355 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.01297/0.6585, allocations: 5.91 MB / 0.6969 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005922/0.6644, allocations: 2.898 MB / 0.6997 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6644, allocations: 0 / 0.6997 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.6673, allocations: 1.54 MB / 0.7012 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.6691, allocations: 321.8 kB / 0.7015 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/0.7062, allocations: 19.11 MB / 0.7202 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.7074, allocations: 1.486 MB / 0.7217 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00146/0.7089, allocations: 458.1 kB / 0.7221 GB, free: 172 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2028/0.9117, allocations: 1.01 MB / 0.7231 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.9117, allocations: 0 / 0.7231 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.019, allocations: 64.84 MB / 0.7864 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.87/33.89, allocations: 6.656 kB / 0.7864 GB, free: 137.3 MB / 0.5606 GB " [Timeout remaining time 626] (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: 36.56992951291613] Failed to read output from testmodel.py, exit status != 0: 34.022450889926404 34.032597992 33.578157483 Calling exit ...