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.001511/0.001511, allocations: 114.3 kB / 18.94 MB, free: 2.934 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: 214.9 kB / 22.25 MB, free: 5.078 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.012 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.1411/0.1411, allocations: 23.88 MB / 336.3 MB, free: 11.16 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [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.001976/0.001976, allocations: 67.89 kB / 471.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2915, allocations: 59.87 MB / 0.5191 GB, free: 9.836 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.03961/0.3311, allocations: 31.99 MB / 0.5504 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03538/0.3665, allocations: 29.08 MB / 0.5788 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.3687, allocations: 39.69 kB / 0.5788 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.3708, allocations: 0.6862 MB / 0.5795 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.3773, allocations: 2.27 MB / 0.5817 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.3876, allocations: 3.993 MB / 0.5856 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004663/0.3923, allocations: 3.093 MB / 0.5886 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.3945, allocations: 1.605 MB / 0.5902 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.3964, allocations: 1.481 MB / 0.5916 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.3989, allocations: 1.693 MB / 0.5933 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004656/0.3993, allocations: 296 kB / 0.5936 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009162/0.4085, allocations: 3.183 MB / 0.5967 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009681/0.4095, allocations: 0.6894 MB / 0.5973 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.4113, allocations: 1.435 MB / 0.5987 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.4244, allocations: 6.576 MB / 0.6052 GB, free: 1.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4244, allocations: 0 / 0.6052 GB, free: 1.723 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4244, allocations: 0 / 0.6052 GB, free: 1.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.435e-05/0.4244, allocations: 0 / 0.6052 GB, free: 1.723 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.006129/0.4306, allocations: 3.323 MB / 0.6084 GB, free: 14.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4306, allocations: 12.03 kB / 0.6084 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.4328, allocations: 0.5843 MB / 0.609 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/0.4354, allocations: 1.368 MB / 0.6103 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.4356, allocations: 343.3 kB / 0.6107 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.436, allocations: 247.9 kB / 0.6109 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/0.4409, allocations: 3.057 MB / 0.6139 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.4409, allocations: 3.938 kB / 0.6139 GB, free: 8.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.4412, allocations: 104 kB / 0.614 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.4412, allocations: 56 kB / 0.614 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005839/0.4471, allocations: 3.642 MB / 0.6176 GB, free: 4.754 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.01635/0.4634, allocations: 10.45 MB / 0.6278 GB, free: 9.922 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.4663, allocations: 1.775 MB / 0.6295 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.4679, allocations: 1.023 MB / 0.6305 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.4789, allocations: 5.477 MB / 0.6359 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.4789, allocations: 47.88 kB / 0.6359 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001183/0.4801, allocations: 306.4 kB / 0.6362 GB, free: 1.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 2.856e-06/0.4801, allocations: 0 / 0.6362 GB, free: 1.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03399/0.5141, allocations: 9.534 MB / 0.6455 GB, free: 7.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.5142, allocations: 120.8 kB / 0.6456 GB, free: 7.492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.516, allocations: 1.47 MB / 0.6471 GB, free: 6.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.5162, allocations: 57.7 kB / 0.6471 GB, free: 5.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/0.517, allocations: 1.194 MB / 0.6483 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005889/0.5176, allocations: 0.6624 MB / 0.6489 GB, free: 4.074 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007295/0.5183, allocations: 0.517 MB / 0.6495 GB, free: 3.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5185, allocations: 309 kB / 0.6497 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.5201, allocations: 0.9462 MB / 0.6507 GB, free: 2.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.5226, allocations: 1.902 MB / 0.6525 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.5268, allocations: 3.003 MB / 0.6555 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.5269, allocations: 8 kB / 0.6555 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01011/0.537, allocations: 3.905 MB / 0.6593 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.537, allocations: 20 kB / 0.6593 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-05/0.5371, allocations: 28 kB / 0.6593 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005397/0.5424, allocations: 1.189 MB / 0.6605 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.5445, allocations: 0.5811 MB / 0.6611 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.5547, allocations: 7.202 MB / 0.6681 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.5566, allocations: 111.9 kB / 0.6682 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/0.5569, allocations: 163.9 kB / 0.6684 GB, free: 14.91 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.0009185/0.5578, allocations: 484.8 kB / 0.6688 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004204/0.5582, allocations: 186.9 kB / 0.669 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009496/0.5677, allocations: 3.249 MB / 0.6722 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.5677, allocations: 20 kB / 0.6722 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5677, allocations: 4 kB / 0.6722 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.5677, allocations: 11.95 kB / 0.6722 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.5807, allocations: 5.397 MB / 0.6775 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5807, allocations: 4 kB / 0.6775 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.582, allocations: 311.9 kB / 0.6778 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004777/0.5868, allocations: 1.037 MB / 0.6788 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.5869, allocations: 75.89 kB / 0.6789 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008554/0.5955, allocations: 6.495 MB / 0.6852 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5955, allocations: 4 kB / 0.6852 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.6055, allocations: 4.132 MB / 0.6892 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.606, allocations: 170.6 kB / 0.6894 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.6062, allocations: 43.98 kB / 0.6894 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6072, allocations: 43.98 kB / 0.6895 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004127/0.6076, allocations: 181.6 kB / 0.6897 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.6078, allocations: 79.95 kB / 0.6897 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001295/0.6091, allocations: 0.9624 MB / 0.6907 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6091, allocations: 0 / 0.6907 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003631/0.6127, allocations: 1.266 MB / 0.6919 GB, free: 6.199 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.00224/0.615, allocations: 1.332 MB / 0.6932 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005502/0.6205, allocations: 2.841 MB / 0.696 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6205, allocations: 0 / 0.696 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.6233, allocations: 1.457 MB / 0.6974 GB, free: 488 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6248, allocations: 312.9 kB / 0.6977 GB, free: 180 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.632, allocations: 4.125 MB / 0.7017 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.6332, allocations: 1.486 MB / 0.7032 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00156/0.6348, allocations: 455.2 kB / 0.7036 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006271/0.6354, allocations: 285.1 kB / 0.7039 GB, free: 9.73 MB / 0.545 GB Notification: Performance of SimCode: time 9.91e-07/0.6354, allocations: 0 / 0.7039 GB, free: 9.73 MB / 0.545 GB Notification: Performance of Templates: time 0.263/0.8984, allocations: 49.56 MB / 0.7523 GB, free: 167.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.770015834830701] Failed to read output from testmodel.py, exit status != 0: 0.9067999799735844 0.9157986419999999 0.48916661199999995 Calling exit ...