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.0009421/0.0009421, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009915/0.0009915, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9896/0.9896, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.09364/0.09364, allocations: 17.46 MB / 278.5 MB, free: 11.4 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 354.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.21e-05, allocations: 5.547 kB / 354.8 MB, free: 10.59 MB / 330.7 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.03389/0.03391, allocations: 34.07 MB / 388.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.04908, allocations: 16.8 MB / 405.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.05053, allocations: 39.69 kB / 405.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.05158, allocations: 479.8 kB / 406.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.05543, allocations: 1.815 MB / 408 MB, free: 5.383 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004797/0.06022, allocations: 2.483 MB / 410.5 MB, free: 2.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003325/0.06355, allocations: 3.189 MB / 413.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.06567, allocations: 1.653 MB / 415.3 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.06866, allocations: 2.157 MB / 417.5 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.07101, allocations: 1.426 MB / 418.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000656/0.07167, allocations: 296 kB / 419.2 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.07656, allocations: 1.755 MB / 421 MB, free: 8.348 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006831/0.07724, allocations: 0.7165 MB / 421.7 MB, free: 7.629 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.07879, allocations: 1.056 MB / 422.7 MB, free: 6.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007733/0.08652, allocations: 4.226 MB / 426.9 MB, free: 2.328 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.08653, allocations: 0 / 426.9 MB, free: 2.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08653, allocations: 4 kB / 427 MB, free: 2.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.769e-05/0.0866, allocations: 0 / 427 MB, free: 2.324 MB / 394.7 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.005218/0.09181, allocations: 3.206 MB / 430.2 MB, free: 15.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.09185, allocations: 12.03 kB / 430.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.09516, allocations: 0.9375 MB / 431.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.09681, allocations: 1.193 MB / 432.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.09702, allocations: 339.5 kB / 432.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005362/0.1024, allocations: 248.3 kB / 432.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/0.1084, allocations: 2.157 MB / 435 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/0.1084, allocations: 0 / 435 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.1086, allocations: 96 kB / 435.1 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.1087, allocations: 60 kB / 435.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/0.1145, allocations: 1.9 MB / 437.1 MB, free: 7.922 MB / 410.7 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.1777/0.2923, allocations: 8.816 MB / 445.9 MB, free: 90.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.2936, allocations: 1.263 MB / 447.2 MB, free: 90.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.2941, allocations: 0.5521 MB / 447.7 MB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005525/0.2996, allocations: 4.557 MB / 452.3 MB, free: 89.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.2997, allocations: 54.28 kB / 452.3 MB, free: 89.95 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007396/0.3004, allocations: 282.8 kB / 452.6 MB, free: 89.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 5.371e-06/0.3004, allocations: 0 / 452.6 MB, free: 89.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=181): time 0.01641/0.3168, allocations: 6.618 MB / 459.2 MB, free: 89.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.3169, allocations: 121.2 kB / 459.3 MB, free: 89.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.3177, allocations: 1.232 MB / 460.6 MB, free: 88.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.3179, allocations: 54.95 kB / 460.6 MB, free: 88.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.3183, allocations: 1.271 MB / 461.9 MB, free: 88.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.3187, allocations: 0.6615 MB / 462.6 MB, free: 88.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004806/0.3192, allocations: 0.5317 MB / 463.1 MB, free: 87.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.3192, allocations: 484.3 kB / 463.6 MB, free: 87.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.3197, allocations: 398.4 kB / 464 MB, free: 87.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.3205, allocations: 1.753 MB / 465.7 MB, free: 85.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.3222, allocations: 2.426 MB / 468.1 MB, free: 84.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.3223, allocations: 9.375 kB / 468.1 MB, free: 84.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.004526/0.3268, allocations: 2.693 MB / 470.8 MB, free: 83.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.3268, allocations: 18.06 kB / 470.8 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.431e-05/0.3269, allocations: 33.25 kB / 470.9 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.3299, allocations: 1.019 MB / 471.9 MB, free: 83.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.3312, allocations: 0.581 MB / 472.5 MB, free: 83.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.3359, allocations: 7.879 MB / 480.4 MB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3373, allocations: 112.3 kB / 480.5 MB, free: 77.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.3375, allocations: 137.7 kB / 480.6 MB, free: 77.13 MB / 410.7 MB 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.0006163/0.3381, allocations: 339.6 kB / 480.9 MB, free: 76.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.3385, allocations: 233.4 kB / 481.2 MB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.3429, allocations: 2.242 MB / 483.4 MB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.3429, allocations: 19.25 kB / 483.4 MB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.3429, allocations: 2.75 kB / 483.4 MB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.3429, allocations: 14.34 kB / 483.4 MB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.3494, allocations: 3.518 MB / 487 MB, free: 75.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.3494, allocations: 3.406 kB / 487 MB, free: 75.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.3501, allocations: 313.4 kB / 487.3 MB, free: 75.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.3529, allocations: 0.9073 MB / 488.2 MB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.3531, allocations: 68.42 kB / 488.2 MB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.3568, allocations: 7.263 MB / 495.5 MB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3568, allocations: 5.844 kB / 495.5 MB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/0.3609, allocations: 2.714 MB / 498.2 MB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.3613, allocations: 159.9 kB / 498.4 MB, free: 67.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.3614, allocations: 40.41 kB / 498.4 MB, free: 67.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.362, allocations: 38.72 kB / 498.5 MB, free: 67.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.3623, allocations: 187.1 kB / 498.6 MB, free: 67.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-05/0.3623, allocations: 79.73 kB / 498.7 MB, free: 67.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004712/0.3628, allocations: 0.6358 MB / 499.4 MB, free: 66.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3628, allocations: 2.656 kB / 499.4 MB, free: 66.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002421/0.3652, allocations: 0.9683 MB / 0.4886 GB, free: 66.73 MB / 410.7 MB 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.001171/0.3664, allocations: 0.8453 MB / 0.4894 GB, free: 66.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.3694, allocations: 2.187 MB / 0.4916 GB, free: 65.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3694, allocations: 0 / 0.4916 GB, free: 65.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.3707, allocations: 1.286 MB / 0.4928 GB, free: 65.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3718, allocations: 348.5 kB / 0.4932 GB, free: 65.05 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.3769, allocations: 3.683 MB / 0.4967 GB, free: 63.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3772, allocations: 384.3 kB / 0.4971 GB, free: 63.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001018/0.3783, allocations: 414.7 kB / 0.4975 GB, free: 63.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/0.3791, allocations: 0.5661 MB / 0.4981 GB, free: 62.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.305e-06/0.3791, allocations: 0 / 0.4981 GB, free: 62.98 MB / 410.7 MB Notification: Performance of Templates: time 0.04363/0.4227, allocations: 44.57 MB / 0.5416 GB, free: 23.59 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.50359052233398]